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 Microsoft.VisualStudio.TestTools.UnitTesting;
using Nager.Date.Extensions;
using System;
using System.Linq;
namespace Nager.Date.UnitTest.Country
{
[TestClass]
public class SwitzerlandTest
{
[Ignore]
[TestMethod]
public void TestSwitzerland()
{
for (var yea... | tinohager/Nager.Date | src/Nager.Date.UnitTest/Country/SwitzerlandTest.cs | https://github.com/tinohager/Nager.Date/blob/HEAD/src/Nager.Date.UnitTest/Country/SwitzerlandTest.cs | ghcode:00162:63b42534b841 | mit | codeparrot/github-code | 63b42534b8419cb93100826a37e085cb302926e4172302c34692b64b78ac82a1 | 0.7 | testing_debugging_repair_refactoring | 321 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentAssertions;
using NUnit.Framework;
using Nancy;
using Nancy.Testing;
using ReminderService.Messages;
using ReminderService.Test.Common;
using Newtonsoft.Json;
namespace ReminderService.API.HTTP.Tests
{
[TestFixture]
pu... | dtrumpler/ForgetMeNot | src/ReminderService/ReminderService.API.HTTP.Tests/When_the_service_restarts.cs | https://github.com/dtrumpler/ForgetMeNot/blob/HEAD/src/ReminderService/ReminderService.API.HTTP.Tests/When_the_service_restarts.cs | ghcode:00162:c197f6d3c4f9 | mit | codeparrot/github-code | c197f6d3c4f9f4f98232f0829417fc9ab6d5e3ad2018c5c84ab414461c9e1c76 | 0.75 | testing_debugging_repair_refactoring | 675 | false | 2026-07-17 |
using System;
using Xunit;
namespace XUnitTestProject1
{
public class UnitTest1
{
[Fact]
public void Test1()
{
}
}
}
| nkolev92/sdk | TestAssets/TestProjects/XUnitTestProject/UnitTest1.cs | https://github.com/nkolev92/sdk/blob/HEAD/TestAssets/TestProjects/XUnitTestProject/UnitTest1.cs | ghcode:00162:f7ceedaabcc7 | mit | codeparrot/github-code | f7ceedaabcc719114c891f51e350b522b20db29194a4c831692eff703acade6b | 0.5 | testing_debugging_repair_refactoring | 39 | false | 2026-07-17 |
// ReSharper disable All
using System;
using System.Diagnostics;
using System.Linq;
using Frapid.ApplicationState.Models;
using Frapid.Account.Api.Fakes;
using Xunit;
namespace Frapid.Account.Api.Tests
{
public class GoogleSignInTests
{
public static GoogleSignInController Fixture()
{
... | mixerp4/frapid | src/Frapid.Web/Areas/Frapid.Account/WebAPI/Tests/GoogleSignInTests.cs | https://github.com/mixerp4/frapid/blob/HEAD/src/Frapid.Web/Areas/Frapid.Account/WebAPI/Tests/GoogleSignInTests.cs | ghcode:00162:d3e1c751388d | mit | codeparrot/github-code | d3e1c751388d2d176e9070c9c269faec73717c38298845eaacfe2d2e974e2848 | 0.85 | testing_debugging_repair_refactoring | 122 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reactive.Linq;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.TestWindow.Extensibility;
namespace DanTup.TestAdapters
{
/// <summary>
/// Base TestContainerDiscove... | DanTup/TestAdapters | DanTup.TestAdapters/TestContainerDiscoverer.cs | https://github.com/DanTup/TestAdapters/blob/HEAD/DanTup.TestAdapters/TestContainerDiscoverer.cs | ghcode:00162:add42bad4c7b | mit | codeparrot/github-code | add42bad4c7b22596a0ffc6e9b057d08f7548de0502f625f94e9bbfe27dbfcbd | 0.85 | testing_debugging_repair_refactoring | 1,619 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data.Common;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Xml.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Watsonia.Data.Tests.Queries.Northwind;
// TODO: Imp... | andrewjk/Watsonia.Data | Watsonia.Data.Tests/Queries/QueryLanguageTests.cs | https://github.com/andrewjk/Watsonia.Data/blob/HEAD/Watsonia.Data.Tests/Queries/QueryLanguageTests.cs | ghcode:00162:3eb5f1ecd8cd | mit | codeparrot/github-code | 3eb5f1ecd8cd70c35ce43370875e2e5a485ba24d3f48dd781a42ef67e00b05ae | 0.85 | testing_debugging_repair_refactoring | 15,528 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Neo.Cryptography.ECC;
using Neo.IO.Json;
using Neo.Network.P2P.Payloads.Conditions;
namespace Neo.UnitTests.Network.P2P.Payloads
{
[TestClass]
public class UT_WitnessCondition
{
[TestMethod]
public void TestFromJson1()
{
... | AntShares/AntShares | tests/neo.UnitTests/Network/P2P/Payloads/UT_WitnessContition.cs | https://github.com/AntShares/AntShares/blob/HEAD/tests/neo.UnitTests/Network/P2P/Payloads/UT_WitnessContition.cs | ghcode:00162:241225fc79cf | mit | codeparrot/github-code | 241225fc79cf96ef067c3e284d4f52c55e75fd07e809bf0297f12a4f00fcf9ff | 0.6 | testing_debugging_repair_refactoring | 932 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Ctrip.SOA.Comm;
using Arch.SOA.BLL.Check;
namespace Arch.SOA.QETest
{
[TestClass()]
public class UserIDRequestTypeTest
{
[TestMethod]
public void ... | mt830813/code | Project/fx.esb.client.1.6.0.0/Test/Arch.SOA.QETesting/UserIDRequestTypeTest.cs | https://github.com/mt830813/code/blob/HEAD/Project/fx.esb.client.1.6.0.0/Test/Arch.SOA.QETesting/UserIDRequestTypeTest.cs | ghcode:00162:5dd6183ca27e | mit | codeparrot/github-code | 5dd6183ca27ec166f2fd13a70176da79b2a97f0af5d9fba46b0cf1d68f56071b | 0.85 | testing_debugging_repair_refactoring | 334 | false | 2026-07-17 |
using System;
using Xunit;
using Xunit.Abstractions;
namespace lib.logging.tests
{
using common.tests;
public class LogProviderExtentionsTests : BaseTest
{
FakeLogProvider logger;
public LogProviderExtentionsTests(ITestOutputHelper output)
: base(output) {
... | dugooder/a-microservice | src/lib.logging.tests/LogProviderExtentionsTests.cs | https://github.com/dugooder/a-microservice/blob/HEAD/src/lib.logging.tests/LogProviderExtentionsTests.cs | ghcode:00162:4c6fd3635f44 | mit | codeparrot/github-code | 4c6fd3635f440b7cddc53f31a6b061bc2095bceb4d082d1559a325946fcedb92 | 0.75 | testing_debugging_repair_refactoring | 519 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2014-2016, Institute for Software & Systems Engineering
//
// 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 wi... | cubeme/ssharp | Tests/Serialization/Objects/arrays.cs | https://github.com/cubeme/ssharp/blob/HEAD/Tests/Serialization/Objects/arrays.cs | ghcode:00162:2e2c09ccd39d | mit | codeparrot/github-code | 2e2c09ccd39d6dd49902ecc876abdfdb86a8ccaf716f929fa4d868760a536695 | 0.85 | testing_debugging_repair_refactoring | 847 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using AllPawnsMustDie;
using Microsoft.VisualStudio.TestTools.UnitTesting;
/* The organization for UnitTests should follow the schema below, which was
* "borrowed" from this blog post:
* http://haacked.com/archive/2012/01/02/structuring-unit-tests.aspx/
*
* Basically a cla... | manixaist/AllPawnsMustDie | AllPawnsMustDieUnitTests/ChessPieceTests.cs | https://github.com/manixaist/AllPawnsMustDie/blob/HEAD/AllPawnsMustDieUnitTests/ChessPieceTests.cs | ghcode:00162:dd5c1be71391 | mit | codeparrot/github-code | dd5c1be7139117c446e9ff88bcdc3f71af6eafd76c29ee15a310074724f171ed | 0.85 | testing_debugging_repair_refactoring | 3,352 | false | 2026-07-17 |
using AllReady.Areas.Admin.Features.Activities;
using AllReady.Areas.Admin.Features.Tasks;
using AllReady.Areas.Admin.Models;
using AllReady.Features.Notifications;
using AllReady.Models;
using MediatR;
using Microsoft.AspNet.Identity;
using Microsoft.Extensions.DependencyInjection;
using Moq;
using System;
... | SteveStrong/allReady | AllReadyApp/Web-App/AllReady.UnitTest/Tasks/MessageVolunteers.cs | https://github.com/SteveStrong/allReady/blob/HEAD/AllReadyApp/Web-App/AllReady.UnitTest/Tasks/MessageVolunteers.cs | ghcode:00162:6a34e6df1d2d | mit | codeparrot/github-code | 6a34e6df1d2d136abaeeb59fecb2b3a5124dcbd8316a6538b2cde537ff841a5d | 0.6 | testing_debugging_repair_refactoring | 803 | false | 2026-07-17 |
using Esfa.Vacancy.Domain.Entities;
using Esfa.Vacancy.Domain.Interfaces;
using FluentAssertions;
using Moq;
using NUnit.Framework;
using Ploeh.AutoFixture;
using ApiTypes = Esfa.Vacancy.Api.Types;
using ApprenticeshipVacancy = Esfa.Vacancy.Domain.Entities.ApprenticeshipVacancy;
namespace Esfa.Vacancy.UnitTests.GetAp... | SkillsFundingAgency/vacancy-register-api | src/Esfa.Vacancy.UnitTests/GetApprenticeshipVacancy/Api/Mappings/GivenRaaApprenticeshipMapper/WhenMappingLiveApprenticeshipWithAmbiguousWage.cs | https://github.com/SkillsFundingAgency/vacancy-register-api/blob/HEAD/src/Esfa.Vacancy.UnitTests/GetApprenticeshipVacancy/Api/Mappings/GivenRaaApprenticeshipMapper/WhenMappingLiveApprenticeshipWithAmbiguousWage.cs | ghcode:00162:c733471d3715 | mit | codeparrot/github-code | c733471d37150564ad7e683c7a3ab5d4b2cf1a50d2e5027c8a626354cc798b2f | 0.75 | testing_debugging_repair_refactoring | 443 | false | 2026-07-17 |
using FluentAssertions;
using NetFusion.Common.Extensions.Reflection;
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace CommonTests.Extensions.Reflection
{
public class GenericTypeTests
{
[Fact]
public void GivenType_CanDetermineOpenGeneric()
{
... | grecosoft/NetFusion | netfusion/test/CommonTests/Extensions/Reflection/GenericTypeTests.cs | https://github.com/grecosoft/NetFusion/blob/HEAD/netfusion/test/CommonTests/Extensions/Reflection/GenericTypeTests.cs | ghcode:00162:03e6081e2dea | mit | codeparrot/github-code | 03e6081e2dea86def6902c4a7967eef7eb4c541ad70128cc247b25e8f59bae36 | 0.85 | testing_debugging_repair_refactoring | 709 | false | 2026-07-17 |
using System;
using System.Linq.Expressions;
using Moq;
using Moq.Language.Flow;
namespace Firestorm.Testing
{
/// <remarks>
/// From https://gist.github.com/7Pass/1c6b329e85ca29071f42
/// </remarks>
public static class MoqSetupIgnoreExtensions
{
public static ISetup<T, TResult> SetupIgnore... | connellw/Firestorm | tests/Firestorm.Testing/MoqSetupIgnoreExtensions.cs | https://github.com/connellw/Firestorm/blob/HEAD/tests/Firestorm.Testing/MoqSetupIgnoreExtensions.cs | ghcode:00162:b99699ba2428 | mit | codeparrot/github-code | b99699ba2428e3b6c51974a77d74731cbb82fc73ace6ecbfd067d37cb9defa1b | 0.85 | testing_debugging_repair_refactoring | 282 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace HTLib2
{
public class VectorSparse<T> : IVectorSparse<T>
{
long IVector<T>.SizeLong { get { return Size; } }
int IVector<T>.Size { get { return Size; } }
public readonly int ... | htna/HCsbLib | HCsbLibMin/HCsbLibMin/HTLib2/HMath.Numerics.Vector/VectorSparseT.cs | https://github.com/htna/HCsbLib/blob/HEAD/HCsbLibMin/HCsbLibMin/HTLib2/HMath.Numerics.Vector/VectorSparseT.cs | ghcode:00162:154485a9a8a1 | mit | codeparrot/github-code | 154485a9a8a1ba56f559c713ed1fb47fe0fa61cdd337721d2358e36373f6a4ed | 0.6 | testing_debugging_repair_refactoring | 890 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BenchmarkDotNet.Attributes;
using FclEx.Comparers;
using FclEx.Utils;
namespace FclEx.Benchmark
{
[MemoryDiagnoser]
public class SortTest
{
private readonly Person[] _array;
private static readonly... | huoshan12345/FclEx | performance/FclEx.Benchmark/SortTest.cs | https://github.com/huoshan12345/FclEx/blob/HEAD/performance/FclEx.Benchmark/SortTest.cs | ghcode:00162:26501d66de1b | mit | codeparrot/github-code | 26501d66de1b1d91866250390c99ad304529446201aaa0c32635c58012dfe73a | 0.85 | testing_debugging_repair_refactoring | 595 | false | 2026-07-17 |
using System;
using HydrantWiki.Library.Constants;
using HydrantWiki.Library.Objects;
using NUnit.Framework;
using TreeGecko.Library.Common.Objects;
using TreeGecko.Library.Geospatial.Objects;
namespace hwDataLibraryTests.hwDataLibrary.Objects
{
[TestFixture]
public class HydrantTests
{
[Test]
... | hydrantwiki/hwMobileAPI | src/hwDataLibraryTests/hwDataLibrary/Objects/HydrantTests.cs | https://github.com/hydrantwiki/hwMobileAPI/blob/HEAD/src/hwDataLibraryTests/hwDataLibrary/Objects/HydrantTests.cs | ghcode:00162:414e7c380b6e | mit | codeparrot/github-code | 414e7c380b6ed396277ed2847c3e1117c612021dc1ba1d7eb867c59750065bc0 | 0.75 | testing_debugging_repair_refactoring | 501 | 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 System.Reflection;
using Autofac.Core;
namespace Autofac.Test.Core;
public class NamedPropertyParameterTests
{
public class HasInjectionPoints
{
pu... | autofac/Autofac | test/Autofac.Test/Core/NamedPropertyParameterTests.cs | https://github.com/autofac/Autofac/blob/HEAD/test/Autofac.Test/Core/NamedPropertyParameterTests.cs | ghcode:00162:22ec3f9b309e | mit | codeparrot/github-code | 22ec3f9b309ef95fb7d4c0e5395dfeb64763ca708c6e728fde1d16475f493bc4 | 0.75 | testing_debugging_repair_refactoring | 585 | false | 2026-07-17 |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Challenges;
namespace ChallengesTest
{
[TestClass]
public class LeastCommonMultipleTest
{
[TestMethod]
public void PositiveTest()
{
Assert.AreEqual(42, MathExtensions.LeastCommonM... | ckuhn203/Challenges | ChallengesTest/LeastCommonMultipleTest.cs | https://github.com/ckuhn203/Challenges/blob/HEAD/ChallengesTest/LeastCommonMultipleTest.cs | ghcode:00162:11efacc297c9 | mit | codeparrot/github-code | 11efacc297c92bda9983a7b6ceba7106edd665995ca3c07462571c8f8ebae2fd | 0.6 | testing_debugging_repair_refactoring | 173 | false | 2026-07-17 |
using System;
using Xunit;
namespace WmcSoft.Collections.Generic.Internals
{
public class BulkStackTests
{
[Fact]
public void CanPush()
{
var data = new[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 };
var stack = new BulkStack<int>();
foreach (var item ... | vjacquet/WmcSoft | WmcSoft.Core.Tests/Collections/Generic/Internals/BulkStackTests.cs | https://github.com/vjacquet/WmcSoft/blob/HEAD/WmcSoft.Core.Tests/Collections/Generic/Internals/BulkStackTests.cs | ghcode:00162:a907dc89dff8 | mit | codeparrot/github-code | a907dc89dff87b661cae045af3f10f43e23df07412110c5f4d3263aed92cae4e | 0.75 | testing_debugging_repair_refactoring | 640 | 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.Linq;
using System.Reflection;
using Microsoft.Extensions.Options;
using Xunit;
namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata
{
public clas... | aspnet/AspNetCore | src/Mvc/Mvc.Core/test/ModelBinding/Metadata/DefaultModelMetadataProviderTest.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/DefaultModelMetadataProviderTest.cs | ghcode:00162:fa4ba67735c8 | apache-2.0 | codeparrot/github-code | fa4ba67735c898b8b411db49754e3ebcb2fbe46e3b62a388b82311d382aff2b8 | 0.95 | testing_debugging_repair_refactoring | 3,303 | false | 2026-07-17 |
//
// Copyright 2020 Google LLC
//
// 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, Ver... | GoogleCloudPlatform/iap-desktop | sources/Google.Solutions.Common.Test/Util/TestEnumExtensions.cs | https://github.com/GoogleCloudPlatform/iap-desktop/blob/HEAD/sources/Google.Solutions.Common.Test/Util/TestEnumExtensions.cs | ghcode:00162:70dc9a9eff3f | apache-2.0 | codeparrot/github-code | 70dc9a9eff3fcd0fdfa5a375c36a8af8d576f45d0b874c774b0d6e082178a1b5 | 0.85 | testing_debugging_repair_refactoring | 573 | false | 2026-07-17 |
/*
* REST API Documentation for the MOTI Hired Equipment Tracking System (HETS) Application
*
* The Hired Equipment Program is for owners/operators who have a dump truck, bulldozer, backhoe or other piece of equipment they want to hire out to the transportation ministry for day labour and emergency projects. The ... | plavoieBC/hets | Server/test/Models/RolePermissionViewModelTests.cs | https://github.com/plavoieBC/hets/blob/HEAD/Server/test/Models/RolePermissionViewModelTests.cs | ghcode:00162:812012f3a922 | apache-2.0 | codeparrot/github-code | 812012f3a9222b518a7b4a8ccb9fc8c677a7de612ef32ad56a10df3752f5ae5e | 0.95 | testing_debugging_repair_refactoring | 478 | false | 2026-07-17 |
#region License
/*
* Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... | MaferYangPointJun/Spring.net | test/Spring/Spring.Services.Tests/WindowsService/TestUtils.cs | https://github.com/MaferYangPointJun/Spring.net/blob/HEAD/test/Spring/Spring.Services.Tests/WindowsService/TestUtils.cs | ghcode:00162:0d21d6dc6e6b | apache-2.0 | codeparrot/github-code | 0d21d6dc6e6bb0e557582c66fe7a61f87bff716e87ffd5f59811ed3322c11675 | 0.85 | testing_debugging_repair_refactoring | 571 | false | 2026-07-17 |
// Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
using System.Net;
using System.Net.Mime;
namespace MartinCostello.AdventOfCode.EndToEnd;
public class ResourceTests : EndToEndTest
{
publi... | martincostello/adventofcode | tests/AdventOfCode.Tests/EndToEnd/ResourceTests.cs | https://github.com/martincostello/adventofcode/blob/HEAD/tests/AdventOfCode.Tests/EndToEnd/ResourceTests.cs | ghcode:00162:e3b2b76642df | apache-2.0 | codeparrot/github-code | e3b2b76642df4b27939cce95cd0c84a4f7fd3945af2b67141348c504f5feeb88 | 0.85 | testing_debugging_repair_refactoring | 289 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AllocationFixture.cs" company="Rare Crowds Inc">
// Copyright 2012-2013 Rare Crowds, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may... | chinnurtb/OpenAdStack-1 | DynamicAllocation/DynamicAllocationUnitTests/AllocationFixture.cs | https://github.com/chinnurtb/OpenAdStack-1/blob/HEAD/DynamicAllocation/DynamicAllocationUnitTests/AllocationFixture.cs | ghcode:00163:3a24beebf2e8 | apache-2.0 | codeparrot/github-code | 3a24beebf2e866648fd83e7e37431841f7d8f8e23fd6136b1a7cd4de8ed6b1cb | 0.85 | testing_debugging_repair_refactoring | 2,957 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using JetBrains.Annotations;
using JetBrains.Metadata.Reader.API;
using JetBrains.Metadata.Reader.Impl;
using JetBrains.ReSharper.Daemon.CSharp.PropertiesExtender;
using JetBrains.ReSharper.Feature.Services.CSharp.Properti... | prodot/ReCommended-Extension | Sources/ReCommendedExtension/Analyzers/Await/AwaitAnalyzer.cs | https://github.com/prodot/ReCommended-Extension/blob/HEAD/Sources/ReCommendedExtension/Analyzers/Await/AwaitAnalyzer.cs | ghcode:00163:4deab9fe66c1 | apache-2.0 | codeparrot/github-code | 4deab9fe66c1c8f9a3ce9f27092e47e094411d862911fee29f9460ad19dda33f | 0.85 | testing_debugging_repair_refactoring | 3,464 | false | 2026-07-17 |
#region Copyright
// Copyright 2014 Myrcon Pty. Ltd.
//
// 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 appl... | phogue/Potato | src/Potato.Service.Shared.Test/TestArgumentHelper.cs | https://github.com/phogue/Potato/blob/HEAD/src/Potato.Service.Shared.Test/TestArgumentHelper.cs | ghcode:00163:748d75e34ed6 | apache-2.0 | codeparrot/github-code | 748d75e34ed6c030f66b896b7f6ed4656fbb88b4259d4917cdf486fb21f86410 | 0.85 | testing_debugging_repair_refactoring | 2,606 | false | 2026-07-17 |
/*
* REST API Documentation for the MOTI Hired Equipment Tracking System (HETS) Application
*
* The Hired Equipment Program is for owners/operators who have a dump truck, bulldozer, backhoe or other piece of equipment they want to hire out to the transportation ministry for day labour and emergency projects. The ... | swcurran/hets | Server/test/API/ProjectTestsIntegration.cs | https://github.com/swcurran/hets/blob/HEAD/Server/test/API/ProjectTestsIntegration.cs | ghcode:00163:13390c19f88a | apache-2.0 | codeparrot/github-code | 13390c19f88aa99475da4dae95f3b85b5d7cfb907a14149dd6ff3314946e594e | 0.95 | testing_debugging_repair_refactoring | 1,744 | false | 2026-07-17 |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestHelper;
namespace CSharpAnalyzers.Test
{
[TestClass]
public class CompilationStartedAnalyzerUnitTests
: DiagnosticVerifier
{
[TestMethod]
public voi... | stjeong/roslyn | src/Samples/CSharp/Analyzers/CSharpAnalyzers/CSharpAnalyzers.Test/Tests/CompilationStartedAnalyzerUnitTests.cs | https://github.com/stjeong/roslyn/blob/HEAD/src/Samples/CSharp/Analyzers/CSharpAnalyzers/CSharpAnalyzers.Test/Tests/CompilationStartedAnalyzerUnitTests.cs | ghcode:00163:5997d269ec75 | apache-2.0 | codeparrot/github-code | 5997d269ec7518cae9001895d22e1441591d7e9ba7dc1e3e186ae10013de2e01 | 0.85 | testing_debugging_repair_refactoring | 224 | false | 2026-07-17 |
using System;
using System.Diagnostics.CodeAnalysis;
using FluentAssertions;
using Nest;
using Tests.Framework;
using static Tests.Framework.RoundTripper;
namespace Tests.CommonOptions.TimeUnit
{
public class TimeUnits
{
/** # Time units
* Whenever durations need to be specified, eg for a timeout parameter, ... | azubanov/elasticsearch-net | src/Tests/CommonOptions/TimeUnit/TimeUnits.doc.cs | https://github.com/azubanov/elasticsearch-net/blob/HEAD/src/Tests/CommonOptions/TimeUnit/TimeUnits.doc.cs | ghcode:00163:02a11dd568b5 | apache-2.0 | codeparrot/github-code | 02a11dd568b5f56f40c693f0acf1803dfaf968432a08e4172ca3111164d87d21 | 0.95 | testing_debugging_repair_refactoring | 1,995 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json.Linq;
using SF.Sys;
using SF.Sys.Logging;
using SF.Sys.UnitTest;
using System.Threading.Tasks;
using SF.Sys.Services;
using SF.Sys.Settings;
using SF.Sys.Comments;
using System;
namespace SF.UT.系统
{
[TestClass]
public class CommentTest : Test... | etechi/ServiceFramework | Projects/Server/Sys/SF.Sys.UnitTest/系统/CommentTest.cs | https://github.com/etechi/ServiceFramework/blob/HEAD/Projects/Server/Sys/SF.Sys.UnitTest/系统/CommentTest.cs | ghcode:00163:8144eb61acce | apache-2.0 | codeparrot/github-code | 8144eb61acceb66f4f7e8c669ca0411ae11b06e00046f60ed86a5f7f3ae2890b | 0.75 | testing_debugging_repair_refactoring | 126 | false | 2026-07-17 |
// Copyright 2009-2015 Josh Close and Contributors
// This file is a part of CsvHelper and is dual licensed under MS-PL and Apache 2.0.
// See LICENSE.txt for details or visit http://www.opensource.org/licenses/ms-pl.html for MS-PL and http://opensource.org/licenses/Apache-2.0 for Apache 2.0.
// http://csvhelper.co... | ravensorb/CsvHelper | src/CsvHelper.Tests/TypeConversion/ByteConverterTests.cs | https://github.com/ravensorb/CsvHelper/blob/HEAD/src/CsvHelper.Tests/TypeConversion/ByteConverterTests.cs | ghcode:00163:8d9917a6adc0 | apache-2.0 | codeparrot/github-code | 8d9917a6adc02ff9c5026bc44955b9fca4c7a2da397b1926e53dfc01093961f2 | 0.85 | testing_debugging_repair_refactoring | 414 | false | 2026-07-17 |
// ===========================================================
// Copyright (c) 2014-2015, Enrico Da Ros/kendar.org
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistribut... | kendarorg/ClassWrapper | ClassWrapper/ClassWrapper.Test/ClassWrapperTest.cs | https://github.com/kendarorg/ClassWrapper/blob/HEAD/ClassWrapper/ClassWrapper.Test/ClassWrapperTest.cs | ghcode:00163:2451df81d569 | bsd-2-clause | codeparrot/github-code | 2451df81d56938aa90775917b626080a305448cec7411d76b0843c1531614c6e | 0.63 | testing_debugging_repair_refactoring | 718 | false | 2026-07-17 |
namespace UnitTest
{
using System.Globalization;
using NUnit.Framework;
using XPTable.Renderers;
[TestFixture]
public class NumberCellRendererTest
{
private static object[] TestData = new[]
{
new object[] { 1.0 / ... | antiduh/XPTable | UnitTest/NumberCellRendererTest.cs | https://github.com/antiduh/XPTable/blob/HEAD/UnitTest/NumberCellRendererTest.cs | ghcode:00163:014fc0e51d56 | bsd-2-clause | codeparrot/github-code | 014fc0e51d56dd8add51078c74bfff55e0397ee556d9b8070b4e3757b1d81cea | 0.63 | testing_debugging_repair_refactoring | 759 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LightBDD.Example.AcceptanceTests.MsTest.Features
{
[FeatureDescription(
@"In order to pay for products
As a customer
I want to receive invoice for bought items")]
[TestClass]
[Label("Story-2")]
public partial class Invoice_feature
... | csuffyy/LightBDD | LightBDD.Example.AcceptanceTests.MsTest/Features/Invoice_feature.cs | https://github.com/csuffyy/LightBDD/blob/HEAD/LightBDD.Example.AcceptanceTests.MsTest/Features/Invoice_feature.cs | ghcode:00163:3fd6f6cacbc8 | bsd-2-clause | codeparrot/github-code | 3fd6f6cacbc854001e9eaf0d31a89f9240fe9f607ace5df7b97e5e3c2c50a21d | 0.68 | testing_debugging_repair_refactoring | 220 | false | 2026-07-17 |
using NUnit.Framework;
using Nini.Config;
using InWorldz.Testing;
using InWorldz.Phlox.Types;
using Nini.Ini;
using OpenMetaverse;
using System.Collections.Generic;
using OpenSim.Region.ScriptEngine.Shared.ScriptBase;
using OpenSim.Region.FrameworkTests;
using OpenSim.Region.Framework.Scenes;
namespace InWorldz.Phlox.... | emperorstarfinder/halcyon | InWorldz/InWorldz.Phlox.Engine/Tests/MaterialsTests.cs | https://github.com/emperorstarfinder/halcyon/blob/HEAD/InWorldz/InWorldz.Phlox.Engine/Tests/MaterialsTests.cs | ghcode:00163:7e35aa58cd0c | bsd-3-clause | codeparrot/github-code | 7e35aa58cd0cb4a4cc1cd4d11d11c302784ba4c0d2a2fab44c543057d58bc3c8 | 0.95 | testing_debugging_repair_refactoring | 1,229 | false | 2026-07-17 |
namespace Rhino.Commons.Test.Repository
{
using System.Collections.Generic;
using System.IO;
using MbUnit.Framework;
using Rhino.Commons.ForTesting;
[TestFixture]
public class NHibernateRepositoryProjectionTests : RepositoryProjectionTests
{
[TestFixtureSetUp]
public overrid... | cneuwirt/rhino-commons | Rhino.Commons.Test/Repository/NHibernateRepositoryProjectionTests.cs | https://github.com/cneuwirt/rhino-commons/blob/HEAD/Rhino.Commons.Test/Repository/NHibernateRepositoryProjectionTests.cs | ghcode:00163:ea486d378410 | bsd-3-clause | codeparrot/github-code | ea486d378410281632b14cae7458a4d0f0f79c327088055bc77b14cfb454c826 | 0.75 | testing_debugging_repair_refactoring | 184 | false | 2026-07-17 |
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using OrchardCore.Autoroute.Models;
using OrchardCore.ContentManagement;
using OrchardCore.Tests.Apis.Context;
using Xunit;
namespace OrchardCore.Tests.Apis.ContentManagement.DeploymentPlans
{
public class ContentStepLuceneQueryTests
... | xkproject/Orchard2 | test/OrchardCore.Tests/Apis/ContentManagement/DeploymentPlans/ContentStepLuceneQueryTests.cs | https://github.com/xkproject/Orchard2/blob/HEAD/test/OrchardCore.Tests/Apis/ContentManagement/DeploymentPlans/ContentStepLuceneQueryTests.cs | ghcode:00163:c3b4a62e4661 | bsd-3-clause | codeparrot/github-code | c3b4a62e4661bbebdadfacdd5507f3edfcce1a6076766474b670c54e36854683 | 0.85 | testing_debugging_repair_refactoring | 422 | false | 2026-07-17 |
#region Copyright (c) Lokad 2009
// This code is released under the terms of the new BSD licence.
// URL: http://www.lokad.com/
#endregion
using System;
using System.Linq;
using Lokad.Cloud.Test;
using Lokad.Threading;
using NUnit.Framework;
namespace Lokad.Cloud.Storage.Test
{
[TestFixture]
public class BlobCount... | cdrnet/Lokad.Cloud | Test/Lokad.Cloud.Framework.Test/Storage/BlobCounterTests.cs | https://github.com/cdrnet/Lokad.Cloud/blob/HEAD/Test/Lokad.Cloud.Framework.Test/Storage/BlobCounterTests.cs | ghcode:00163:eb0117371458 | bsd-3-clause | codeparrot/github-code | eb01173714584f9a7f325e95440f3d5f60553fb7922faa6d4220e548994e5880 | 0.85 | testing_debugging_repair_refactoring | 507 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Threading.Tasks;
using Azure.Storage.Blobs.Models;
namespace Azure.Storage.Blobs.ChangeFeed
{
internal class SegmentFactory
{
... | ayeletshpigelman/azure-sdk-for-net | sdk/storage/Azure.Storage.Blobs.ChangeFeed/src/SegmentFactory.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/storage/Azure.Storage.Blobs.ChangeFeed/src/SegmentFactory.cs | ghcode:00163:61283359280d | mit | codeparrot/github-code | 61283359280dc997987268e51fbde9fde4d40d57c7c6eaecbd755bf2a4d3320a | 0.95 | testing_debugging_repair_refactoring | 624 | false | 2026-07-17 |
// ****************************************************************
// Copyright 2012, 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 NUn... | continuoustests/AutoTest.Net | lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitFramework/tests/Syntax/ArbitraryConstraintMatching.cs | https://github.com/continuoustests/AutoTest.Net/blob/HEAD/lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitFramework/tests/Syntax/ArbitraryConstraintMatching.cs | ghcode:00163:e1a97cf4a47f | mit | codeparrot/github-code | e1a97cf4a47f753bc12219b36d8d2ab5b4a7bac3f431e2c336000ce7ba748ae8 | 0.95 | testing_debugging_repair_refactoring | 479 | false | 2026-07-17 |
using StudentSystem.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StudentSystem
{
class Test
{
static void Main(string[] args)
{
var students = new[] {
new Student("Petar", "Ivanov", "00001", "+3592555555","Petar@abv... | SHAMMY1/Telerik-Academy-2016 | OOP/Homeworks/03.ExtensionsDelegatesLambda/ExtensionsDelegatesLambdaHW/StudentSystem/Test.cs | https://github.com/SHAMMY1/Telerik-Academy-2016/blob/HEAD/OOP/Homeworks/03.ExtensionsDelegatesLambda/ExtensionsDelegatesLambdaHW/StudentSystem/Test.cs | ghcode:00163:95a86149f5ee | mit | codeparrot/github-code | 95a86149f5ee768a566f28564263a3456c64ae756ab98ab7071da9c1e531fcbf | 0.75 | testing_debugging_repair_refactoring | 1,149 | 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.SpanTests
{
public static partial class SpanTests
{
[Fact]
pu... | lggomez/corefx | src/System.Memory/tests/Span/Fill.cs | https://github.com/lggomez/corefx/blob/HEAD/src/System.Memory/tests/Span/Fill.cs | ghcode:00163:db762acd6589 | mit | codeparrot/github-code | db762acd658988195b391280a3ca51a5453ec0d0988bc73d2fcd302abf797eec | 0.95 | testing_debugging_repair_refactoring | 718 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Highway.Data.Contexts;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Highway.Data.Tests.InMemory.BugTests
{
[TestClass]
public class TestThrowsExceptionWithListEntityType
{
private IDataContext _context;
[TestMethod]
... | ericburcham/Highway.Data | src/Highway.Data.Test/InMemory/BugTests/TestThrowsExceptionWithListEntityType.cs | https://github.com/ericburcham/Highway.Data/blob/HEAD/src/Highway.Data.Test/InMemory/BugTests/TestThrowsExceptionWithListEntityType.cs | ghcode:00163:ba067f5cda28 | mit | codeparrot/github-code | ba067f5cda2842a9b66b15e64c864318f9ce2d674788a3e54ea9d4d6ca0e3c79 | 0.75 | testing_debugging_repair_refactoring | 774 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Xunit;
using LanguageExt;
using LanguageExt.ClassInstances;
using LanguageExt.Common;
using static LanguageExt.Prelude;
namespace LanguageExt.Tests.Transformer.Traverse.TryOptionAsyncT.Async
{
public class EitherAsyncTryOptionAsync
{
static Task<bool> E... | StanJav/language-ext | LanguageExt.Tests/Transformer/Traverse/TryOptionAsync/Async/EitherAsync.cs | https://github.com/StanJav/language-ext/blob/HEAD/LanguageExt.Tests/Transformer/Traverse/TryOptionAsync/Async/EitherAsync.cs | ghcode:00163:dff5aa211c11 | mit | codeparrot/github-code | dff5aa211c113e9e5ba64a71d440bdaa04000dc0dd10af9fec0f3a54e0a77ca6 | 0.75 | testing_debugging_repair_refactoring | 458 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.ApplicationInsights.Metrics.Extensibility;
using Microsoft.ApplicationInsights.Metrics.TestUtility;
using System.Threading;
namespace Microsoft.ApplicationInsights.Metrics
{
/// <summary />
[TestClass]
public class MetricS... | pharring/ApplicationInsights-dotnet | BASE/Test/Microsoft.ApplicationInsights.Test/Microsoft.ApplicationInsights.Tests/Metrics/MetricSeriesTests.cs | https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/BASE/Test/Microsoft.ApplicationInsights.Test/Microsoft.ApplicationInsights.Tests/Metrics/MetricSeriesTests.cs | ghcode:00163:369ace189412 | mit | codeparrot/github-code | 369ace18941268976147e9fdae4c76fa2985fbdecaa9297b46c0d3fbbe6f8de4 | 0.95 | testing_debugging_repair_refactoring | 5,506 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using LinqStatistics.NaN;
namespace LinqStatistics.UnitTests
{
/// <summary>
/// Summary description for RangeTests
/// </summary>
[TestClass]
public class Ran... | dkackman/LinqStatistics | src/LinqStatisticsTests/RangeTests.cs | https://github.com/dkackman/LinqStatistics/blob/HEAD/src/LinqStatisticsTests/RangeTests.cs | ghcode:00163:da58700956a3 | apache-2.0 | codeparrot/github-code | da58700956a39d549227403aa1dcbb78fff6b5104e444fdc6084ba68fd5cb54b | 0.85 | testing_debugging_repair_refactoring | 549 | 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"); yo... | Mpdreamz/lucene.net | test/core/Analysis/TestLengthFilter.cs | https://github.com/Mpdreamz/lucene.net/blob/HEAD/test/core/Analysis/TestLengthFilter.cs | ghcode:00163:bafd1586558f | apache-2.0 | codeparrot/github-code | bafd1586558fb9779ec516d2ac28d1abe378b285e5c7fce01e96abdf7048d2d4 | 0.75 | testing_debugging_repair_refactoring | 366 | false | 2026-07-17 |
using System;
using System.Data;
using System.Linq;
using BenchmarkDotNet.Attributes;
using Bogus;
using FluentAssertions;
using FluentAssertions.Data;
namespace Benchmarks
{
[MemoryDiagnoser]
public class LargeDataTableEquivalencyBenchmarks
{
private DataTable dataTable1;
private DataT... | jnyrup/fluentassertions | Tests/Benchmarks/LargeDataTableEquivalency.cs | https://github.com/jnyrup/fluentassertions/blob/HEAD/Tests/Benchmarks/LargeDataTableEquivalency.cs | ghcode:00163:33b6280d696b | apache-2.0 | codeparrot/github-code | 33b6280d696b51e8d8a639795ff23fa26af3198f1224afa44fde4306e69c7a09 | 0.6 | testing_debugging_repair_refactoring | 790 | false | 2026-07-17 |
// ----------------------------------------------------------------------------------
//
// Copyright 2011 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://ww... | aidancasey/azure-sdk-tools | WindowsAzurePowershell/src/Management.CloudService.Test/Tests/AzureTools/CsPackTests.cs | https://github.com/aidancasey/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.CloudService.Test/Tests/AzureTools/CsPackTests.cs | ghcode:00163:ecfd51e3f21c | apache-2.0 | codeparrot/github-code | ecfd51e3f21c96127765d52acfa118fbfeef8c2ff2ae534f08dc92e97d2f26d4 | 0.95 | testing_debugging_repair_refactoring | 1,206 | false | 2026-07-17 |
//
// Copyright (c) 2004-2017 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... | ie-zero/NLog | tests/NLog.UnitTests/LayoutRenderers/CounterTests.cs | https://github.com/ie-zero/NLog/blob/HEAD/tests/NLog.UnitTests/LayoutRenderers/CounterTests.cs | ghcode:00163:661a93a753ed | bsd-3-clause | codeparrot/github-code | 661a93a753ed1e44ecc6f496b74d98b6004dc4b6197642a47ee0fcd3d8e188bb | 0.85 | testing_debugging_repair_refactoring | 1,274 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AldursLab.Testing;
using AldursLab.WurmAssistant3.Areas.Core;
using AldursLab.WurmAssistant3.Areas.Persistence;
using Ninject;
using NUnit.Framework;
using Telerik.JustMock;
using Telerik.JustMock.Helpers;
name... | mdsolver/WurmAssistant3 | src/Apps/WurmAssistant/WurmAssistant3.Tests/Unit/Areas/Persistence/PersistentObjectResolverTests.cs | https://github.com/mdsolver/WurmAssistant3/blob/HEAD/src/Apps/WurmAssistant/WurmAssistant3.Tests/Unit/Areas/Persistence/PersistentObjectResolverTests.cs | ghcode:00163:a95c51c323db | mit | codeparrot/github-code | a95c51c323dbb7792aa4951c19348802e99a1fa4f4a42bc32d05a55ddf668c61 | 0.75 | testing_debugging_repair_refactoring | 801 | false | 2026-07-17 |
namespace AutoFixture.AutoMoq.UnitTest.TestTypes
{
public class TypeWithPublicField
{
public string Field;
}
}
| Pvlerick/AutoFixture | Src/AutoMoqUnitTest/TestTypes/TypeWithPublicField.cs | https://github.com/Pvlerick/AutoFixture/blob/HEAD/Src/AutoMoqUnitTest/TestTypes/TypeWithPublicField.cs | ghcode:00163:0f6d001cc2ac | mit | codeparrot/github-code | 0f6d001cc2ac854e385e2f45474f7f1969aa78d58c329cee48296e63b837bdc5 | 0.5 | testing_debugging_repair_refactoring | 30 | false | 2026-07-17 |
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="David Srbecký" email="dsrbecky@gmail.com"/>
// <version>$Revision$</version>
// </file>
using System;
namespace Debugger.Tests.TestPrograms
{
public class HelloWorld
{
public static... | swi-to-yap/swicli | src/Debugger.Core.JDWP/Debugger.Tests/TestPrograms/HelloWorld.cs | https://github.com/swi-to-yap/swicli/blob/HEAD/src/Debugger.Core.JDWP/Debugger.Tests/TestPrograms/HelloWorld.cs | ghcode:00163:cbdde4fd6bb4 | cc0-1.0 | codeparrot/github-code | cbdde4fd6bb45f4582e4fbf5c761b186458856877dfc96a04b00fb405f09947b | 0.63 | testing_debugging_repair_refactoring | 308 | false | 2026-07-17 |
using System;
using System.CodeDom;
using System.CodeDom.Compiler;
using System.Collections;
using System.Collections.Specialized;
using System.IO;
using System.Reflection;
using Microsoft.Samples.CodeDomTestSuite;
using Microsoft.JScript;
public class UnicodeCharEscapeTest : CodeDomTestTree {
public override Te... | iskiselev/FSharp.Compiler.CodeDom | tests/codedom/tests/unicodecharescapetest.cs | https://github.com/iskiselev/FSharp.Compiler.CodeDom/blob/HEAD/tests/codedom/tests/unicodecharescapetest.cs | ghcode:00163:b4c09b9a0fe2 | unlicense | codeparrot/github-code | b4c09b9a0fe2ac382398498bbb4d328ea7ff1528910a6ab17d986b3e4c2f965c | 0.88 | testing_debugging_repair_refactoring | 417 | 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.Text;
using System.Collections.Generic;
using AdapterTest.Mocks;
using Microsoft.Spark.CSharp.Core;
using Microsoft.Spark.CSharp.Interop;
us... | tawan0109/SparkCLR | csharp/AdapterTest/SparkContextTest.cs | https://github.com/tawan0109/SparkCLR/blob/HEAD/csharp/AdapterTest/SparkContextTest.cs | ghcode:00163:2d9f23c9e160 | mit | codeparrot/github-code | 2d9f23c9e160abeddf280897f310a878ca8683e5351871e730a2622617e566c6 | 0.7 | testing_debugging_repair_refactoring | 5,052 | 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 ... | jpsullivan/lucenenet | src/Lucene.Net.Codecs/BlockTerms/FixedGapTermsIndexReader.cs | https://github.com/jpsullivan/lucenenet/blob/HEAD/src/Lucene.Net.Codecs/BlockTerms/FixedGapTermsIndexReader.cs | ghcode:00163:e2c20b36a93d | apache-2.0 | codeparrot/github-code | e2c20b36a93de90e703c0cf66512016a8038c94c2ea7aaa81ed51e41d779e735 | 0.85 | testing_debugging_repair_refactoring | 3,873 | false | 2026-07-17 |
using Lucene.Net.Randomized.Generators;
using Lucene.Net.Support;
using NUnit.Framework;
using System;
using System.Collections.Generic;
namespace Lucene.Net.Util
{
/// <summary>
/// Licensed to the Apache Software Foundation (ASF) under one or more
/// contributor license agreements. See the NOTICE file ... | mdissel/lucene.net | src/Lucene.Net.Tests/core/Util/TestNumericUtils.cs | https://github.com/mdissel/lucene.net/blob/HEAD/src/Lucene.Net.Tests/core/Util/TestNumericUtils.cs | ghcode:00163:a32b3d55469d | apache-2.0 | codeparrot/github-code | a32b3d55469d3059b83a1fc3b6ed461056cf7265531bd590d1e11848045c2e33 | 0.85 | testing_debugging_repair_refactoring | 7,195 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="AccrualFailureDetectorSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// <... | ali-ince/akka.net | src/core/Akka.Remote.Tests/AccrualFailureDetectorSpec.cs | https://github.com/ali-ince/akka.net/blob/HEAD/src/core/Akka.Remote.Tests/AccrualFailureDetectorSpec.cs | ghcode:00163:67a932dfb15c | apache-2.0 | codeparrot/github-code | 67a932dfb15c50f68b84f06911fca569cc0dfe0ea1b52a13cadd398cde912b0d | 0.85 | testing_debugging_repair_refactoring | 4,050 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2015 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... | OmicronPersei/nunit | src/NUnitFramework/tests/Internal/TypeHelperTests.cs | https://github.com/OmicronPersei/nunit/blob/HEAD/src/NUnitFramework/tests/Internal/TypeHelperTests.cs | ghcode:00163:99479ec051a4 | mit | codeparrot/github-code | 99479ec051a40d9e243808edff715e60abcc28abc49cddf5a41c597937670f62 | 0.95 | testing_debugging_repair_refactoring | 806 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using Nimbus.IntegrationTests.Extensions;
using Nimbus.IntegrationTests.Tests.AbstractBaseTypeMessageTests.MessageContracts;
using Nimbus.Tests.Common;
using NUnit.Framework;
using Shouldly;
namespace Nimbus.IntegrationTests.Tests.AbstractBaseTypeMessageTe... | stevescc/Nimbus | src/Tests/Nimbus.IntegrationTests/Tests/AbstractBaseTypeMessageTests/WhenSendingAMulticastRequestThatHasAnAbstractBaseType.cs | https://github.com/stevescc/Nimbus/blob/HEAD/src/Tests/Nimbus.IntegrationTests/Tests/AbstractBaseTypeMessageTests/WhenSendingAMulticastRequestThatHasAnAbstractBaseType.cs | ghcode:00163:461cad00c230 | mit | codeparrot/github-code | 461cad00c23090b0b49161b64f498b5c7870b4619cd043ea65549eaba564ee00 | 0.85 | testing_debugging_repair_refactoring | 256 | 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... | ilantukh/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/CacheMetricsTest.cs | https://github.com/ilantukh/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/CacheMetricsTest.cs | ghcode:00163:3e8771893dc3 | apache-2.0 | codeparrot/github-code | 3e8771893dc3ed24dc41bf9d0e3905ed375abf6be1f9cd17aa60c842d891b24b | 0.7 | testing_debugging_repair_refactoring | 2,435 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of... | StefanoRaggi/Lean | Tests/Common/Exceptions/KeyErrorPythonExceptionInterpreterTests.cs | https://github.com/StefanoRaggi/Lean/blob/HEAD/Tests/Common/Exceptions/KeyErrorPythonExceptionInterpreterTests.cs | ghcode:00163:9cdb11b94cb2 | apache-2.0 | codeparrot/github-code | 9cdb11b94cb2c6708beeb5c0c9d100dc51b7ae103df33c83f845b41a1de70670 | 0.85 | testing_debugging_repair_refactoring | 670 | false | 2026-07-17 |
using Shouldly;
using System;
using System.Diagnostics;
using Xunit;
namespace StructureMap.Testing
{
// SAMPLE: auto-wiring-sample
public interface Xman
{
}
public class Cyclops : Xman
{
}
public interface Avenger
{
}
public class IronMan : Avenger
... | DixonD-git/structuremap | src/StructureMap.Testing/AutoWiringExamples.cs | https://github.com/DixonD-git/structuremap/blob/HEAD/src/StructureMap.Testing/AutoWiringExamples.cs | ghcode:00163:8aa82798ac38 | apache-2.0 | codeparrot/github-code | 8aa82798ac3846292fa8875a6d8de15e43c2635c7b974d833bfaafdceee399a6 | 0.85 | testing_debugging_repair_refactoring | 1,082 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of... | StefanoRaggi/Lean | Tests/Engine/BasicOptionAssignmentSimulationTests.cs | https://github.com/StefanoRaggi/Lean/blob/HEAD/Tests/Engine/BasicOptionAssignmentSimulationTests.cs | ghcode:00163:b9fb50ba3255 | apache-2.0 | codeparrot/github-code | b9fb50ba3255e06388ae333c02fc20acac7b83e4d88cba1b975afa35287c0301 | 0.85 | testing_debugging_repair_refactoring | 2,442 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.Kernel;
using Ploeh.AutoFixtureUnitTest.Kernel;
using Xunit;
using Xunit.Extensions;
namespace Ploeh.AutoFixtureUnitTest
{
public class ConstrainedStringGenerat... | yuva2achieve/AutoFixture | Src/AutoFixtureUnitTest/ConstrainedStringGeneratorTest.cs | https://github.com/yuva2achieve/AutoFixture/blob/HEAD/Src/AutoFixtureUnitTest/ConstrainedStringGeneratorTest.cs | ghcode:00163:b4b70c7d60b1 | mit | codeparrot/github-code | b4b70c7d60b131f8b3d5ed7f2267be48b9c002767e3fd88db7b81db826bd4db6 | 0.85 | testing_debugging_repair_refactoring | 1,319 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Threading;
usin... | DustinCampbell/roslyn | src/Features/Core/Portable/Diagnostics/EngineV2/DiagnosticIncrementalAnalyzer_GetDiagnosticsForSpan.cs | https://github.com/DustinCampbell/roslyn/blob/HEAD/src/Features/Core/Portable/Diagnostics/EngineV2/DiagnosticIncrementalAnalyzer_GetDiagnosticsForSpan.cs | ghcode:00163:85fda6006b89 | apache-2.0 | codeparrot/github-code | 85fda6006b8978ba4c05e69da1f79105168f4d73132ca26423f0ef333f9aa85b | 0.85 | testing_debugging_repair_refactoring | 3,718 | false | 2026-07-17 |
using Nest;
namespace Tests.Framework
{
public static class Promisify
{
public static PromiseValue<T> Promise<T>(T o) where T : class => new PromiseValue<T>(o);
public class PromiseValue<T> : IPromise<T> where T : class
{
private readonly T _o;
public PromiseValue(T o)
{
_o = o;
}
T IProm... | CSGOpenSource/elasticsearch-net | src/Tests/Framework/Extensions/Promisify.cs | https://github.com/CSGOpenSource/elasticsearch-net/blob/HEAD/src/Tests/Framework/Extensions/Promisify.cs | ghcode:00163:2ad25d868c3a | apache-2.0 | codeparrot/github-code | 2ad25d868c3a90733c2c9395a7cdaf73a222477dc140f5b7c4a28a73727e370e | 0.85 | testing_debugging_repair_refactoring | 104 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.Diagnostics;
using Roslyn.Test.Utilities;
using Xunit;
namespace Microsof... | weltkante/roslyn | src/EditorFeatures/CSharpTest/RemoveUnnecessaryImports/RemoveUnnecessaryImportsTests_FixAllTests.cs | https://github.com/weltkante/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/RemoveUnnecessaryImports/RemoveUnnecessaryImportsTests_FixAllTests.cs | ghcode:00163:5970955e9ac9 | apache-2.0 | codeparrot/github-code | 5970955e9ac98b6b69668d9a42f6d9b3874fe8bbf7697068652fbeb45c5cdd34 | 0.75 | testing_debugging_repair_refactoring | 1,202 | 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 ... | tkpanther/ignite | modules/platforms/dotnet/Apache.Ignite.Core/Impl/Cache/CacheEntryProcessorHolder.cs | https://github.com/tkpanther/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Cache/CacheEntryProcessorHolder.cs | ghcode:00163:eb8ab84d423e | apache-2.0 | codeparrot/github-code | eb8ab84d423e2a9a5582c1522c52c7cd47985fcc01a17978e6820b34f62d5774 | 0.85 | testing_debugging_repair_refactoring | 1,236 | 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 Y... | antony-liu/npoi | testcases/main/HSSF/UserModel/TestFontDetails.cs | https://github.com/antony-liu/npoi/blob/HEAD/testcases/main/HSSF/UserModel/TestFontDetails.cs | ghcode:00163:262a707cba44 | apache-2.0 | codeparrot/github-code | 262a707cba44d2518f951e34a9bcc16f9cbabeeb2e300b8aace804bf8542c1bb | 0.85 | testing_debugging_repair_refactoring | 778 | false | 2026-07-17 |
//---------------------------------------------------------------------
// <copyright file="ODataAvroTestModel.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//----------------------------------... | hotchandanisagar/odata.net | test/FunctionalTests/Tests/DataOData/Tests/OData.PluggableFormat.Tests/Avro/Test/ODataAvroTestModel.cs | https://github.com/hotchandanisagar/odata.net/blob/HEAD/test/FunctionalTests/Tests/DataOData/Tests/OData.PluggableFormat.Tests/Avro/Test/ODataAvroTestModel.cs | ghcode:00163:3cb869e7d1ad | mit | codeparrot/github-code | 3cb869e7d1ad55b2ad940c2d1768e2284bb1fce87c9aa295b6ed6edce8bf32f7 | 0.95 | testing_debugging_repair_refactoring | 628 | 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.Diagnostics;
using System.Dynamic.Utils;
using System.Reflection;
namespace System.Linq.Expressions.Interpreter
{
internal abstract clas... | heXelium/corefx | src/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/MulInstruction.cs | https://github.com/heXelium/corefx/blob/HEAD/src/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/MulInstruction.cs | ghcode:00163:1fa419e604e5 | mit | codeparrot/github-code | 1fa419e604e5b835facb58511d4c813a48eb9d3eae0da3d196a13253741f02fc | 0.85 | testing_debugging_repair_refactoring | 2,961 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.Numerics;
using System.Security.Cryptography.Asn1;
using Internal.Cryptograph... | shimingsg/corefx | src/System.Security.Cryptography.X509Certificates/src/System/Security/Cryptography/X509Certificates/ECDsaX509SignatureGenerator.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Security.Cryptography.X509Certificates/src/System/Security/Cryptography/X509Certificates/ECDsaX509SignatureGenerator.cs | ghcode:00163:1cf1cf53d556 | mit | codeparrot/github-code | 1cf1cf53d55666c8b54a67c32cb5de9f22dde062666fd043b7821c008fc9b050 | 0.95 | testing_debugging_repair_refactoring | 844 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Threading;
using Xunit;
namespace System.Linq.Parallel.Tests
{
p... | ViktorHofer/corefx | src/System.Linq.Parallel/tests/QueryOperators/IntersectTests.cs | https://github.com/ViktorHofer/corefx/blob/HEAD/src/System.Linq.Parallel/tests/QueryOperators/IntersectTests.cs | ghcode:00163:42c5978a0e0c | mit | codeparrot/github-code | 42c5978a0e0c5ada75686d6bce93106f469a027946ff7bb3e62754aad7852fbd | 0.95 | testing_debugging_repair_refactoring | 3,548 | 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.ComponentModel.Composition.Hosting;
using Xunit;
namespace System.ComponentModel.Composition.Registrat... | shimingsg/corefx | src/System.ComponentModel.Composition.Registration/tests/System/ComponentModel/Composition/Registration/RegistrationBuilderExportFuncTests.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.ComponentModel.Composition.Registration/tests/System/ComponentModel/Composition/Registration/RegistrationBuilderExportFuncTests.cs | ghcode:00163:40e589df2623 | mit | codeparrot/github-code | 40e589df2623c92e52c5ef90e18d3daf623eeef9bc3c6ade906ca113f134938d | 0.95 | testing_debugging_repair_refactoring | 214 | 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.Reflection.Metadata.Tests
{
public class AssemblyDefinitionTests
{
[... | tijoytom/corefx | src/System.Reflection.Metadata/tests/Metadata/TypeSystem/AssemblyDefinitionTests.cs | https://github.com/tijoytom/corefx/blob/HEAD/src/System.Reflection.Metadata/tests/Metadata/TypeSystem/AssemblyDefinitionTests.cs | ghcode:00163:a11e6b319463 | mit | codeparrot/github-code | a11e6b319463001c5ed0e7c81e89bf93eda4b801d4e444485036c9ea16d50686 | 0.95 | testing_debugging_repair_refactoring | 1,195 | false | 2026-07-17 |
#if !NET35
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using Twilio.Http;
using HttpMethod = Twilio.Http.HttpMethod;
namespace Twilio.Tests.Http
{
public class MockResponseHandler : Delegating... | twilio/twilio-csharp | test/Twilio.Test/Http/SystemNetHttpClientTest.cs | https://github.com/twilio/twilio-csharp/blob/HEAD/test/Twilio.Test/Http/SystemNetHttpClientTest.cs | ghcode:00163:72c4dd25e710 | mit | codeparrot/github-code | 72c4dd25e710d51d2b62cd41b83f24d255cc2787ff03830542dcb732f596f083 | 0.7 | testing_debugging_repair_refactoring | 1,728 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using TeamStore.Factories;
using TeamStore.Keeper.Models;
using TeamStore.DevUI.ViewModels;
using Xunit;
namespace UnitTests
{
public class AssetFactoryTests
{
public AssetFactoryTests()
{
}
[Fact]
public void ConvertAsse... | OneBitSoftware/TeamStore | tests/UnitTests/AssetFactoryTests.cs | https://github.com/OneBitSoftware/TeamStore/blob/HEAD/tests/UnitTests/AssetFactoryTests.cs | ghcode:00163:9f72ef84f446 | mit | codeparrot/github-code | 9f72ef84f44668a91a52f893a6d63b96161d87aad146bce8023c59cdedeb1d9c | 0.75 | testing_debugging_repair_refactoring | 256 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NoraGrace.Engine.Evaluation.Helpers;
namespace NoraGrace.Engine.Evaluation
{
public class MaterialSettings : ChessGameStageDictionary<MaterialSettingsPhase>
{
... | ericoldre/NoraGrace-Chess | NoraGrace/NoraGrace.Engine/Evaluation/MaterialEvaluator.cs | https://github.com/ericoldre/NoraGrace-Chess/blob/HEAD/NoraGrace/NoraGrace.Engine/Evaluation/MaterialEvaluator.cs | ghcode:00163:703a2303ef10 | mit | codeparrot/github-code | 703a2303ef100dc6f000e2fd578ac7af9a1d454ee37764a5655f6cdd0fe27269 | 0.85 | testing_debugging_repair_refactoring | 3,654 | false | 2026-07-17 |
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
namespace Example.Test.AssemblyA
{
public class WindsorInstaller : IWindsorInstaller
{
public void Install(IWindsorContainer container, IConfigurationStore store)
{
contai... | cryosharp/fluentwindsor | .examples/FluentWindsor/Example.Test.AssemblyA/WindsorInstaller.cs | https://github.com/cryosharp/fluentwindsor/blob/HEAD/.examples/FluentWindsor/Example.Test.AssemblyA/WindsorInstaller.cs | ghcode:00163:a869fad06f68 | mit | codeparrot/github-code | a869fad06f68675596e94c23653a265c415526228a76779167aa2bd9bc158721 | 0.75 | testing_debugging_repair_refactoring | 78 | false | 2026-07-17 |
using FluentNHibernate.Automapping;
using FluentNHibernate.Automapping.Alterations;
using Machine.Specifications;
namespace Quarks.Tests.FluentNHibernate.Conventions
{
[Subject(typeof(NHibernateContext))]
class When_using_nhibernate
{
It should_load_a_persisted_entity_in_the_same_state_it_was_persisted ... | shaynevanasperen/Quarks | Quarks.Tests/FluentNHibernate/Conventions/BasicEntityTests.cs | https://github.com/shaynevanasperen/Quarks/blob/HEAD/Quarks.Tests/FluentNHibernate/Conventions/BasicEntityTests.cs | ghcode:00163:386baae1d45b | mit | codeparrot/github-code | 386baae1d45bb26545ec9161d054a9c55be269d31b8640a79c11c6e15789b46f | 0.75 | testing_debugging_repair_refactoring | 349 | false | 2026-07-17 |
using Newtonsoft.Json.Linq;
using System.IO;
using System.Threading.Tasks;
using Telegram.Bot.Exceptions;
using Telegram.Bot.Tests.Integ.Framework;
using Telegram.Bot.Types;
using Xunit;
namespace Telegram.Bot.Tests.Integ.Admin_Bot
{
[Collection(Constants.TestCollections.ChannelAdminBots)]
[TestCaseOrderer(Con... | MrRoundRobin/telegram.bot | test/Telegram.Bot.Tests.Integ/Admin Bot/ChannelAdminBotTests.cs | https://github.com/MrRoundRobin/telegram.bot/blob/HEAD/test/Telegram.Bot.Tests.Integ/Admin Bot/ChannelAdminBotTests.cs | ghcode:00163:b4fbad878a68 | mit | codeparrot/github-code | b4fbad878a68e8285d313b9cfc4244a825832cc4e30f7c8c5b9f7d72270d71c6 | 0.75 | testing_debugging_repair_refactoring | 1,269 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _3_4_5.Students
{
public class Test
{
static void Main()
{
Student[] students = new Student[3];
students[0] = new Student("Nikolai", "Mishev"... | NikolaiMishev/Telerik-Academy | Module-1/03.CSharp OOP/Extension-Methods-Delegates-Lambda-LINQ/3,4,5,9-16,18,19. Students/Test.cs | https://github.com/NikolaiMishev/Telerik-Academy/blob/HEAD/Module-1/03.CSharp OOP/Extension-Methods-Delegates-Lambda-LINQ/3,4,5,9-16,18,19. Students/Test.cs | ghcode:00163:f4de34a0050b | mit | codeparrot/github-code | f4de34a0050b9db845e19df4446eaa3aa72dfc5b36f58c525204b03cf33313a9 | 0.75 | testing_debugging_repair_refactoring | 384 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Text.RegularExpressions;
using System.Threading;
using CommonTestUtils;
using Microsoft.Spark.CSharp.Core;
using Microsoft.Spark.CSharp.Streaming;
namespace testKeyValueStream
{
[Serializable]
public class ... | qualiu/testMobius | csharp/testKeyValueStream/testKeyValueStream.cs | https://github.com/qualiu/testMobius/blob/HEAD/csharp/testKeyValueStream/testKeyValueStream.cs | ghcode:00163:953beb5c7e90 | mit | codeparrot/github-code | 953beb5c7e90d402d9369e1a9f23d0ce43113edfd637a77232e92474f8964624 | 0.85 | testing_debugging_repair_refactoring | 1,503 | false | 2026-07-17 |
using Xunit;
using System.Collections.Generic;
namespace System.Collections
{
/// <summary>
/// IComparerTests
/// </summary>
public class IComparerTests
{
[Fact]
public void Compare_TwoEqualValues_EqualsZero()
{
var comparer = (IComparer<int>)Compare... | BclEx/GpuStructs | src/Thunk/Thunk.Tests/System/Collections/IComparerTests.cs | https://github.com/BclEx/GpuStructs/blob/HEAD/src/Thunk/Thunk.Tests/System/Collections/IComparerTests.cs | ghcode:00163:977c37a250cf | mit | codeparrot/github-code | 977c37a250cf2d2c7d41ede4bfc365129b16f94f51950086b2ec9229abdd5e4d | 0.85 | testing_debugging_repair_refactoring | 87 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using HandlebarsHelper;
namespace HandlebarsHelperTester
{
[TestClass]
public class HandlebarsCompilerTester
{
[TestMethod]
public void TestCompiler()
{
//lazy test
var hc = new HandlebarsComp... | kingpin2k/HandlebarsHelper | HandlebarsHelperTester/HandlebarsCompilerTester.cs | https://github.com/kingpin2k/HandlebarsHelper/blob/HEAD/HandlebarsHelperTester/HandlebarsCompilerTester.cs | ghcode:00163:f8b1ecf6ac5a | mit | codeparrot/github-code | f8b1ecf6ac5a21379a0c7636e53fd26d1e9f248bfc055f2aff1032b981801fe9 | 0.6 | testing_debugging_repair_refactoring | 98 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Core;
using System.Linq;
namespace Service.Tests
{
[TestClass]
public class LecturePlanRepositoryUnitTest
{
[TestMethod]
public void LecturePlanRepositoryIDCounterWorks()
{
LecturePlanRepository repo = (Lect... | jona8690/Project-Web | Code/Service/Service.Tests/LecturePlanRepositoryUnitTest.cs | https://github.com/jona8690/Project-Web/blob/HEAD/Code/Service/Service.Tests/LecturePlanRepositoryUnitTest.cs | ghcode:00163:51c6630f75fd | mit | codeparrot/github-code | 51c6630f75fd0fa20edcb7c5d715d2c798049c1e21bd51f55bdbeedf19a63339 | 0.75 | testing_debugging_repair_refactoring | 590 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Run00.MsTest;
namespace BitFn.HashingLibrary.Tests.Algorithms.MurmurHash3x128
{
[TestClass]
[CategorizeByConventionClass(typeof(HashSize))]
public class HashSize
{
[TestMethod]
[CategorizeByConvention]
public void WhenGotten_ShouldReturnConstant()
... | dlras2/HashingLibrary | BitFn.HashingLibrary.Tests/Algorithms/MurmurHash3x128/HashSize.cs | https://github.com/dlras2/HashingLibrary/blob/HEAD/BitFn.HashingLibrary.Tests/Algorithms/MurmurHash3x128/HashSize.cs | ghcode:00163:f909444f79ab | mit | codeparrot/github-code | f909444f79ab317a634345a5bc5cdd6abcd2c0a8f16bc103485224dc920f699a | 0.7 | testing_debugging_repair_refactoring | 156 | false | 2026-07-17 |
namespace FluentChecker.Tests
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class OrOperatorTest
{
[TestMethod]
public void InstanceWithFalseInitialization()
{
var orOperator = new OrOperator(false);
Assert.IsNotNull(orOperato... | SimoneLocatelli/FluentChecker | FluentChecker.Tests/OrOperatorTest.cs | https://github.com/SimoneLocatelli/FluentChecker/blob/HEAD/FluentChecker.Tests/OrOperatorTest.cs | ghcode:00163:bc129299bf33 | mit | codeparrot/github-code | bc129299bf33f4225a4940beae0e5413eea7969c3530c8c6e0ae2fedc37d1f94 | 0.6 | testing_debugging_repair_refactoring | 351 | false | 2026-07-17 |
#region Usings
using System;
using Xunit;
#endregion
namespace Extend.Testing
{
public partial class ComparableTExTest
{
[Fact]
public void BetweenInclusiveTest()
{
const Int32 value = 100;
const Int32 min = 50;
const Int32 max = 300;
... | DaveSenn/Extend | .Src/Extend.Testing/System.IComparable[T]/IComparable[T].BetweenInclusive.Test.cs | https://github.com/DaveSenn/Extend/blob/HEAD/.Src/Extend.Testing/System.IComparable[T]/IComparable[T].BetweenInclusive.Test.cs | ghcode:00163:924056123526 | mit | codeparrot/github-code | 924056123526f893a4f356da9e21b4bd38a30483b72f8eb6a01dfa1bb5aa015e | 0.85 | testing_debugging_repair_refactoring | 590 | false | 2026-07-17 |
using FluentAssertions;
using Hangfire;
using Moq;
using NUnit.Framework;
using VaraniumSharp.Monolith.Configuration;
using VaraniumSharp.Monolith.Enumerations;
using VaraniumSharp.Monolith.Tests.Helpers;
namespace VaraniumSharp.Monolith.Tests.Configuration
{
public class HangfireMemoryStorageConfigurationTests
... | NinetailLabs/VaraniumSharp.Monolith | VaraniumSharp.Monolith.Tests/Configuration/HangfireMemoryStorageConfigurationTests.cs | https://github.com/NinetailLabs/VaraniumSharp.Monolith/blob/HEAD/VaraniumSharp.Monolith.Tests/Configuration/HangfireMemoryStorageConfigurationTests.cs | ghcode:00163:d0a78750c108 | mit | codeparrot/github-code | d0a78750c108c0ad08a73b2eb25d324d3718da63d05bbbd705c6749bb83268e1 | 0.85 | testing_debugging_repair_refactoring | 268 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace MooGet.Specs.CLI {
/// <summary>Once this spec gets too large because we have too many filters, we should split it up into many specs</summary>
[TestFixture]
public class FiltersSpec : Spec {
[Test][Description("moo")]
public void SplashScreenFilter() {
moo().... | remi/mooget | spec/cli/filters/FiltersSpec.cs | https://github.com/remi/mooget/blob/HEAD/spec/cli/filters/FiltersSpec.cs | ghcode:00163:4cf288d11323 | mit | codeparrot/github-code | 4cf288d11323108b04786d97a2078987672db5570fc5ef257b5a573c28b4861f | 0.75 | testing_debugging_repair_refactoring | 351 | false | 2026-07-17 |
using System.Diagnostics.CodeAnalysis;
using Maxxor.PCL.Tests.Tests.Base;
using Maxxor.PCL.ValueObject;
using Maxxor.PCL.ValueObject.Base;
using NUnit.Framework;
namespace Maxxor.PCL.Tests.Tests.MxValueObjectsTests.MxEnumTests
{
[TestFixture, ExcludeFromCodeCoverage]
public class EqualsTests : BaseUnitTest
... | Maxxor-Business-Solutions/Maxxor.PCL | Maxxor.PCL.Tests/Tests/MxValueObjectsTests/MxEnumTests/EqualsTests.cs | https://github.com/Maxxor-Business-Solutions/Maxxor.PCL/blob/HEAD/Maxxor.PCL.Tests/Tests/MxValueObjectsTests/MxEnumTests/EqualsTests.cs | ghcode:00163:646b8a75e07b | mit | codeparrot/github-code | 646b8a75e07b632b0b667edeb48c110374cb0632fd15b8bf7992d3cd62dcd0c9 | 0.95 | testing_debugging_repair_refactoring | 392 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using IsbnTools;
using Xunit;
using Xunit.Extensions;
namespace Tests
{
public class Isbn10ConvertionTests : IUseFixture<RangeMessageFixture>
{
private RangeMessage _rm;
public void SetFixture(RangeMessageFixture ... | glueckkanja/IsbnTools | Tests/Isbn10ConvertionTests.cs | https://github.com/glueckkanja/IsbnTools/blob/HEAD/Tests/Isbn10ConvertionTests.cs | ghcode:00163:5f9d188881fe | mit | codeparrot/github-code | 5f9d188881febe175c89c303080e046ac5c259dd9d1be14282f5a82b8c917e5b | 0.75 | testing_debugging_repair_refactoring | 566 | false | 2026-07-17 |
/*
* Velcro Physics:
* Copyright (c) 2017 Ian Qvist
*
* Original source Box2D:
* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this soft... | VelcroPhysics/VelcroPhysics | src/VelcroPhysics.MonoGame.Samples.Testbed/Tests/BulletTest.cs | https://github.com/VelcroPhysics/VelcroPhysics/blob/HEAD/src/VelcroPhysics.MonoGame.Samples.Testbed/Tests/BulletTest.cs | ghcode:00163:108bd45ccbe6 | mit | codeparrot/github-code | 108bd45ccbe6c75fcb6bf7e562bcbfd51ce3704a0fc3e31c21af7324cd5b3886 | 0.95 | testing_debugging_repair_refactoring | 1,091 | false | 2026-07-17 |
/*
Copyright (c) 2014 <a href="http://www.gutgames.com">James Craig</a>
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, ... | JaCraig/Craig-s-Utility-Library | UnitTests/DataTypes/ExtensionMethods/ICollectionExtensions.cs | https://github.com/JaCraig/Craig-s-Utility-Library/blob/HEAD/UnitTests/DataTypes/ExtensionMethods/ICollectionExtensions.cs | ghcode:00163:8df1be6c9f9d | mit | codeparrot/github-code | 8df1be6c9f9d0636550da173b2ba5aee1577a470dbdd7fdfd7224fcee8daa7ea | 0.6 | testing_debugging_repair_refactoring | 1,499 | false | 2026-07-17 |
using NUnit.Framework;
using FalkonryClient.Helper.Models;
using System.Collections.Generic;
using System.IO;
namespace FalkonryClient.Tests
{
[TestFixture()]
public class TestAddFacts
{
static string host = System.Environment.GetEnvironmentVariable("FALKONRY_HOST_URL");
static string token = System.Env... | aniket-amrutkar/falkonry-csharp-client | FalkonryClient/Tests/TestAddFacts.cs | https://github.com/aniket-amrutkar/falkonry-csharp-client/blob/HEAD/FalkonryClient/Tests/TestAddFacts.cs | ghcode:00163:8482218190cf | mit | codeparrot/github-code | 8482218190cfc3cf5ba0d9fb4d9be57cee533a34b53a30816fa243bfec7d5131 | 0.95 | testing_debugging_repair_refactoring | 5,255 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.