text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Xunit.Performance;
using System;
using System.Reflection;
using Xunit;
public enum Color
{
Black,
White,
Red,
Brown,
Yellow,
P... | LLITCHEV/coreclr | tests/src/performance/perflab/EnumPerf.cs | https://github.com/LLITCHEV/coreclr/blob/HEAD/tests/src/performance/perflab/EnumPerf.cs | ghcode:00159:6bde6a82ae0d | mit | codeparrot/github-code | 6bde6a82ae0d39686a51b9af9fba0679a9d658f6cb2b0192b19121d9a42b0df6 | 0.7 | testing_debugging_repair_refactoring | 313 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Reflection;
using System.Diagnostics;
using System.Collections.Generic;
using System.Refl... | zenos-os/zenos | vendor/corert/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/MethodInfos/RuntimeSyntheticMethodInfo.cs | https://github.com/zenos-os/zenos/blob/HEAD/vendor/corert/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/MethodInfos/RuntimeSyntheticMethodInfo.cs | ghcode:00159:baffc7832a81 | mit | codeparrot/github-code | baffc7832a81b5d46ec6c188ef7732179dfcb71fb9f695df907476c8a8953997 | 0.95 | testing_debugging_repair_refactoring | 1,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 System;
using System.IO;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
names... | shimingsg/corefx | src/System.Data.SqlClient/tests/StressTests/System.Data.StressRunner/Program.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Data.SqlClient/tests/StressTests/System.Data.StressRunner/Program.cs | ghcode:00159:f9e72b73b303 | mit | codeparrot/github-code | f9e72b73b30327727709184382e283b1a2d6b683c47dc1ad88c9f9d20320e252 | 0.95 | testing_debugging_repair_refactoring | 1,732 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections;
using System.Diagnostics;
namespace System.Security.Cryptography.Pkcs
{
public sealed... | shimingsg/corefx | src/System.Security.Cryptography.Pkcs/src/System/Security/Cryptography/Pkcs/SignerInfoEnumerator.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Security.Cryptography.Pkcs/src/System/Security/Cryptography/Pkcs/SignerInfoEnumerator.cs | ghcode:00159:6d309c76cf18 | mit | codeparrot/github-code | 6d309c76cf1851edbd1f1a6f19011849dd169680bd93319f60e132d39ef9f56e | 0.95 | testing_debugging_repair_refactoring | 230 | false | 2026-07-17 |
#nullable enable
using System.Linq;
using System.Threading.Tasks;
using Content.Client.GameObjects.Components.Items;
using Content.Server.GameObjects.Components.ActionBlocking;
using Content.Server.GameObjects.Components.Body;
using Content.Server.Interfaces.GameObjects.Components.Items;
using Content.Shared.GameObjec... | space-wizards/space-station-14-content | Content.IntegrationTests/Tests/GameObjects/Components/ActionBlocking/CuffUnitTest.cs | https://github.com/space-wizards/space-station-14-content/blob/HEAD/Content.IntegrationTests/Tests/GameObjects/Components/ActionBlocking/CuffUnitTest.cs | ghcode:00159:a871d84c06f5 | mit | codeparrot/github-code | a871d84c06f5a02f2096bf583f593dd5666ca2f0f9485dcca6d78f70899523a7 | 0.95 | testing_debugging_repair_refactoring | 827 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using RuntimeUnitTestToolkit;
using Sandbox.Shared.Bar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZeroFormatter.Formatters;
using ZeroFormatter.Internal;
using ZeroFormatter.Segments;
namespace ZeroFormatter.Tests
{
... | neuecc/ZeroFormatter | tests/ZeroFormatter.UnityTests/Assets/Scripts/Tests/ObjectFormatterTest.cs | https://github.com/neuecc/ZeroFormatter/blob/HEAD/tests/ZeroFormatter.UnityTests/Assets/Scripts/Tests/ObjectFormatterTest.cs | ghcode:00159:c25b107b6bf2 | mit | codeparrot/github-code | c25b107b6bf2b3d277480e30f02c2f1f62a960cf97fbbd484adb943a33b5d663 | 0.85 | testing_debugging_repair_refactoring | 1,823 | false | 2026-07-17 |
using System.Linq;
using NUnit.Framework;
using Saleslogix.SData.Client.Framework;
// ReSharper disable InconsistentNaming
namespace Saleslogix.SData.Client.Test.Framework
{
[TestFixture]
public class UriPathSegmentTests
{
/// <summary>
/// The URI path parser should handle open parenthes... | Saleslogix/DotNetSDataClient | Saleslogix.SData.Client.Test/Framework/UriPathSegmentTests.cs | https://github.com/Saleslogix/DotNetSDataClient/blob/HEAD/Saleslogix.SData.Client.Test/Framework/UriPathSegmentTests.cs | ghcode:00159:427a8ca16da6 | mit | codeparrot/github-code | 427a8ca16da62ee3838e0662b23e1ffe1608a0a0cf2ba7a4887e7c640583cb50 | 0.85 | testing_debugging_repair_refactoring | 191 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using LinqToDB;
using NUnit.Framework;
namespace Tests.Linq
{
using Model;
[TestFixture]
public class SelectScalarTests : TestBase
{
[ActiveIssue("CI: SQL0418N The statement was not processed because the statement contains an inva... | LinqToDB4iSeries/Linq2DB4iSeries | Tests/Linq/Linq/SelectScalarTests.cs | https://github.com/LinqToDB4iSeries/Linq2DB4iSeries/blob/HEAD/Tests/Linq/Linq/SelectScalarTests.cs | ghcode:00159:5a9e33917746 | mit | codeparrot/github-code | 5a9e33917746a284f0966df879732d44b054f5ac19d1700c0e685dee5b01dcbd | 0.85 | testing_debugging_repair_refactoring | 3,077 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Htc.Vita.Core.Json;
using Htc.Vita.Core.Util;
using Xunit;
namespace Htc.Vita.Core.Tests
{
public static class DictionaryExtensionTest
{
[Fact]
public static void Default_0_ToJsonObject_bool()
{
var map = new Dictionary<s... | ViveportSoftware/vita_core_csharp | source/Htc.Vita.Core.Tests/DictionaryExtensionTest.cs | https://github.com/ViveportSoftware/vita_core_csharp/blob/HEAD/source/Htc.Vita.Core.Tests/DictionaryExtensionTest.cs | ghcode:00159:bb1e6f1ce159 | mit | codeparrot/github-code | bb1e6f1ce15919f7adfdf96fa68f12144281763b4d855acb3c32c74495d392aa | 0.7 | testing_debugging_repair_refactoring | 2,306 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Rk.Net.Utility.Tests
{
/// <summary>
/// This class contains unit tests.
/// </summary>
[TestClass()]
public class CryptographyHelperTests
{
#region Initialization
/// <summary>
/// Gets or sets the test cont... | rahilkidwai/Net.Utility | Rk.Net.Utility.Tests/Cryptography/CryptographyHelperTests.cs | https://github.com/rahilkidwai/Net.Utility/blob/HEAD/Rk.Net.Utility.Tests/Cryptography/CryptographyHelperTests.cs | ghcode:00159:e4dbb326818f | mit | codeparrot/github-code | e4dbb326818f65821d589adae9f47f2fd4671f268242fcdc6f62e8cd7ae94d20 | 0.85 | testing_debugging_repair_refactoring | 566 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Underscore.Function;
namespace Underscore.Test.Function.Split
{
[TestFixture]
public class CurryTest
{
private SplitComponent component;
[SetUp]
public void Initialize()
{
component = new SplitComponent();
}
[Test]
public void Func_Split_Curry_2Argument... | konkked/Underscore.cs | Underscore.Test/Function/Split/CurryTest.cs | https://github.com/konkked/Underscore.cs/blob/HEAD/Underscore.Test/Function/Split/CurryTest.cs | ghcode:00159:3a2ab2aa915c | mit | codeparrot/github-code | 3a2ab2aa915c699112679edaf48a16086ffacdb68c5cf970c8dca76f2148985b | 0.6 | testing_debugging_repair_refactoring | 2,301 | false | 2026-07-17 |
using Helsenorge.Messaging.Abstractions;
using System;
using System.Diagnostics;
using System.IO;
namespace Helsenorge.Messaging.Http
{
internal class HttpServiceBusFactory : IMessagingFactory
{
private string _baseurl;
public HttpServiceBusFactory(string baseurl)
{
Debug.... | chriscena/Helsenorge.Messaging | src/Helsenorge.Messaging/Http/HttpServiceBusFactory.cs | https://github.com/chriscena/Helsenorge.Messaging/blob/HEAD/src/Helsenorge.Messaging/Http/HttpServiceBusFactory.cs | ghcode:00159:7a22d71e1f5a | mit | codeparrot/github-code | 7a22d71e1f5a51d2c59f521306cfc4cee7d878763ae0b381017d9b4078a27faa | 0.85 | testing_debugging_repair_refactoring | 264 | false | 2026-07-17 |
namespace School.Tests
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class StudentTests
{
[TestMethod]
public void CreatingValidStudentShouldNotThrowAnException()
{
var student = new Student("John Hohn", 10000);
}... | TsvetanRazsolkov/Telerik-Academy | Homeworks/Programming/HQC/10.UnitTesting/School.Tests/StudentTests.cs | https://github.com/TsvetanRazsolkov/Telerik-Academy/blob/HEAD/Homeworks/Programming/HQC/10.UnitTesting/School.Tests/StudentTests.cs | ghcode:00159:816d48918cd3 | mit | codeparrot/github-code | 816d48918cd3753be8819a9c418971a9a25ee0076780e9e256e6a26e2c74b852 | 0.75 | testing_debugging_repair_refactoring | 470 | false | 2026-07-17 |
namespace Dike.Core.Test.Events.Bus.Factories.Internals
{
using Autofac.Extras.Moq;
using Shouldly;
using System.Diagnostics.CodeAnalysis;
using Xunit;
/// <summary>
/// Unit test for the <see cref="Core.Events.Bus.Factories.Internals.TransientEventHandlerFactory{THandler}"/> class.
/// </... | IngbertPalm/project.dike | test/Dike.Core.Test/Events/Bus/Factories/Internals/TransientEventHandlerFactoryTest.cs | https://github.com/IngbertPalm/project.dike/blob/HEAD/test/Dike.Core.Test/Events/Bus/Factories/Internals/TransientEventHandlerFactoryTest.cs | ghcode:00159:777df9e5b7a2 | mit | codeparrot/github-code | 777df9e5b7a246eea258a8c0019a37f43f3af7f1d7bfca31aa3b48c2c218befe | 0.7 | testing_debugging_repair_refactoring | 327 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using BTDB.KVDBLayer;
using NUnit.Framework;
namespace BTDBTest
{
[TestFixture, Ignore("Takes too long time")]
public class KeyValueDBCustomTest
{
[SetUp]
public void Initializati... | yonglehou/BTDB | BTDBTest/KeyValueDBCustomTest.cs | https://github.com/yonglehou/BTDB/blob/HEAD/BTDBTest/KeyValueDBCustomTest.cs | ghcode:00159:f474ad579e66 | mit | codeparrot/github-code | f474ad579e66ea438b863d3af9a5c6b6bbd45853b7306dd04883e36afb4b9a6e | 0.7 | testing_debugging_repair_refactoring | 2,400 | false | 2026-07-17 |
using System.Collections.Generic;
using Knapsack.Core;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Knapsack.Test
{
[TestClass]
public class VectorSetTests
{
/*
[TestMethod]
public void GivenEqualVectorSets_VectorSetEquals_ReturnsTrue()
{
//... | valya-smoryakova/bicriteria-knapsack | Knapsack.Test/VectorSetTests.cs | https://github.com/valya-smoryakova/bicriteria-knapsack/blob/HEAD/Knapsack.Test/VectorSetTests.cs | ghcode:00159:12cef63b8762 | mit | codeparrot/github-code | 12cef63b876205de38cd8278e3115d70fb8001022486b59054b4cccb83633efa | 0.85 | testing_debugging_repair_refactoring | 2,246 | false | 2026-07-17 |
using System.Collections.Generic;
using NUnit.Framework;
using Testura.Code.Builders;
using Testura.Code.Models;
using Testura.Code.Models.Properties;
namespace Testura.Code.Tests.Builders;
[TestFixture]
public class ClassBuilderTests
{
private ClassBuilder _classBuilder;
[SetUp]
public void SetUp()
... | Testura/Testura.Code | src/Testura.Code.Tests/Builders/ClassBuilderTests.cs | https://github.com/Testura/Testura.Code/blob/HEAD/src/Testura.Code.Tests/Builders/ClassBuilderTests.cs | ghcode:00159:a7e88a971d33 | mit | codeparrot/github-code | a7e88a971d33078a82ffe2ae45d735a7cc5bdb7bf88f15a093cc5a521fa2b868 | 0.75 | testing_debugging_repair_refactoring | 515 | false | 2026-07-17 |
using Liath.ViewRanger.Exceptions;
using Liath.ViewRanger.RequestBuilders;
using Liath.ViewRanger.Responses;
using Liath.ViewRanger.Tests.RequestBuilderTests.GetLastPositionRequestTests.RequestTests.SampleResponses;
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
us... | ardliath/viewranger | Liath.ViewRanger.Tests/RequestBuilderTests/GetLastPositionRequestTests/SuccessXmlDownloadedTests.cs | https://github.com/ardliath/viewranger/blob/HEAD/Liath.ViewRanger.Tests/RequestBuilderTests/GetLastPositionRequestTests/SuccessXmlDownloadedTests.cs | ghcode:00159:8805f5d12b00 | mit | codeparrot/github-code | 8805f5d12b00faf575225a1e719a374d67646eaed15522212a7ef3e6d2b433d6 | 0.85 | testing_debugging_repair_refactoring | 1,337 | false | 2026-07-17 |
using Xunit;
namespace Carbon.Data.Sql.Tests
{
public class TableInfoTests
{
[Fact]
public void Construct()
{
var table = new TableInfo("Media", new[] { new ColumnInfo("id", DataType.Parse("BIGINT")) }, flags: TableFlags.Temporary);
Asser... | Carbon/Data | Carbon.Sql.Tests/Models/TableInfoTests.cs | https://github.com/Carbon/Data/blob/HEAD/Carbon.Sql.Tests/Models/TableInfoTests.cs | ghcode:00159:1d7261b21735 | mit | codeparrot/github-code | 1d7261b217351e5dcd4c6b96d19519013ed2c488b4e0afff48cfccfcc2ccd95f | 0.75 | testing_debugging_repair_refactoring | 90 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace NPetrovichLite.Tests
{
[TestFixture(Category = "OpenCorpora")]
public sealed class OpencorporaTests
{
private Petrovich petrovich;
[OneTimeS... | mikhail-barg/petrovich-net-lite | src/NPetrovichLite.Tests/OpencorporaTests.cs | https://github.com/mikhail-barg/petrovich-net-lite/blob/HEAD/src/NPetrovichLite.Tests/OpencorporaTests.cs | ghcode:00159:e85f0a74923e | mit | codeparrot/github-code | e85f0a74923e06220a6b1fbfbe28451b0404f9d002b64ee813d5df2a8fea57b8 | 0.85 | testing_debugging_repair_refactoring | 450 | false | 2026-07-17 |
using NUnit.Framework;
namespace HaloEzAPI.Tests.HaloAPIServiceTests.MetaData.Halo5
{
[TestFixture]
public class GetCSRDesignationsTests : BaseHaloAPIServiceTests
{
[Test]
public void Default_DoesNotThrowException()
{
Assert.DoesNotThrow(async () => await HaloApiService.... | glitch100/Halo-API | HaloEzAPI.Tests/HaloAPIServiceTests/MetaData/Halo5/GetCSRDesignationsTests.cs | https://github.com/glitch100/Halo-API/blob/HEAD/HaloEzAPI.Tests/HaloAPIServiceTests/MetaData/Halo5/GetCSRDesignationsTests.cs | ghcode:00159:fd90c8030597 | mit | codeparrot/github-code | fd90c803059733f8dbc91af0454dd2ef00ea593021f87377847c17a6e3dffda0 | 0.75 | testing_debugging_repair_refactoring | 159 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IdDeprecatedEventTest.cs" company="Naos Project">
// Copyright (c) Naos Project 2019. All rights reserved.
// </copyright>
// --------------------------------------------------... | NaosProject/Naos.Database | Naos.Database.Domain.Test/Events/Classes/IdDeprecatedEventTest.cs | https://github.com/NaosProject/Naos.Database/blob/HEAD/Naos.Database.Domain.Test/Events/Classes/IdDeprecatedEventTest.cs | ghcode:00159:fdac80322975 | mit | codeparrot/github-code | fdac80322975fe0e54c2336dc9472c89f6d75d62ec74dcff3403fc44fdd921df | 0.7 | testing_debugging_repair_refactoring | 348 | false | 2026-07-17 |
using System;
using CryptKeeper.ReliabilityProofs.Lib;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CryptKeeper.Tests
{
public partial class SecretTests
{
[TestMethod]
public void SecretIsDestroyedOnOutOfMemoryExceptionForUseAsBytesFunc()
{
... | bkjuice/CryptKeeper | src/CryptKeeper.Tests/SecretTests.reliability.Func.cs | https://github.com/bkjuice/CryptKeeper/blob/HEAD/src/CryptKeeper.Tests/SecretTests.reliability.Func.cs | ghcode:00159:f68c46cffa25 | mit | codeparrot/github-code | f68c46cffa25e92ce171b60ad67716fbc4f06dd461947d37d544b7de5ee101ad | 0.6 | testing_debugging_repair_refactoring | 517 | false | 2026-07-17 |
#region Copyright (c) 2015 James Snape
// <copyright file="DbConnectionExtensionsFacts.cs" company="James Snape">
// The MIT License (MIT)
//
// Copyright (c) 2015 James Snape
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the ... | jsnape/annex | Annex.Core.Tests/DbConnectionExtensionsFacts.cs | https://github.com/jsnape/annex/blob/HEAD/Annex.Core.Tests/DbConnectionExtensionsFacts.cs | ghcode:00159:677c037dceab | mit | codeparrot/github-code | 677c037dceab864d8bd8ec3136e4efca620d2ffaf624af265daa433210373a71 | 0.7 | testing_debugging_repair_refactoring | 465 | false | 2026-07-17 |
using System;
using System.Data;
using System.Data.H2;
using System.Data.Common;
using System.Globalization;
using System.IO;
using System.Diagnostics;
namespace H2Examples
{
class MainClass
{
public static void Main (string[] args)
{
Console.WriteLine ("Hello World!");
var connection = new H2Connection... | actong/h2sharp | H2Sharp/H2Examples/Main.cs | https://github.com/actong/h2sharp/blob/HEAD/H2Sharp/H2Examples/Main.cs | ghcode:00159:bf6bbb4de4f9 | mit | codeparrot/github-code | bf6bbb4de4f901ab3fbc4a81afc538d118b9ff7618c6100fbde5ef6e4af66f20 | 0.7 | testing_debugging_repair_refactoring | 1,632 | false | 2026-07-17 |
// MIT License
//
// Copyright(c) 2022 ICARUS Consulting GmbH
//
// 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, cop... | icarus-consulting/Yaapii.Atoms | tests/Yaapii.Atoms.Tests/Enumerator/DistinctTest.cs | https://github.com/icarus-consulting/Yaapii.Atoms/blob/HEAD/tests/Yaapii.Atoms.Tests/Enumerator/DistinctTest.cs | ghcode:00159:c7054afff1c5 | mit | codeparrot/github-code | c7054afff1c59c9437facfc6ba74b2424ff485150f932cabeeec9af95661e7d9 | 0.85 | testing_debugging_repair_refactoring | 519 | false | 2026-07-17 |
using FizzWare.NBuilder.Implementation;
using FizzWare.NBuilder.Tests.TestClasses;
using Shouldly;
using Xunit;
namespace FizzWare.NBuilder.Tests.Unit
{
public class ReflectionUtilTests
{
private const decimal decimalArg = 2m;
private const string stringArg = "arg1";
... | nbuilder/nbuilder | tests/FizzWare.NBuilder.Tests/Unit/ReflectionUtilTests.cs | https://github.com/nbuilder/nbuilder/blob/HEAD/tests/FizzWare.NBuilder.Tests/Unit/ReflectionUtilTests.cs | ghcode:00159:938b4cdeddc6 | mit | codeparrot/github-code | 938b4cdeddc6aca0fdaf50d3b6f2c4c38a1587bfdfb7adcbed3f7deac26c3d7c | 0.75 | testing_debugging_repair_refactoring | 722 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SharperArchitecture.Common.Queries;
using SharperArchitecture.DataAccess.Specifications;
using SharperArchitecture.Tests.DataAccess.Entities;
namespace SharperArchitecture.Tests.DataAccess.Queries... | maca88/PowerArhitecture | Source/SharperArchitecture.Tests/SharperArchitecture.Tests.DataAccess/Queries/GetAllUsersQuery.cs | https://github.com/maca88/PowerArhitecture/blob/HEAD/Source/SharperArchitecture.Tests/SharperArchitecture.Tests.DataAccess/Queries/GetAllUsersQuery.cs | ghcode:00159:a7d10b04c8cc | mit | codeparrot/github-code | a7d10b04c8ccdba284c8c509c93246035edc07342b97847269ba75aa049e5775 | 0.75 | testing_debugging_repair_refactoring | 155 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Osu;
using osu.Game.Screens.Play.HUD;
namespace osu.Game.Tests.Visual.Use... | UselessToucan/osu | osu.Game.Tests/Visual/UserInterface/TestSceneModFlowDisplay.cs | https://github.com/UselessToucan/osu/blob/HEAD/osu.Game.Tests/Visual/UserInterface/TestSceneModFlowDisplay.cs | ghcode:00159:72b295ebde1c | mit | codeparrot/github-code | 72b295ebde1cf0e3ab47f8bf4fd5dae55f1bdea339cdfed3a760b3ee614c9381 | 0.75 | testing_debugging_repair_refactoring | 300 | false | 2026-07-17 |
namespace Poker.Tests
{
using System;
using System.Collections.Generic;
using NUnit.Framework;
[TestFixture]
public class PokerHandsCheckerTests
{
private IPokerHandsChecker handsChecker = new PokerHandsChecker();
// IsValidHand
[Test]
public void IsValidHand_W... | sguzunov/Telerik-Academy-2016-2017 | Unit-Testing/TDD/Poker.Tests/PokerHandsCheckerTests.cs | https://github.com/sguzunov/Telerik-Academy-2016-2017/blob/HEAD/Unit-Testing/TDD/Poker.Tests/PokerHandsCheckerTests.cs | ghcode:00159:5cc7787793d4 | mit | codeparrot/github-code | 5cc7787793d460f33d1daca0a316c20e4b456977f843fe183fbe277f7970d1a4 | 0.85 | testing_debugging_repair_refactoring | 4,824 | false | 2026-07-17 |
using System;
using System.Linq;
using Xunit;
namespace Dice.Abstractions
{
public class ProgramDescriptorTest
{
[Fact]
public void ConstructorInvokesBaseWithAllParameters()
{
const string expectedName = "Test Name";
const string expectedSummary = "T... | olegsych/dice | test/Dice.Abstractions.Tests/ProgramDescriptorTest.cs | https://github.com/olegsych/dice/blob/HEAD/test/Dice.Abstractions.Tests/ProgramDescriptorTest.cs | ghcode:00159:b04f5ed44857 | mit | codeparrot/github-code | b04f5ed448573432a56233e858ea937ff028288dc4819dc88681461e6083e907 | 0.6 | testing_debugging_repair_refactoring | 274 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="ReserveTest.cs" company="ShareKnowledge">
// Copyright (c) ShareKnowledge. All rights reserved.
// </copyright>
// <author>Alejandro Perdomo</author>
//---------------------------------------------------------------------... | Kathooloo/DesignPatternForTesters | csharp/DesignPatter.Testing.PageObjectPattern/AdvancePageObject/ReserveTest.cs | https://github.com/Kathooloo/DesignPatternForTesters/blob/HEAD/csharp/DesignPatter.Testing.PageObjectPattern/AdvancePageObject/ReserveTest.cs | ghcode:00159:802231bb0240 | mit | codeparrot/github-code | 802231bb0240c870f72fb935cde6e41841109953b17a66f507ef309b8d4824b5 | 0.7 | testing_debugging_repair_refactoring | 426 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using SR = System.Reflection;
using System.Runtime.CompilerServices;
using SquabPie.Mono.Cecil.Cil;
using NUnit.Framework;
namespace SquabPie.Mono.Cecil.Tests {
[TestFixture]
public class ImportCecilTests... | ttRevan/cecil | Test/Mono.Cecil.Tests/ImportCecilTests.cs | https://github.com/ttRevan/cecil/blob/HEAD/Test/Mono.Cecil.Tests/ImportCecilTests.cs | ghcode:00159:9025c075ba11 | mit | codeparrot/github-code | 9025c075ba117185de7012d8183ce43dcb76f067bc390a1ae81aaab485ef11bc | 0.85 | testing_debugging_repair_refactoring | 3,115 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using InstaNET;
using InstaNET.Response;
using InstaNET.Model;
using System.Collections.Generic;
using System.Linq;
namespace Tests
{
[TestClass]
public class Locations
{
[TestMethod]
public void GetLocation()
{
... | gokhangirgin/InstaNET | Tests/Locations.cs | https://github.com/gokhangirgin/InstaNET/blob/HEAD/Tests/Locations.cs | ghcode:00159:a1e249ec2278 | mit | codeparrot/github-code | a1e249ec22783d23ed7e6bc756c8f7d60d56fd6985ff92cf620952069a7f98c1 | 0.6 | testing_debugging_repair_refactoring | 314 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
using MGR.CommandLineParser;
using MGR.CommandLineParser.Command;
using MGR.CommandLineParser.Command.Lambda;
using MGR.CommandLineParser.Tests.Commands;
using Microsoft.Extensi... | mgrosperrin/commandlineparser | samples/SimpleApp/Tester.cs | https://github.com/mgrosperrin/commandlineparser/blob/HEAD/samples/SimpleApp/Tester.cs | ghcode:00159:6317f1db82e5 | mit | codeparrot/github-code | 6317f1db82e5ed40808f372929685ab2f9e3c22d66dbb3b1f0e3041f58011839 | 0.75 | testing_debugging_repair_refactoring | 742 | false | 2026-07-17 |
using NBitcoin.Protocol;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace NBitcoin.Tests
{
public class ChainTests
{
[Fact]
... | NicolasDorier/NBitcoin | NBitcoin.Tests/ChainTests.cs | https://github.com/NicolasDorier/NBitcoin/blob/HEAD/NBitcoin.Tests/ChainTests.cs | ghcode:00159:09f46a95ec32 | mit | codeparrot/github-code | 09f46a95ec3272f1830754e5a7d83206b08da6c4ad406d78a19ad140d7f63c9c | 0.85 | testing_debugging_repair_refactoring | 4,681 | false | 2026-07-17 |
using CoCSharp.Logic;
using CoCSharp.Logic.Commands;
using CoCSharp.Network;
using NUnit.Framework;
using System.IO;
namespace CoCSharp.Test.Network.Messages.Commands
{
[TestFixture]
public class BuyResourcesCommandTests
{
[Test]
public void TestBuyResourcesCommandDepth()
{
... | FICTURE7/CoCSharp | tests/Network/Messages/Commands/BuyResourcesCommandTests.cs | https://github.com/FICTURE7/CoCSharp/blob/HEAD/tests/Network/Messages/Commands/BuyResourcesCommandTests.cs | ghcode:00159:eeac66b3359e | mit | codeparrot/github-code | eeac66b3359e7288b4853e1d0da41c8d259345c364ddf05845c24214e634bcd7 | 0.75 | testing_debugging_repair_refactoring | 265 | false | 2026-07-17 |
using Pid = System.UInt32;
using IPage = Core.PgHdr;
using Core.IO;
using System;
using System.Diagnostics;
using System.Text;
namespace Core
{
public partial class Backup : IBackup
{
public Context DestCtx; // Destination database handle
public Btree Dest; // D... | BclEx/GpuEx | src/System.Data.net/Core+Vdbe/Backup.cs | https://github.com/BclEx/GpuEx/blob/HEAD/src/System.Data.net/Core+Vdbe/Backup.cs | ghcode:00159:1a09cf76c881 | mit | codeparrot/github-code | 1a09cf76c8811399be9b367e2cd9a54a240a9e88c4906dc3dd40ba7134815e20 | 0.85 | testing_debugging_repair_refactoring | 4,987 | false | 2026-07-17 |
using System;
using System.Collections.Immutable;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Yllibed.... | carldebilly/Yllibed.StreamMultiplexer | Yllibed.StreamMultiplexer.Tests/MultiplexerFixture.cs | https://github.com/carldebilly/Yllibed.StreamMultiplexer/blob/HEAD/Yllibed.StreamMultiplexer.Tests/MultiplexerFixture.cs | ghcode:00159:ff173840ac26 | mit | codeparrot/github-code | ff173840ac26e5debf3d228c37321eae0f51f780cbdcb8b25d99669c92319c55 | 0.7 | testing_debugging_repair_refactoring | 2,868 | false | 2026-07-17 |
namespace BalloonsPop.Tests
{
using System;
using Common.Enums;
using Common.Validators;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class CommandValidatorTests
{
[TestMethod]
[ExpectedException(typeof(ArgumentException))]
public void Com... | Baloons-Pop-3/Baloons-Pop-Three | Source/BalloonsPop.Tests/CommandValidatorTests.cs | https://github.com/Baloons-Pop-3/Baloons-Pop-Three/blob/HEAD/Source/BalloonsPop.Tests/CommandValidatorTests.cs | ghcode:00159:6f6cbe1d8073 | mit | codeparrot/github-code | 6f6cbe1d8073f6127da488a27aa61865f68305738fdd813f0abce0156d52172f | 0.75 | testing_debugging_repair_refactoring | 276 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using OnLineShop.Data.Models;
namespace OnLineShop.Data.Tests.CategoryTests
{
public class CategoryCollection_Should
{
[TestCase(17)]
[TestCase(26)]
public void VehicleModelsCollection_ShouldGetAndSetDataCorr... | dushka-dragoeva/OnLineShopMVC | OnLineShop/Tests/OnLineShop.Data.Tests/CategoryTests/CategoryCollection_Should.cs | https://github.com/dushka-dragoeva/OnLineShopMVC/blob/HEAD/OnLineShop/Tests/OnLineShop.Data.Tests/CategoryTests/CategoryCollection_Should.cs | ghcode:00159:e52a9729dfe2 | mit | codeparrot/github-code | e52a9729dfe2b8f0eadf9f10f395bfac6b5d0c80630fb5c10b1696ddfa51354f | 0.85 | testing_debugging_repair_refactoring | 141 | false | 2026-07-17 |
using Melanchall.DryWetMidi.Common;
using Melanchall.DryWetMidi.Core;
using Melanchall.DryWetMidi.Interaction;
using Melanchall.DryWetMidi.Tests.Utilities;
using NUnit.Framework;
namespace Melanchall.DryWetMidi.Tests.Interaction
{
[TestFixture]
public sealed class TimedEventTests
{
#region Nested ... | melanchall/drywetmidi | DryWetMidi.Tests/Interaction/TimedEvents/TimedEventTests.cs | https://github.com/melanchall/drywetmidi/blob/HEAD/DryWetMidi.Tests/Interaction/TimedEvents/TimedEventTests.cs | ghcode:00159:f2ce02e80690 | mit | codeparrot/github-code | f2ce02e80690d2127e2e78e0fc447d1f4b60f8fbe6238a635be54890189ff58f | 0.75 | testing_debugging_repair_refactoring | 901 | false | 2026-07-17 |
using JetBrains.ReSharper.FeaturesTestFramework.Intentions;
using JetBrains.ReSharper.TestFramework;
using NUnit.Framework;
using ReCommendedExtension.ContextActions.CodeContracts;
namespace ReCommendedExtension.Tests.ContextActions.CodeContracts.Elements
{
[TestNetFramework4]
[TestFixture]
public sealed c... | prodot/ReCommended-Extension | Sources/ReCommendedExtension.Tests/ContextActions/CodeContracts/Elements/FieldAvailabilityTests.cs | https://github.com/prodot/ReCommended-Extension/blob/HEAD/Sources/ReCommendedExtension.Tests/ContextActions/CodeContracts/Elements/FieldAvailabilityTests.cs | ghcode:00159:684bed9cf05d | apache-2.0 | codeparrot/github-code | 684bed9cf05d2697f3759c24402845a21e0858ebb0ad2a5f74ca612aaffdf5b3 | 0.75 | testing_debugging_repair_refactoring | 120 | false | 2026-07-17 |
/*
* Location Intelligence APIs
*
* Incorporate our extensive geodata into everyday applications, business processes and workflows.
*
* OpenAPI spec version: 8.5.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you m... | PitneyBowes/LocationIntelligenceSDK-CSharp | src/pb.locationIntelligence.Test/Model/SegmentationThemesTests.cs | https://github.com/PitneyBowes/LocationIntelligenceSDK-CSharp/blob/HEAD/src/pb.locationIntelligence.Test/Model/SegmentationThemesTests.cs | ghcode:00159:68bbc3bd84b7 | apache-2.0 | codeparrot/github-code | 68bbc3bd84b737cd6a50203c8f600b4319d018fb3db779af19217a66efebbeea | 0.85 | testing_debugging_repair_refactoring | 537 | false | 2026-07-17 |
using Lucene.Net.Codecs.MockIntBlock;
using Lucene.Net.Index;
using Lucene.Net.Util;
using NUnit.Framework;
namespace Lucene.Net.Codecs.IntBlock
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for a... | laimis/lucenenet | src/Lucene.Net.Tests.Codecs/IntBlock/TestFixedIntBlockPostingsFormat.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Codecs/IntBlock/TestFixedIntBlockPostingsFormat.cs | ghcode:00159:60ba59e622d5 | apache-2.0 | codeparrot/github-code | 60ba59e622d55dbe869c05663b7b6106acbc1cf6fa3241166eeb59e4d87035d5 | 0.85 | testing_debugging_repair_refactoring | 687 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ExpenseManager.ViewModel;
using ExpenseManager.Model;
using System.Collections.Generic;
using ExpenseManager.Persistence;
namespace Test.Function
{
/// <summary>
/// The test class for the income type functions
/// </summary>
[Tes... | askpt/ExpenseManager | Test/Function/IncomeTypeTest.cs | https://github.com/askpt/ExpenseManager/blob/HEAD/Test/Function/IncomeTypeTest.cs | ghcode:00159:5a3e769cd5bf | apache-2.0 | codeparrot/github-code | 5a3e769cd5bfd099ca0dadbc633b9005ad4846c3aecaf46a05c2f6d7bad94ad4 | 0.7 | testing_debugging_repair_refactoring | 203 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Cassandra.Mapping;
using Cassandra.Tasks;
using Cassandra.Tests.Mapping.Pocos;
using Cassandra.Tests.Mapping.TestData;
using Moq;
using NUnit.Framework;
namespace Cassandra.Tests.Mapping
{
public class InsertTests : MappingTestBase
{
... | mintsoft/csharp-driver | src/Cassandra.Tests/Mapping/InsertTests.cs | https://github.com/mintsoft/csharp-driver/blob/HEAD/src/Cassandra.Tests/Mapping/InsertTests.cs | ghcode:00159:71ac242936da | apache-2.0 | codeparrot/github-code | 71ac242936daf5d8c7a48746eaed49788be71ea5ba107b3308e0c2ff5bed791f | 0.85 | testing_debugging_repair_refactoring | 3,610 | false | 2026-07-17 |
using RolePlayCharacter;
using WellFormedNames;
using System.IO;
using System;
using KnowledgeBase;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using Conditions;
using SerializationUtilities;
using EmotionalAppraisal;
using EmotionalDecisionMaking;
using CommeillFaut;
using SocialImport... | GAIPS-INESC-ID/FAtiMA-Toolkit | Tests/Tests.RolePlayerCharacter/RPCAssetTests.cs | https://github.com/GAIPS-INESC-ID/FAtiMA-Toolkit/blob/HEAD/Tests/Tests.RolePlayerCharacter/RPCAssetTests.cs | ghcode:00159:90288ec84ab4 | apache-2.0 | codeparrot/github-code | 90288ec84ab4530f91cadb10998b617cce931fab05e55c0eb9b1401e251eb614 | 0.85 | testing_debugging_repair_refactoring | 9,838 | false | 2026-07-17 |
using System;
using System.Globalization;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Nortal.Utilities.TextTemplating.Tests
{
[TestClass]
public class FromattingTests
{
[TestInitialize]
public void Initialize()
{
this.Engine = new TemplateProcessingEngine();
this.Engine.F... | nortal/Utilities.TextTemplating | Tests/FromattingTests.cs | https://github.com/nortal/Utilities.TextTemplating/blob/HEAD/Tests/FromattingTests.cs | ghcode:00160:d306c92c9645 | apache-2.0 | codeparrot/github-code | d306c92c9645c2eeaaccfef6b3fafd35033caf1474f0dfad2402c96e6d17f032 | 0.75 | testing_debugging_repair_refactoring | 552 | false | 2026-07-17 |
/*
* Copyright (c) 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | GoogleCloudPlatform/dotnet-docs-samples | bigquery/api/SimpleApp/SimpleAppTest.cs | https://github.com/GoogleCloudPlatform/dotnet-docs-samples/blob/HEAD/bigquery/api/SimpleApp/SimpleAppTest.cs | ghcode:00160:ec53a0ba9832 | apache-2.0 | codeparrot/github-code | ec53a0ba9832a7f314f24ee22fe96e8de698f3243b2dd53a6311db1ee5d99a50 | 0.85 | testing_debugging_repair_refactoring | 283 | false | 2026-07-17 |
// Copyright (c) 2002-2019 "Neo4j,"
// Neo4j Sweden AB [http://neo4j.com]
//
// This file is part of Neo4j.
//
// 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... | ali-ince/neo4j-dotnet-driver | Neo4j.Driver/Neo4j.Driver.Tests/Routing/LeastConnectedLoadBalancingStrategyTests.cs | https://github.com/ali-ince/neo4j-dotnet-driver/blob/HEAD/Neo4j.Driver/Neo4j.Driver.Tests/Routing/LeastConnectedLoadBalancingStrategyTests.cs | ghcode:00160:71c67d8bab37 | apache-2.0 | codeparrot/github-code | 71c67d8bab37683d4e84dcfff4bc892dff7917f8e81166de2bdd28825e8efcf6 | 0.85 | testing_debugging_repair_refactoring | 1,894 | 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.... | ddobric/durabletask | test/DurableTask.Core.Tests/TestUtils.cs | https://github.com/ddobric/durabletask/blob/HEAD/test/DurableTask.Core.Tests/TestUtils.cs | ghcode:00160:9c145812c47f | apache-2.0 | codeparrot/github-code | 9c145812c47ff7666c44fce57ffd50552466660e091e8b9a9c6bdf35596333fe | 0.85 | testing_debugging_repair_refactoring | 232 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Nest.Tests.MockData;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
using System.Diagnostics;
using FluentAssertions;
namespace Nest.Tests.Integration.Reproduce
{
/// <summary>
/// tests to reproduce reported errors
/// </summary>
... | alanprot/elasticsearch-net | src/Tests/Nest.Tests.Integration/Reproduce/Reproduce325Tests.cs | https://github.com/alanprot/elasticsearch-net/blob/HEAD/src/Tests/Nest.Tests.Integration/Reproduce/Reproduce325Tests.cs | ghcode:00160:87516da94a62 | apache-2.0 | codeparrot/github-code | 87516da94a62db2576b3a295a0daa1da310e320144a6081d540e264a8b9914be | 0.95 | testing_debugging_repair_refactoring | 975 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Repsaj.Submerged.Infrastructure.BusinessLogic;
using System.Threading.Tasks;
using Autofac.Extras.Moq;
using Repsaj.Submerged.API.Tests.Helpers;
using System.Collections.Generic;
using Repsaj.Submerged.Common.DeviceSchema;
using Repsaj.Submerged.I... | jsiegmund/submerged | src/API/Repsaj.Submerged.API.Tests/UnitTests/DeviceLogicTests.cs | https://github.com/jsiegmund/submerged/blob/HEAD/src/API/Repsaj.Submerged.API.Tests/UnitTests/DeviceLogicTests.cs | ghcode:00160:8a372d8ef681 | apache-2.0 | codeparrot/github-code | 8a372d8ef681238a2ad7d22da3ed9c8f098e487af14f236d119e0caea87bd3ed | 0.85 | testing_debugging_repair_refactoring | 557 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Systran.GeographicClientLib.Api;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Systran.GeographicClientLib.Client;
using Systran.GeographicClientLib.Model;
using System.IO;
namespace S... | SYSTRAN/geographic-api-csharp-client | SystranClientGeographicApiLibTests/Api/InspirationsApiTests.cs | https://github.com/SYSTRAN/geographic-api-csharp-client/blob/HEAD/SystranClientGeographicApiLibTests/Api/InspirationsApiTests.cs | ghcode:00160:9a3761c91e5f | apache-2.0 | codeparrot/github-code | 9a3761c91e5fab69edc636269cb5368146cf19e624a5ef8d3c8d821f367cdb06 | 0.75 | testing_debugging_repair_refactoring | 719 | false | 2026-07-17 |
// ****************************************************************
// Copyright 2007, Charlie Poole
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org/?p=license&r=2.4
// ****************************************************************
using Sy... | vimaier/conqat | org.conqat.engine.dotnet/test-data/org.conqat.engine.dotnet.scope/NUnit_Folder/NUnitFramework/framework/TextMessageWriter.cs | https://github.com/vimaier/conqat/blob/HEAD/org.conqat.engine.dotnet/test-data/org.conqat.engine.dotnet.scope/NUnit_Folder/NUnitFramework/framework/TextMessageWriter.cs | ghcode:00160:c762796fac52 | apache-2.0 | codeparrot/github-code | c762796fac527f0fdb8c1bc9e518f49a985fe861381797b54fb8e4ae2ba6f1e4 | 0.85 | testing_debugging_repair_refactoring | 3,238 | false | 2026-07-17 |
using NExpect;
using NUnit.Framework;
using PeanutButter.TestUtils.Entity.Attributes;
using static PeanutButter.RandomGenerators.RandomValueGen;
using static NExpect.Expectations;
namespace PeanutButter.TestUtils.Entity.Tests
{
[TestFixture]
public class TestUseSharedTempDbAttribute
{
[Test]
... | fluffynuts/PeanutButter | source/TestUtils/PeanutButter.TestUtils.Entity.Tests/TestUseSharedTempDbAttribute.cs | https://github.com/fluffynuts/PeanutButter/blob/HEAD/source/TestUtils/PeanutButter.TestUtils.Entity.Tests/TestUseSharedTempDbAttribute.cs | ghcode:00160:6eb85d25af2b | bsd-3-clause | codeparrot/github-code | 6eb85d25af2bc78d587886a47f73c0da0cbe8190d5dedf7178975b554b0d776c | 0.85 | testing_debugging_repair_refactoring | 148 | false | 2026-07-17 |
#region license
// Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com)
// 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 abov... | alaendle/rhino-mocks | Rhino.Mocks.Tests/StubTest.cs | https://github.com/alaendle/rhino-mocks/blob/HEAD/Rhino.Mocks.Tests/StubTest.cs | ghcode:00160:fd37839a637e | bsd-3-clause | codeparrot/github-code | fd37839a637e42bd246e09f0be76d4f0a1ee291939e6e8155044bf3d547bac47 | 0.85 | testing_debugging_repair_refactoring | 1,072 | false | 2026-07-17 |
//using Microsoft.VisualStudio.TestTools.UnitTesting;
//using System.Threading.Tasks;
//using Thinktecture.IdentityServer.Core;
//using Thinktecture.IdentityServer.Core.Connect;
//using Thinktecture.IdentityServer.Core.Connect.Models;
//using Thinktecture.IdentityServer.Core.Connect.Services;
//using Thinktecture.Iden... | AscendXYZ/Thinktecture.IdentityServer.v3 | source/Tests/UnitTests/Validation Tests/Token Validation/AccessTokenValidation.cs | https://github.com/AscendXYZ/Thinktecture.IdentityServer.v3/blob/HEAD/source/Tests/UnitTests/Validation Tests/Token Validation/AccessTokenValidation.cs | ghcode:00160:b3f3ba00a663 | bsd-3-clause | codeparrot/github-code | b3f3ba00a663e2fd9c22e810a4fe5303e6fb9ca83c3bda97ffae3270d72f834d | 0.95 | testing_debugging_repair_refactoring | 315 | false | 2026-07-17 |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
#if !NO_PERF
using System;
using System.Reactive.Concurrency;
using System.Reactive.Disposables;
using System.Reflection;
using System.Threading;
//
// BREAKING CHANGE v2 > v1.x - From... | airbreather/RandomFireplace | External/Rx/Rx.NET/Source/System.Reactive.Linq/Reactive/Linq/Observable/FromEventPattern.cs | https://github.com/airbreather/RandomFireplace/blob/HEAD/External/Rx/Rx.NET/Source/System.Reactive.Linq/Reactive/Linq/Observable/FromEventPattern.cs | ghcode:00160:26d5e54181bb | bsd-3-clause | codeparrot/github-code | 26d5e54181bb63724bd1b13e87ea1af16440880ad40e838f9ea576a69f4271c9 | 0.85 | testing_debugging_repair_refactoring | 990 | false | 2026-07-17 |
namespace SqlStreamStore
{
using System;
using System.Collections.Concurrent;
using System.Threading.Tasks;
using SqlStreamStore.TestUtils.Postgres;
using Xunit;
using Xunit.Abstractions;
public class PostgresStreamStoreV3FixturePool : IAsyncLifetime
{
private readonly Concurre... | SQLStreamStore/SQLStreamStore | tests/SqlStreamStore.Postgres.Tests/PostgresStreamStoreFixturePool.cs | https://github.com/SQLStreamStore/SQLStreamStore/blob/HEAD/tests/SqlStreamStore.Postgres.Tests/PostgresStreamStoreFixturePool.cs | ghcode:00160:3a805a6fa23d | mit | codeparrot/github-code | 3a805a6fa23d8285950b45df27aa2f73178429771099c55c9adf58ea0e8be5e0 | 0.75 | testing_debugging_repair_refactoring | 322 | false | 2026-07-17 |
using System.Collections.ObjectModel;
using BlueMonkey.Usecases;
using Moq;
using Xunit;
namespace BlueMonkey.ViewModels.Tests
{
public class ExpenseSelectionPageViewModelTest
{
[Fact]
public void Constructor()
{
var editReport = new Mock<IEditReport>();
var exp... | ProjectBlueMonkey/BlueMonkey | client/BlueMonkey/BlueMonkey.ViewModels.Tests_/ExpenseSelectionPageViewModelTest.cs | https://github.com/ProjectBlueMonkey/BlueMonkey/blob/HEAD/client/BlueMonkey/BlueMonkey.ViewModels.Tests_/ExpenseSelectionPageViewModelTest.cs | ghcode:00160:403f3194d6bc | mit | codeparrot/github-code | 403f3194d6bca3a77b0a8a56a95e1a2e4d6a086d5d35f2ed6b2df08d67e8bf13 | 0.6 | testing_debugging_repair_refactoring | 210 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using NUnit.Framework;
using osu.Framework.Utils;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Osu.Objects;
u... | ppy/osu | osu.Game.Rulesets.Osu.Tests/OsuBeatmapConversionTest.cs | https://github.com/ppy/osu/blob/HEAD/osu.Game.Rulesets.Osu.Tests/OsuBeatmapConversionTest.cs | ghcode:00160:940a937a72df | mit | codeparrot/github-code | 940a937a72df60f90d131d1b95362cc5b473dc3f4866aecd490edd33c56daef9 | 0.85 | testing_debugging_repair_refactoring | 519 | false | 2026-07-17 |
namespace UnitTest
{
using System.Collections.Generic;
using System.IO;
using Bond;
using NUnit.Framework;
[TestFixture]
public class StructTests
{
[Test]
public void StructWithFields()
{
TestStruct<StructWithFields>();
}
[Test]
... | upsoft/bond | cs/test/core/Structs.cs | https://github.com/upsoft/bond/blob/HEAD/cs/test/core/Structs.cs | ghcode:00160:fe6c62834beb | mit | codeparrot/github-code | fe6c62834beb38b59e383408c532f68e2ff67d06486c9b34753efeaeac63a140 | 0.85 | testing_debugging_repair_refactoring | 1,275 | false | 2026-07-17 |
namespace Microsoft.ApplicationInsights.WindowsServer.Channel.Implementation
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class SamplingPercentageEstimatorSettingsTest
{
[TestMethod]
public void MaxTelemetryItemsPerSecondAdjustedIfSetToInco... | pharring/ApplicationInsights-dotnet | BASE/Test/ServerTelemetryChannel.Test/TelemetryChannel.Tests/Implementation/SamplingPercentageEstimatorSettingsTest.cs | https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/BASE/Test/ServerTelemetryChannel.Test/TelemetryChannel.Tests/Implementation/SamplingPercentageEstimatorSettingsTest.cs | ghcode:00160:1b50a0290b5c | mit | codeparrot/github-code | 1b50a0290b5cae43fdab3f790d639718c78566b10622cc4967cb3a4d9af8bd84 | 0.85 | testing_debugging_repair_refactoring | 521 | false | 2026-07-17 |
using Destrier.Redis.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Destrier.Redis.Test
{
public class RedisClient_Tests : RedisBaseTest
{
[Fact]
public void Connect_Test()
{
u... | ClothesHorse/Destrier | Destrier.Redis.Test/RedisClient_Tests.cs | https://github.com/ClothesHorse/Destrier/blob/HEAD/Destrier.Redis.Test/RedisClient_Tests.cs | ghcode:00160:dc0ed05d7b7d | mit | codeparrot/github-code | dc0ed05d7b7d9df355111c3402d12d1deae8b122d23802375943899dc5b5beee | 0.85 | testing_debugging_repair_refactoring | 901 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Threading;
using NUnit.Framework;
using UnityEngine;
using NSubstitute;
using System.Reflection;
namespace UnityTest
{
[TestFixture]
[Category("Damage Dealer Test")]
internal class DamageDealerTest
{
private UnityScriptTestHelper testHelper = new U... | stlgamedev/gateway2dwest | Assets/Tests/Unit/Editor/DamageDealerTest.cs | https://github.com/stlgamedev/gateway2dwest/blob/HEAD/Assets/Tests/Unit/Editor/DamageDealerTest.cs | ghcode:00160:4b8fbdb1f9e2 | apache-2.0 | codeparrot/github-code | 4b8fbdb1f9e2f8303f95ee621b7f8c6bf4260d8abe66cb42d053e6fe7c5bb3f1 | 0.95 | testing_debugging_repair_refactoring | 1,198 | false | 2026-07-17 |
using System;
using Akka.Actor;
using GridDomain.Common;
using GridDomain.Node;
using GridDomain.Scheduling;
using GridDomain.Scheduling.Akka;
using GridDomain.Scheduling.Akka.Messages;
using GridDomain.Scheduling.Quartz;
using GridDomain.Scheduling.Quartz.Retry;
using GridDomain.Tests.Unit.FutureEvents.Infrastructure;... | linkelf/GridDomain | GridDomain.Tests.Unit/FutureEvents/Retry/FutureEvent_regular_Reraise.cs | https://github.com/linkelf/GridDomain/blob/HEAD/GridDomain.Tests.Unit/FutureEvents/Retry/FutureEvent_regular_Reraise.cs | ghcode:00160:003294e8d081 | apache-2.0 | codeparrot/github-code | 003294e8d081d8df38b14d11de014d24a41c8a1853773b9666dcca408dd88429 | 0.75 | testing_debugging_repair_refactoring | 345 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Nest;
using Tests.Framework.Integration;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Tests.Framework.MockData;
namespace Tests.QueryDsl.Joining.SpanOr
{
public class SpanOrUsageTests : QueryDslUsageTestsBase
{
public SpanOrUsageTests(ReadOn... | CSGOpenSource/elasticsearch-net | src/Tests/QueryDsl/Span/Or/SpanOrQueryUsageTests.cs | https://github.com/CSGOpenSource/elasticsearch-net/blob/HEAD/src/Tests/QueryDsl/Span/Or/SpanOrQueryUsageTests.cs | ghcode:00160:96448048ed4e | apache-2.0 | codeparrot/github-code | 96448048ed4e78043526ff530bf010099c9b20f48fffeb1ed4464ed6109933c3 | 0.85 | testing_debugging_repair_refactoring | 517 | 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... | agura/incubator-ignite | modules/platforms/dotnet/Apache.Ignite.Core/Impl/Common/IgniteConfigurationXmlSerializer.cs | https://github.com/agura/incubator-ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Common/IgniteConfigurationXmlSerializer.cs | ghcode:00160:a6b929a22ac3 | apache-2.0 | codeparrot/github-code | a6b929a22ac3291a7be0254edb443a971434eb4e259a5b5a47f7d472ea0a2283 | 0.7 | testing_debugging_repair_refactoring | 2,780 | false | 2026-07-17 |
using Lucene.Net.Analysis.Core;
using Lucene.Net.Analysis.Miscellaneous;
using Lucene.Net.Analysis.Util;
using NUnit.Framework;
using System.IO;
namespace Lucene.Net.Analysis.En
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE fi... | jeme/lucenenet | src/Lucene.Net.Tests.Analysis.Common/Analysis/En/TestPorterStemFilter.cs | https://github.com/jeme/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Analysis.Common/Analysis/En/TestPorterStemFilter.cs | ghcode:00160:f02b477d7b16 | apache-2.0 | codeparrot/github-code | f02b477d7b165242ee3b517b0519fd04adca10ecde0446923a8e548818ea3302 | 0.85 | testing_debugging_repair_refactoring | 639 | false | 2026-07-17 |
using NUnit.Framework;
namespace ProtoTest
{
[TestFixture]
public class ProtoScriptTest
{
[SetUp]
public void Setup()
{
}
[Test]
public void BasicInfrastructureTest()
{
ProtoCore.Core core = new ProtoCore.Core(new ProtoCore.O... | samuto/designscript | Tests/ProtoTest/ProtoScriptTest.cs | https://github.com/samuto/designscript/blob/HEAD/Tests/ProtoTest/ProtoScriptTest.cs | ghcode:00160:7e5fd287d769 | apache-2.0 | codeparrot/github-code | 7e5fd287d769c95aa6f1f7e8e656a5d0ca91c3dc93eff104c5984e5febb8dc01 | 0.85 | testing_debugging_repair_refactoring | 739 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using AspNet.Security.OpenIdConnect.Extensions;
using AspNet.Security.OpenIdConnect.Primitives;
using Microsoft.AspNetCore.Authenti... | OrchardCMS/Brochard | src/OrchardCore.Modules/OrchardCore.OpenId/Controllers/AccessController.cs | https://github.com/OrchardCMS/Brochard/blob/HEAD/src/OrchardCore.Modules/OrchardCore.OpenId/Controllers/AccessController.cs | ghcode:00160:37d3e9110531 | bsd-3-clause | codeparrot/github-code | 37d3e911053168a444c20babee34a2addb7a70b3add7f1aa46ecaf40e512b17b | 0.85 | testing_debugging_repair_refactoring | 4,788 | false | 2026-07-17 |
// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace ApplicationGateway
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using System.Collections;
using System.Collection... | vishrutshah/autorest | Samples/test/end-to-end/network/Client/ISubnetsOperations.cs | https://github.com/vishrutshah/autorest/blob/HEAD/Samples/test/end-to-end/network/Client/ISubnetsOperations.cs | ghcode:00160:605552ce4f86 | mit | codeparrot/github-code | 605552ce4f8609d85d482d327c57634868f31ff17220793767ddd00c70ddacf6 | 0.95 | testing_debugging_repair_refactoring | 1,913 | false | 2026-07-17 |
using Cake.Core.Tests.Fixtures;
using NSubstitute;
using Xunit;
namespace Cake.Core.Tests.Unit.Scripting
{
public sealed class ScriptHostTests
{
public sealed class TheConstructor
{
[Fact]
public void Should_Throw_If_Engine_Is_Null()
{
// Giv... | os-alan/cake | src/Cake.Core.Tests/Unit/Scripting/ScriptHostTests.cs | https://github.com/os-alan/cake/blob/HEAD/src/Cake.Core.Tests/Unit/Scripting/ScriptHostTests.cs | ghcode:00160:a6a945a80085 | mit | codeparrot/github-code | a6a945a80085a681c04f9ab2366a392f5d0dc3e8c6b825108e05516ba57c7a6b | 0.85 | testing_debugging_repair_refactoring | 276 | false | 2026-07-17 |
////////////////////////////////////////////////////////////////////////////////////////
// The MIT License (MIT)
//
// Copyright (c) 2014 Paul Louth
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// ... | louthy/csharp-monad | CSharpMonad.UnitTests/src/MLTests.cs | https://github.com/louthy/csharp-monad/blob/HEAD/CSharpMonad.UnitTests/src/MLTests.cs | ghcode:00160:e892022c5345 | mit | codeparrot/github-code | e892022c53450d5877c024c6179941599c0823929ae2d2fbd8cb4565c210a013 | 0.95 | testing_debugging_repair_refactoring | 1,690 | false | 2026-07-17 |
using System;
using Cauldron.Activator;
using Cauldron.XAML.ViewModels;
using PropertyChanged;
using Cauldron.Core;
using Cauldron.XAML;
#if WINDOWS_UWP
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
#else
using Microsoft.VisualStudio.TestTools.UnitTesting;
#endif
namespace Cauldron.Test
{
publ... | reflection-emit/Cauldron | Old/Shared/Unit Tests/Cauldron.XAML.Test/ViewModelTest.cs | https://github.com/reflection-emit/Cauldron/blob/HEAD/Old/Shared/Unit Tests/Cauldron.XAML.Test/ViewModelTest.cs | ghcode:00160:509c7952c992 | mit | codeparrot/github-code | 509c7952c99268cdfc4ff21f562babe78d68d1e9823137ea334b668d28be3e3f | 0.85 | testing_debugging_repair_refactoring | 1,433 | false | 2026-07-17 |
// ****************************************************************
// Copyright 2007, Charlie Poole
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org/?p=license&r=2.4
// ****************************************************************
using Sy... | vimaier/conqat | org.conqat.engine.dotnet/test-data/org.conqat.engine.dotnet.scope/NUnit_Folder/NUnitFramework/framework/IExpectException.cs | https://github.com/vimaier/conqat/blob/HEAD/org.conqat.engine.dotnet/test-data/org.conqat.engine.dotnet.scope/NUnit_Folder/NUnitFramework/framework/IExpectException.cs | ghcode:00160:46accaa90139 | apache-2.0 | codeparrot/github-code | 46accaa90139a56d6829af62168504ebd33ee122c3b950652dd90ef946f87594 | 0.85 | testing_debugging_repair_refactoring | 169 | 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... | devigned/azure-powershell | src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs | https://github.com/devigned/azure-powershell/blob/HEAD/src/ResourceManager/HDInsight/Commands.HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs | ghcode:00160:62cc91c12604 | apache-2.0 | codeparrot/github-code | 62cc91c12604db660425c10e3e7e76647da6a8fe224c420a7995d1ca6ecf6d07 | 0.85 | testing_debugging_repair_refactoring | 4,216 | false | 2026-07-17 |
using System.Linq;
using LibGit2Sharp.Tests.TestHelpers;
using Xunit;
using System;
namespace LibGit2Sharp.Tests
{
public class DescribeFixture : BaseFixture
{
[Fact]
public void CanDescribeACommit()
{
string path = SandboxBareTestRepo();
using (var repo = new Re... | PKRoma/libgit2sharp | LibGit2Sharp.Tests/DescribeFixture.cs | https://github.com/PKRoma/libgit2sharp/blob/HEAD/LibGit2Sharp.Tests/DescribeFixture.cs | ghcode:00160:8f32be5e504a | mit | codeparrot/github-code | 8f32be5e504ab380b47dd265354075240330b40e924242736163e8e9f7d38ebf | 0.7 | testing_debugging_repair_refactoring | 903 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Microsoft.FSharp.Core;
using FSharpx;
namespace FSharpx.CSharpTests {
[TestFixture]
public class EnumerableTests {
[Test]
public void FirstOrNone_None() {
var a = new int[0];
Assert.AreEqual(FSharpOption<int>.None, a.FirstOrNon... | sideeffffect/FSharpx.Extras | tests/FSharpx.CSharpTests/EnumerableTests.cs | https://github.com/sideeffffect/FSharpx.Extras/blob/HEAD/tests/FSharpx.CSharpTests/EnumerableTests.cs | ghcode:00160:6147b1a2beab | unlicense | codeparrot/github-code | 6147b1a2beab32db9cf2a880983b62ea8a15aa501f6af2779d73a9216ce599e0 | 0.68 | testing_debugging_repair_refactoring | 120 | false | 2026-07-17 |
using System.Diagnostics;
namespace Lucene.Net.Codecs
{
using Lucene.Net.Index;
using BytesRef = Lucene.Net.Util.BytesRef;
using DocIdSetIterator = Lucene.Net.Search.DocIdSetIterator;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreem... | jpsullivan/lucenenet | src/Lucene.Net.Core/Codecs/PostingsConsumer.cs | https://github.com/jpsullivan/lucenenet/blob/HEAD/src/Lucene.Net.Core/Codecs/PostingsConsumer.cs | ghcode:00160:a468ad1d0089 | apache-2.0 | codeparrot/github-code | a468ad1d00897a17769377689060625529a46895b8529983c6cb0b4632094430 | 0.85 | testing_debugging_repair_refactoring | 1,402 | 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 ... | NSAmelchev/ignite | modules/platforms/dotnet/Apache.Ignite.Core/Impl/Client/Services/ServicesClient.cs | https://github.com/NSAmelchev/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Client/Services/ServicesClient.cs | ghcode:00160:aaa7626b034f | apache-2.0 | codeparrot/github-code | aaa7626b034f681fd9d8bec71bf6121ba2af2b8026681ce07e0018361e06f8cd | 0.85 | testing_debugging_repair_refactoring | 1,355 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Management.Automation.Language;
using Xunit;
namespace PSTests.Parallel
{
public static class PSEnumerableBinderTests
{
[Fact]
public static void TestIsStaticTypePossiblyEnumerable()
{... | JamesWTruher/PowerShell-1 | test/xUnit/csharp/test_Binders.cs | https://github.com/JamesWTruher/PowerShell-1/blob/HEAD/test/xUnit/csharp/test_Binders.cs | ghcode:00160:62b95479f93f | mit | codeparrot/github-code | 62b95479f93fb9b081fcb4ece0d00d0785a54e268b4d38a0166aaf6e60813c7f | 0.85 | testing_debugging_repair_refactoring | 98 | false | 2026-07-17 |
using System.Linq;
using NUnit.Framework;
using VisualRust.Shared.Message;
namespace VisualRust.Test.Build
{
class RustcMessageJsonParserTest
{
[Test]
public void WithoutError()
{
const string output = "";
var messages = RustcMessageJsonParser.Parse(output).ToLi... | PistonDevelopers/VisualRust | src/VisualRust.Test/Shared/RustcMessageJsonParserTest.cs | https://github.com/PistonDevelopers/VisualRust/blob/HEAD/src/VisualRust.Test/Shared/RustcMessageJsonParserTest.cs | ghcode:00160:ffa90f7658af | mit | codeparrot/github-code | ffa90f7658afd045da5a3caa1418ca8dfcaab968d8f58331d0502c61f1aa22b3 | 0.6 | testing_debugging_repair_refactoring | 580 | false | 2026-07-17 |
// Copyright 2017 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | googleapis/google-cloud-dotnet | tools/Google.Cloud.Tools.Analyzers.Tests/DefaultLiteralTest.cs | https://github.com/googleapis/google-cloud-dotnet/blob/HEAD/tools/Google.Cloud.Tools.Analyzers.Tests/DefaultLiteralTest.cs | ghcode:00160:a6938099e9d3 | apache-2.0 | codeparrot/github-code | a6938099e9d322e9ec136cdca097baaebec9eb0ee0829079b44bbb6e2384d239 | 0.85 | testing_debugging_repair_refactoring | 796 | 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 ... | mhansonp/geode-native | tests/cli/DUnitFramework/TimeBomb.cs | https://github.com/mhansonp/geode-native/blob/HEAD/tests/cli/DUnitFramework/TimeBomb.cs | ghcode:00160:d70b6b76c54b | apache-2.0 | codeparrot/github-code | d70b6b76c54babc158cbb10d1b457c263f0eb3ba7102befa7872ac551182e988 | 0.75 | testing_debugging_repair_refactoring | 1,189 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Emit;
using Microsoft.CodeAnalysis.CSharp.Symbols.Metadata.PE;
using Microsoft.CodeAnaly... | DavidKarlas/roslyn | src/Compilers/CSharp/Test/Symbol/Symbols/Source/PropertyTests.cs | https://github.com/DavidKarlas/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Symbol/Symbols/Source/PropertyTests.cs | ghcode:00160:f1b05a90b3d2 | apache-2.0 | codeparrot/github-code | f1b05a90b3d2999e7301054621afa12d78ba437fbaddcc1f82fac4f5fb54cb9c | 0.82 | testing_debugging_repair_refactoring | 24,732 | false | 2026-07-17 |
using System.Linq;
using System.Reflection;
using FluentAssertions;
using Nest;
using Tests.Framework;
namespace Tests.Aggregations
{
public class AggregationVisitorTests
{
[U]
public void VisitMethodForEachTypeOfAggregation()
{
var aggregationTypes =
from t in typeof(IAggregation).Assembly().Typ... | CSGOpenSource/elasticsearch-net | src/Tests/Aggregations/AggregationVisitorTests.cs | https://github.com/CSGOpenSource/elasticsearch-net/blob/HEAD/src/Tests/Aggregations/AggregationVisitorTests.cs | ghcode:00160:2e21983eab47 | apache-2.0 | codeparrot/github-code | 2e21983eab4740dcc9cca3d1736fc6eb29eac6ca79d195ee36708df3226c0e2b | 0.85 | testing_debugging_repair_refactoring | 179 | false | 2026-07-17 |
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
namespace System.Text
{
using System;
using System.Collections;
////using System.Runtime.Remoting;
using System.Runtime.Serialization;
using System.Globalization;
using System.Security.Permissions;
... | smaillet-ms/llilum | Zelig/Zelig/RunTime/Framework/mscorlib/System/Text/Encoding.cs | https://github.com/smaillet-ms/llilum/blob/HEAD/Zelig/Zelig/RunTime/Framework/mscorlib/System/Text/Encoding.cs | ghcode:00160:3e486fda3f16 | mit | codeparrot/github-code | 3e486fda3f16f511af9efa415e5a75541941ce9c7dfca71c6995ac89dd725b8e | 0.72 | testing_debugging_repair_refactoring | 17,871 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace OpenQA.Selenium.Support.PageObjects
{
[TestFixture]
public class FindsByAttributeTests
{
[Test]
public void TestEquality()
{
FindsByAttri... | winhamwr/selenium | dotnet/test/WebDriver.Support.Tests/PageObjects/FindsByAttributeTests.cs | https://github.com/winhamwr/selenium/blob/HEAD/dotnet/test/WebDriver.Support.Tests/PageObjects/FindsByAttributeTests.cs | ghcode:00160:4bd44a16086a | apache-2.0 | codeparrot/github-code | 4bd44a16086aa08a2dcd3b526a7e9bb235bec592fe9604278e9314a7eeddef0a | 0.85 | testing_debugging_repair_refactoring | 733 | 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... | ClogenyTechnologies/azure-powershell | src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/ChefExtensionTests.cs | https://github.com/ClogenyTechnologies/azure-powershell/blob/HEAD/src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/ChefExtensionTests.cs | ghcode:00160:73f26924673b | apache-2.0 | codeparrot/github-code | 73f26924673b27eb3bbd6f6ed2544bc1c17a1ee000d87c4470094b0793ae80bc | 0.85 | testing_debugging_repair_refactoring | 306 | 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.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbol... | sharadagrawal/Roslyn | src/Compilers/CSharp/Portable/Binder/Semantics/OverloadResolution/MethodTypeInference.cs | https://github.com/sharadagrawal/Roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Binder/Semantics/OverloadResolution/MethodTypeInference.cs | ghcode:00160:10ab1a90f9bd | apache-2.0 | codeparrot/github-code | 10ab1a90f9bdfc4dfecef7d8527003e99cd466022c0ae388c4033b4a752113a6 | 0.72 | testing_debugging_repair_refactoring | 21,680 | 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.
//-----------------------------------------------------------------------
// </copyright>
// <summary>Tests for editing through the construction model.</summary>
//-----... | Hyrtwol/msbuild | src/XMakeBuildEngine/UnitTestsPublicOM/Construction/ConstructionEditing_Tests.cs | https://github.com/Hyrtwol/msbuild/blob/HEAD/src/XMakeBuildEngine/UnitTestsPublicOM/Construction/ConstructionEditing_Tests.cs | ghcode:00160:d4dabda07362 | mit | codeparrot/github-code | d4dabda0736244b3756e5d7c9cfadd646259074171344e1560c1be8051a21525 | 0.72 | testing_debugging_repair_refactoring | 19,342 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
using Microsoft.Azure.Management.ApiManagement;
using Microsoft.Azure.Management.ApiManagement.Models;
using Microsoft.Azure.Management.ResourceManager;
u... | SiddharthChatrolaMs/azure-sdk-for-net | src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/CreateInsideVirtualNetworkTests.cs | https://github.com/SiddharthChatrolaMs/azure-sdk-for-net/blob/HEAD/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/CreateInsideVirtualNetworkTests.cs | ghcode:00160:4f4a6079432a | apache-2.0 | codeparrot/github-code | 4f4a6079432aa2e387e25f6924fc26d8b90dc914cf051bbea599fc419e6fd8ae | 0.85 | testing_debugging_repair_refactoring | 797 | 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.Runtime.ConstrainedExecution;
using System.Runtime.Serialization;
namespace ... | ptoonen/corefx | src/System.Threading/src/System/Threading/ReaderWriterLock.cs | https://github.com/ptoonen/corefx/blob/HEAD/src/System.Threading/src/System/Threading/ReaderWriterLock.cs | ghcode:00160:aa874cd85ad4 | mit | codeparrot/github-code | aa874cd85ad459365120eb29e65451e1abf4608799b792e57a432186912ee100 | 0.82 | testing_debugging_repair_refactoring | 10,874 | false | 2026-07-17 |
namespace Nancy.Tests.Unit.Routing
{
using System;
using Nancy.Routing;
using Xunit;
public class DefaultRoutePatternMatcherFixture
{
private readonly DefaultRoutePatternMatcher matcher;
public DefaultRoutePatternMatcherFixture()
{
this.matcher =... | sloncho/Nancy | test/Nancy.Tests/Unit/Routing/DefaultRoutePatternMatcherFixture.cs | https://github.com/sloncho/Nancy/blob/HEAD/test/Nancy.Tests/Unit/Routing/DefaultRoutePatternMatcherFixture.cs | ghcode:00160:541728d1c2c7 | mit | codeparrot/github-code | 541728d1c2c7b719c4ed8fbe1dedee48987373f7d629e8174507939eefe7e42c | 0.85 | testing_debugging_repair_refactoring | 2,941 | 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.Linq;
using System.Net;
using Microsoft.Azure.Management.DataLake.Analytics;
using Microsoft.Azure.Management.DataLake.Analytics.Models... | stankovski/azure-sdk-for-net | sdk/datalake-analytics/Microsoft.Azure.Management.DataLake.Analytics/tests/ScenarioTests/CatalogOperationTests.cs | https://github.com/stankovski/azure-sdk-for-net/blob/HEAD/sdk/datalake-analytics/Microsoft.Azure.Management.DataLake.Analytics/tests/ScenarioTests/CatalogOperationTests.cs | ghcode:00160:4693d91707fe | apache-2.0 | codeparrot/github-code | 4693d91707fe9dac8cfe36ae22d6c34f8f03a5f9e9b3534a943cf172e11fad47 | 0.95 | testing_debugging_repair_refactoring | 4,064 | false | 2026-07-17 |
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt.
using System.IO;
using NUnit.Framework;
namespace FunctionalTests
{
[TestFixture]
public class TreeListEditorTests : TestBase
{
protected override string GetAppName()
{
return "TreeListEditor";
... | jethac/ATF | Test/FunctionalTests/TreeListEditorTests.cs | https://github.com/jethac/ATF/blob/HEAD/Test/FunctionalTests/TreeListEditorTests.cs | ghcode:00160:73de7dba689e | apache-2.0 | codeparrot/github-code | 73de7dba689ebf13ada2a9c2ed699d226f914078aea7826670b7f169004adf79 | 0.75 | testing_debugging_repair_refactoring | 121 | false | 2026-07-17 |
// Copyright 2014 Serilog Contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ... | Jaben/serilog | test/Serilog.Tests/Events/LogEventPropertyValueTests.cs | https://github.com/Jaben/serilog/blob/HEAD/test/Serilog.Tests/Events/LogEventPropertyValueTests.cs | ghcode:00160:a2b4307f4a46 | apache-2.0 | codeparrot/github-code | a2b4307f4a46c8098708436c1117c7af99acfd72f9d5339fc6c7b06bf1e12de5 | 0.85 | testing_debugging_repair_refactoring | 569 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.