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 SeeGit;
using Xunit;
namespace UnitTests.Models
{
public class CommitVertexTests
{
public class TheCtor
{
[Fact]
public void SetsProperties()
{
var commit = new CommitVertex("shasha", "commit message");
Assert.Equal("sh... | Haacked/SeeGit | UnitTests/Models/CommitVertexTests.cs | https://github.com/Haacked/SeeGit/blob/HEAD/UnitTests/Models/CommitVertexTests.cs | ghcode:00160:52035cc9829c | mit | codeparrot/github-code | 52035cc9829c82838245aa97f598fcebdc907044951eee6f0d22e3a0ba66c3aa | 0.75 | testing_debugging_repair_refactoring | 548 | 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.Framework.Graphics.Containers;
using osu.Framework.Timing;
using osu.Game.Screens.Play;... | ZLima12/osu | osu.Game.Tests/Visual/Gameplay/TestSceneSkipOverlay.cs | https://github.com/ZLima12/osu/blob/HEAD/osu.Game.Tests/Visual/Gameplay/TestSceneSkipOverlay.cs | ghcode:00160:e41d3de5c96c | mit | codeparrot/github-code | e41d3de5c96cf450e2c8ff15701316b7a1d58f3fb04f9afaab94bb26ed2ee3eb | 0.75 | testing_debugging_repair_refactoring | 699 | false | 2026-07-17 |
using NFig.Tests.Common;
using NUnit.Framework;
using SettingsBase = NFig.Tests.Common.SettingsBase;
namespace NFig.Tests.FactoryTests
{
[TestFixture]
public class NestedSettingsTests
{
[Test]
public void NestedSettingsTest()
{
var factory = Utils.CreateFactory<NestedSe... | NFig/NFig | NFig.Tests/FactoryTests/NestedSettingsTests.cs | https://github.com/NFig/NFig/blob/HEAD/NFig.Tests/FactoryTests/NestedSettingsTests.cs | ghcode:00160:9931b4a232d5 | mit | codeparrot/github-code | 9931b4a232d5d1623d98f82d7774413fd42ba2a7cbed6fde1001ff54f7e7d2ad | 0.75 | testing_debugging_repair_refactoring | 228 | false | 2026-07-17 |
using System.Collections.Generic;
using Miningcore.Configuration;
namespace Miningcore.Tests;
public abstract class TestBase
{
protected Dictionary<string, CoinTemplate> coinTemplates;
protected TestBase()
{
ModuleInitializer.Initialize();
}
}
| coinfoundry/miningcore | src/Miningcore.Tests/TestBase.cs | https://github.com/coinfoundry/miningcore/blob/HEAD/src/Miningcore.Tests/TestBase.cs | ghcode:00160:a7c54d388323 | mit | codeparrot/github-code | a7c54d3883231cc4d2f10bedbdeb2e3acf5ae38f3b4bb1f66d07744b290930f7 | 0.75 | testing_debugging_repair_refactoring | 48 | false | 2026-07-17 |
using System.Collections.Generic;
using NUnit.Framework;
namespace FastRT.Tests
{
[TestFixture]
class TestObjectFactoryBehaviour
{
[Test]
public void ShouldCreateObjects()
{
IObjectFactory of = typeof(TestGenA).MakeObjectFactory();
Assert.That(... | smax48/fast-rt-helpers | FastRT.Tests/TestObjectFactoryBehaviour.cs | https://github.com/smax48/fast-rt-helpers/blob/HEAD/FastRT.Tests/TestObjectFactoryBehaviour.cs | ghcode:00160:5b4879890c8c | mit | codeparrot/github-code | 5b4879890c8c267ae0ed9a7b9c6e0968123ce919ddbdf1ee2ed248a652f9fa74 | 0.75 | testing_debugging_repair_refactoring | 259 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _2.IEnumerable_Extensions
{
class TestExtension
{
public static void Main()
{
List<double> collection = new List<double> { 3, 5, 3, 43, 34.5, 324.6, 34.6, 6.3, 435, 5.6, 5.4, 3.7878, 3.3... | GeorgiMateev/telerik-academy | 19-Extension-Methods-And-LINQ/2.IEnumerable-Extensions/TestExtension.cs | https://github.com/GeorgiMateev/telerik-academy/blob/HEAD/19-Extension-Methods-And-LINQ/2.IEnumerable-Extensions/TestExtension.cs | ghcode:00160:7eacbcb3064a | mit | codeparrot/github-code | 7eacbcb3064a9e97312975b5a171d7303e4fdb3a97c5dfda49bf61706b4b14c9 | 0.75 | testing_debugging_repair_refactoring | 235 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Mono.Cecil;
using Spinner.Aspects;
using Spinner.Fody.Multicasting;
namespace Spinner.Fody.Weaving
{
/// <summary>
/// Creates an AspectInfo by examining the members of a type.
/// </summary>
internal st... | Inverness/Spinner | Spinner.Fody/Weaving/AspectInfoFactory.cs | https://github.com/Inverness/Spinner/blob/HEAD/Spinner.Fody/Weaving/AspectInfoFactory.cs | ghcode:00160:dd84bc253bde | mit | codeparrot/github-code | dd84bc253bdea2aa986296258953a1bf8b5252137a0c02d4907fdde6e2ab4e02 | 0.85 | testing_debugging_repair_refactoring | 1,799 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using TourDeFrance.Client.Enums;
using TourDeFrance.Core.Business.Database;
using TourDeFrance.Core.Exceptions;
using TourDeFrance.Core.Business;
namespace TourDeFrance.Tests
{
public abstract partial class BaseRepositoryTests
{
#region Get stage
[Test]
public void GetSta... | pierresebastien/TourDeFrance | TourDeFrance.Tests/StageRepositoryTests.cs | https://github.com/pierresebastien/TourDeFrance/blob/HEAD/TourDeFrance.Tests/StageRepositoryTests.cs | ghcode:00160:086cd3b450f4 | mit | codeparrot/github-code | 086cd3b450f443b6f65552af23cf44a81cc5992961e9b697200f2334bf28e3e8 | 0.75 | testing_debugging_repair_refactoring | 5,477 | false | 2026-07-17 |
namespace Examples.WebApi.Tests
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using WebApi;
[TestClass()]
public class Runner_Tests
{
[TestMethod]
public void Execute_Test_Successed()
{
var expected = 0;
var actual = Runner... | kuroblog/CIExampleOnWebApi | Examples/Examples.WebApi.Tests/Utilities/Runner_Tests.cs | https://github.com/kuroblog/CIExampleOnWebApi/blob/HEAD/Examples/Examples.WebApi.Tests/Utilities/Runner_Tests.cs | ghcode:00160:cdedc1e7aeea | mit | codeparrot/github-code | cdedc1e7aeeaedcc00144976a98bff2fe06176c37dd86942916abc53675f8b55 | 0.75 | testing_debugging_repair_refactoring | 172 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Xml.Linq;
using NUnit.Framework;
using Rest4Net.ePochta.Responses;
namespace Rest4Net.ePochta.Tests
{
[TestFixture]
public class GeneralTest
{
private readonly dynamic _a = new ExpandoObject();
... | acropolium/Rest4Net | src/Rest4Net.ePochta.Tests/GeneralTest.cs | https://github.com/acropolium/Rest4Net/blob/HEAD/src/Rest4Net.ePochta.Tests/GeneralTest.cs | ghcode:00160:cb9426eb633f | mit | codeparrot/github-code | cb9426eb633f80bf82c3d5523f02a69b264337e6cf4e9417e6d0740af29b3984 | 0.7 | testing_debugging_repair_refactoring | 1,205 | false | 2026-07-17 |
using Xunit;
using Moq;
using Newtonsoft.Json.Linq;
using RedFolder.Blog.Markdown.Transformers;
namespace Red_Folder.Blog.Markdown.Tests.Unit.Transformers
{
public class BaseTransformerTests
{
[Fact]
public void No_Change_With_No_Inner()
{
var uat = new BaseTransformer();
... | Red-Folder/red-folder.com | tests/Red-Folder.Blog.Markdown.Tests.Unit/Transformers/BaseTransformer.Tests.cs | https://github.com/Red-Folder/red-folder.com/blob/HEAD/tests/Red-Folder.Blog.Markdown.Tests.Unit/Transformers/BaseTransformer.Tests.cs | ghcode:00160:503cb2c2ffee | mit | codeparrot/github-code | 503cb2c2ffee3593f0d70bf7e8d2866063a3c8fece63a8dc75e06aa092cbc278 | 0.75 | testing_debugging_repair_refactoring | 215 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using vtortola.Redis;
namespace PerformanceComparison.Tests.GetData
{
public class RedisClientGetDataTest : ITest
{
RedisClient _client;
... | vtortola/RedisClient | TestApplications/PerformanceComparison/Tests/GetData/RedisClientGetDataTest.cs | https://github.com/vtortola/RedisClient/blob/HEAD/TestApplications/PerformanceComparison/Tests/GetData/RedisClientGetDataTest.cs | ghcode:00160:188a5b95a436 | mit | codeparrot/github-code | 188a5b95a436b6e78a285f7eeaa9acdc54668e3ac06e3c87e2c1a4b683a3eb37 | 0.85 | testing_debugging_repair_refactoring | 398 | false | 2026-07-17 |
// dnlib: See LICENSE.txt for more info
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using dnlib.DotNet.MD;
using dnlib.DotNet.Pdb;
namespace dnlib.DotNet {
/// <summary>
/// A high-level representation of a row in the File table
/// </summary>
public abstract ... | 0xd4d/dnlib | src/DotNet/FileDef.cs | https://github.com/0xd4d/dnlib/blob/HEAD/src/DotNet/FileDef.cs | ghcode:00160:44713e5523e0 | mit | codeparrot/github-code | 44713e5523e0defcb4f28ba94caaf6870087f1d26781ed79b7193b15d5b3f2b2 | 0.7 | testing_debugging_repair_refactoring | 1,661 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.Diagnostics.HealthChecks;
using Moq;
using NServiceBus;
using NUnit.Framework;
using SFA.DAS.CommitmentsV2.Api.HealthChecks;
us... | SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.UnitTests/HealthChecks/NServiceBusHealthCheckTests.cs | https://github.com/SkillsFundingAgency/das-commitments/blob/HEAD/src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.UnitTests/HealthChecks/NServiceBusHealthCheckTests.cs | ghcode:00160:bac22dc26095 | mit | codeparrot/github-code | bac22dc2609562526634bbe8c1fe125f9295c35ef54b104703bfb830c2fd737f | 0.75 | testing_debugging_repair_refactoring | 1,230 | false | 2026-07-17 |
using System;
using System.Linq;
using LinqToDB;
using LinqToDB.Mapping;
using NUnit.Framework;
using Tests.Model;
namespace Tests.Linq
{
[TestFixture]
public class ConvertTests : TestBase
{
[Test]
public void Test1([DataSources(TestProvName.AllSQLite)] string context)
{
using (var db = G... | LinqToDB4iSeries/Linq2DB4iSeries | Tests/Linq/Linq/ConvertTests.cs | https://github.com/LinqToDB4iSeries/Linq2DB4iSeries/blob/HEAD/Tests/Linq/Linq/ConvertTests.cs | ghcode:00160:87635af2ce23 | mit | codeparrot/github-code | 87635af2ce2324583d46e6f2bf6020ebf8fb703cdb8ab15a8569a6c798b43d2e | 0.85 | testing_debugging_repair_refactoring | 12,013 | false | 2026-07-17 |
using ClosedXML.Excel;
using NUnit.Framework;
namespace ClosedXML_Tests.Excel
{
/// <summary>
/// Summary description for UnitTest1
/// </summary>
[TestFixture]
public class XLFillTests
{
[Test]
public void BackgroundColorSetsPattern()
{
va... | vbjay/ClosedXML | ClosedXML_Tests/Excel/Styles/XLFillTests.cs | https://github.com/vbjay/ClosedXML/blob/HEAD/ClosedXML_Tests/Excel/Styles/XLFillTests.cs | ghcode:00160:86e8069ffffb | mit | codeparrot/github-code | 86e8069ffffbfb27d3278f2fe03173a083f3c113ec6419495c300d9964b27317 | 0.85 | testing_debugging_repair_refactoring | 461 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using FluentAssertions;
using MyInfluxDbClient.UnitTests.TestData;
using NUnit.Framework;
namespace MyInfluxDbClient.UnitTests
{
[TestFixture]
public class InfluxPointsTests : UnitTestsOf<InfluxPoints>
{
protected override void OnBeforeEachTest()
... | danielwertheim/myinfluxdbclient | src/tests/MyInfluxDbClient.UnitTests/InfluxPointsTests.cs | https://github.com/danielwertheim/myinfluxdbclient/blob/HEAD/src/tests/MyInfluxDbClient.UnitTests/InfluxPointsTests.cs | ghcode:00160:bbc3eb05dacd | mit | codeparrot/github-code | bbc3eb05dacdb1e38e7a502cabef0ee88549649e74ae66f16949f79b540af8f1 | 0.85 | testing_debugging_repair_refactoring | 951 | false | 2026-07-17 |
using System;
using Moq;
using NUnit.Framework;
using Oogstplanner.Data;
using Oogstplanner.Models;
using Oogstplanner.Services;
namespace Oogstplanner.Tests.Services
{
[TestFixture]
public class PasswordRecoveryServiceTest
{
[Test]
public void Services_PasswordRecovery_StoreToken()
... | erooijak/oogstplanner | Oogstplanner.Tests/Tests.Services/PasswordRecoveryServiceTest.cs | https://github.com/erooijak/oogstplanner/blob/HEAD/Oogstplanner.Tests/Tests.Services/PasswordRecoveryServiceTest.cs | ghcode:00160:42d216a63389 | mit | codeparrot/github-code | 42d216a63389ccb0cafdc57d51ccb270e7d83e7f57563c0996d9bbd9bad84e51 | 0.7 | testing_debugging_repair_refactoring | 695 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tynamix.ObjectFiller.Test
{
[TestClass]
public class RealNamePluginTest
{
[TestMethod]
public void TestRealNameFirstNameOnly()
{
Filler<LibraryFillingTest.Person> filler = new Filler<LibraryFillingTest.Person... | Tynamix/ObjectFiller.NET | Tynamix.ObjectFiller.Test/RealNamePluginTest.cs | https://github.com/Tynamix/ObjectFiller.NET/blob/HEAD/Tynamix.ObjectFiller.Test/RealNamePluginTest.cs | ghcode:00160:eacdd1446dba | mit | codeparrot/github-code | eacdd1446dba0e027c5fc82a016fdd910247154a11440b3728257c546241d560 | 0.75 | testing_debugging_repair_refactoring | 421 | false | 2026-07-17 |
using System.IO;
using SkiaSharp.Tests;
namespace HarfBuzzSharp.Tests
{
public class HBTest : BaseTest
{
protected static readonly Blob Blob;
protected static readonly Face Face;
protected static readonly Font Font;
static HBTest()
{
Blob = Blob.FromFile(Path.Combine(PathToFonts, "content-font.ttf"));... | mono/SkiaSharp | tests/Tests/HBTest.cs | https://github.com/mono/SkiaSharp/blob/HEAD/tests/Tests/HBTest.cs | ghcode:00160:70f2c691ed27 | mit | codeparrot/github-code | 70f2c691ed2784889b69fdb0a38061047c49b1a552499a5ad803c4bffa7f6c3e | 0.85 | testing_debugging_repair_refactoring | 108 | false | 2026-07-17 |
using System.Threading.Tasks;
using NSubstitute;
using NUnit.Framework;
using ygo.core.Models.Db;
using ygo.domain.Repository;
using ygo.domain.Services;
using ygo.tests.core;
namespace ygo.domain.unit.tests.ServiceTests.ArchetypeServiceTests
{
[TestFixture]
[Category(TestType.Unit)]
public class UpdateTe... | fablecode/ygo-api | tests/unit/ygo.domain.unit.tests/ServiceTests/ArchetypeServiceTests/UpdateTests.cs | https://github.com/fablecode/ygo-api/blob/HEAD/tests/unit/ygo.domain.unit.tests/ServiceTests/ArchetypeServiceTests/UpdateTests.cs | ghcode:00160:8431d7493fca | mit | codeparrot/github-code | 8431d7493fca0e09b6142ffc99c44e7571683a6af2b84143ef3429c22c242c8e | 0.85 | testing_debugging_repair_refactoring | 225 | false | 2026-07-17 |
namespace Microsoft.ApplicationInsights.AspNetCore.Tests.TelemetryInitializers
{
using System;
using Microsoft.ApplicationInsights.AspNetCore.TelemetryInitializers;
using Microsoft.ApplicationInsights.AspNetCore.Tests.Helpers;
using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.AspN... | pharring/ApplicationInsights-dotnet | NETCORE/test/Microsoft.ApplicationInsights.AspNetCore.Tests/TelemetryInitializers/WebUserTelemetryInitializerTests.cs | https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/NETCORE/test/Microsoft.ApplicationInsights.AspNetCore.Tests/TelemetryInitializers/WebUserTelemetryInitializerTests.cs | ghcode:00160:3fd9c36db5ec | mit | codeparrot/github-code | 3fd9c36db5ecb09481beb2981e1795f1f70103bc612dab27335ee374fafa33a4 | 0.85 | testing_debugging_repair_refactoring | 420 | false | 2026-07-17 |
using System.Linq;
using System.Threading.Tasks;
using Famoser.SyncApi.Enums;
using Famoser.SyncApi.UnitTests.Helpers;
using Famoser.SyncApi.UnitTests.Implementations;
using Famoser.SyncApi.UnitTests.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Famoser.SyncApi.UnitTests.RepositoryTests
{
... | famoser/SyncApi | Famoser.SyncApi.UnitTests/RepositoryTests/UserRepositoryTests.cs | https://github.com/famoser/SyncApi/blob/HEAD/Famoser.SyncApi.UnitTests/RepositoryTests/UserRepositoryTests.cs | ghcode:00160:3bfce7dbee0c | mit | codeparrot/github-code | 3bfce7dbee0ce52ef2dc0154fbb5310e6f8950a40ce5b2e66743e4d2eb3671fa | 0.85 | testing_debugging_repair_refactoring | 478 | false | 2026-07-17 |
using NLog.Mustache;
using NUnit.Framework;
using Should;
namespace Tests
{
[TestFixture]
public class TemplateTests
{
[Test]
public void should_find_template()
{
Template.Load("template.html", false)
.ShouldEqual("<b>Oh hai! {{Level}}</b>")... | mikeobrien/NLog.Mustache | src/Tests/TemplateTests.cs | https://github.com/mikeobrien/NLog.Mustache/blob/HEAD/src/Tests/TemplateTests.cs | ghcode:00160:7bc52ebcb246 | mit | codeparrot/github-code | 7bc52ebcb24680cfce7d347aab5873238c717db58da43be1e21a9d25b782e889 | 0.85 | testing_debugging_repair_refactoring | 189 | false | 2026-07-17 |
namespace DW.ELA.UnitTests.EDSM
{
using DW.ELA.Controller;
using DW.ELA.Interfaces;
using DW.ELA.Plugin.EDSM;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
[TestFixture]
[Parallelizable]
public class EdsmEventConverterTests
{
private readonly IPlayerStateHistoryRecorde... | DarkWanderer/DW.Inara.LogUploader | DW.ELA.UnitTests/EDSM/EdsmEventConverterTests.cs | https://github.com/DarkWanderer/DW.Inara.LogUploader/blob/HEAD/DW.ELA.UnitTests/EDSM/EdsmEventConverterTests.cs | ghcode:00160:819eaa623529 | mit | codeparrot/github-code | 819eaa623529abb728d162ccade9020ca75d0e73a631a7ef6cbcbe1900e15d64 | 0.75 | testing_debugging_repair_refactoring | 196 | false | 2026-07-17 |
namespace Poker.Tests
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
[TestClass]
public class PokerHandsChekerTests
{
[TestMethod]
public void PokerHandsIsValidReturnTrueWhenHandIsValid()
{
IHand hand = ... | NikitoG/TelerikAcademyHomeworks | Hight-Quality-Code/TestDrivenDevelopment/Poker.Tests/PokerHandsChekerTests.cs | https://github.com/NikitoG/TelerikAcademyHomeworks/blob/HEAD/Hight-Quality-Code/TestDrivenDevelopment/Poker.Tests/PokerHandsChekerTests.cs | ghcode:00160:0c8f2d729603 | mit | codeparrot/github-code | 0c8f2d7296036cf05338fdfc6dbf1543c945e9311e04e4867030fd21936cce0e | 0.75 | testing_debugging_repair_refactoring | 950 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using FluentAssertions;
using Xunit;
namespace LiteDB.Tests.Mapper
{
public class GenericMap_Tests
{
public class User<T, K>
{
public T Id { get; set; }
public K Name { get; set; }
}
private BsonMapper _ma... | mbdavid/LiteDB | LiteDB.Tests/Mapper/GenericMap_Tests.cs | https://github.com/mbdavid/LiteDB/blob/HEAD/LiteDB.Tests/Mapper/GenericMap_Tests.cs | ghcode:00160:3b6a75f6d601 | mit | codeparrot/github-code | 3b6a75f6d6019a62a2e4d64df1b143ff25d035ba72e9a25abba0e349ed8516bf | 0.75 | testing_debugging_repair_refactoring | 547 | false | 2026-07-17 |
using Colourful.Tests.Assertions;
using Xunit;
namespace Colourful.Tests;
public class LChuvColorTest
{
[Fact]
public void Equals_Same()
{
var first = new LChuvColor(l: 10, c: 20.5, h: 45.445);
var second = new LChuvColor(l: 10, c: 20.5, h: 45.445);
CustomAssert.EqualsWithHashCode... | tompazourek/Colourful | tests/Colourful.Tests/Spaces/LChuv/LChuvColorTest.cs | https://github.com/tompazourek/Colourful/blob/HEAD/tests/Colourful.Tests/Spaces/LChuv/LChuvColorTest.cs | ghcode:00160:9c3ef4c6cbe2 | mit | codeparrot/github-code | 9c3ef4c6cbe2be942352eebd56bdc2b2865017ad82c9ed99aef5e0377e33bba2 | 0.6 | testing_debugging_repair_refactoring | 593 | false | 2026-07-17 |
// This file was auto-generated based on version 1.0.0 of the canonical data.
using Xunit;
public class RomanNumeralsTest
{
[Fact]
public void Number_1_is_a_single_i()
{
Assert.Equal("I", 1.ToRoman());
}
[Fact(Skip = "Remove to run test")]
public void Number_2_is_two_is()
{
... | GKotfis/csharp | exercises/roman-numerals/RomanNumeralsTest.cs | https://github.com/GKotfis/csharp/blob/HEAD/exercises/roman-numerals/RomanNumeralsTest.cs | ghcode:00160:b10331c9bfd7 | mit | codeparrot/github-code | b10331c9bfd78c2fdae7bc4f781bf69957655ba55c0e5d22121957acf09397db | 0.75 | testing_debugging_repair_refactoring | 814 | false | 2026-07-17 |
using NUnit.Framework;
namespace WhenItsDone.Models.Tests.MedicalInformationTests
{
[TestFixture]
public class MedicalInformationConstructorTests
{
[Test]
public void MedicalInformation_ShouldHave_ParameterlessConstructor()
{
var obj = new MedicalInformation();
... | army-of-two/when-its-done | WhenItsDone/Tests/LibTests/WhenItsDone.Models.Tests/MedicalInformationTests/MedicalInformationConstructorTests.cs | https://github.com/army-of-two/when-its-done/blob/HEAD/WhenItsDone/Tests/LibTests/WhenItsDone.Models.Tests/MedicalInformationTests/MedicalInformationConstructorTests.cs | ghcode:00160:561ec886be42 | mit | codeparrot/github-code | 561ec886be423d04664461c43387da6819930027875d2905714252874d48c955 | 0.85 | testing_debugging_repair_refactoring | 406 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace IrcDotNet.Ctcp
{
// Defines all message processors for the client.
partial class CtcpClient
{
/// <summary>
/// Process ACTION messages from a user.
... | billyriantono/ircdotnet | IrcDotNet/CTCP/CtcpClientMessageProcessing.cs | https://github.com/billyriantono/ircdotnet/blob/HEAD/IrcDotNet/CTCP/CtcpClientMessageProcessing.cs | ghcode:00160:e9c6b2f63562 | mit | codeparrot/github-code | e9c6b2f63562426b72bd818a67ed4b085aa8661bede921c325e97d715867536f | 0.7 | testing_debugging_repair_refactoring | 561 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AM;
using AM.Runtime;
using AM.Text;
using ManagedIrbis;
namespace UnitTests.ManagedIrbis
{
[TestClass]
public class RecordFieldCollectionTest
{
[TestMethod]
public void RecordFieldCollection_Construction_1()
... | amironov73/ManagedIrbis | Source/UnitTests/ManagedIrbis/RecordFieldCollectionTest.cs | https://github.com/amironov73/ManagedIrbis/blob/HEAD/Source/UnitTests/ManagedIrbis/RecordFieldCollectionTest.cs | ghcode:00160:1955ba403b22 | mit | codeparrot/github-code | 1955ba403b22612b76362035e1977330f76e52fb2a303f92ff18f729a105defa | 0.75 | testing_debugging_repair_refactoring | 2,007 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ChangeTracking;
using System.Collections.Generic;
using System.Diagnostics;
namespace ChangeTracking.Tests
{
[TestClass]
public class SpeedTest
{
public TestContext TestContext { get; set; }
[TestMethod]
publi... | solsab/ChangeTracking | Source/ChangeTracking.Tests/SpeedTest.cs | https://github.com/solsab/ChangeTracking/blob/HEAD/Source/ChangeTracking.Tests/SpeedTest.cs | ghcode:00160:c39694ea725b | mit | codeparrot/github-code | c39694ea725b8df611dd07313254d771a9e117042ea9cd030c45860037a4ad88 | 0.6 | testing_debugging_repair_refactoring | 521 | false | 2026-07-17 |
using Augustus.CRM.Entities;
using Augustus.CRM.Queries;
using Augustus.Domain.Objects;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Augustus.CRM.Test
{
[TestClass]
public class BulkUpdateTests : BaseQueryTest
{
[... | gothandy/Augustus | Augustus.CRM.Test/BulkUpdateTests.cs | https://github.com/gothandy/Augustus/blob/HEAD/Augustus.CRM.Test/BulkUpdateTests.cs | ghcode:00160:312e5d99bdb1 | mit | codeparrot/github-code | 312e5d99bdb13e23057fae45f056cc8df8a3eb9efe2b463114c3e90148a942f6 | 0.75 | testing_debugging_repair_refactoring | 576 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#if !WINDOWS_UWP
// When the .NET scripting backend is enabled and C# projects are built
// The assembly that this file is part of is still built for the player,
// even though the assembly itself is marked as a test assembly (this is not
// e... | DDReaper/MixedRealityToolkit-Unity | Assets/MRTK/Tests/PlayModeTests/InputSystem/DisableEnableInputSystemTest.cs | https://github.com/DDReaper/MixedRealityToolkit-Unity/blob/HEAD/Assets/MRTK/Tests/PlayModeTests/InputSystem/DisableEnableInputSystemTest.cs | ghcode:00160:8d5cdcd23bc0 | mit | codeparrot/github-code | 8d5cdcd23bc0e7b23b4333e05fa64cd1fb20bea0f061d6c388ae1db1d8ca39b8 | 0.95 | testing_debugging_repair_refactoring | 305 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TransitSocial.ChicagoTransitAuthority.BusTracker.Tests.Resources;
namespace TransitSocial.ChicagoTransitAuthority.BusT... | kherr9/TransitSocial.ChicagoTransitAuthority | src/TransitSocial.ChicagoTransitAuthority.BusTracker.Tests/BusTrackerClientTests.GetRouteDirections.cs | https://github.com/kherr9/TransitSocial.ChicagoTransitAuthority/blob/HEAD/src/TransitSocial.ChicagoTransitAuthority.BusTracker.Tests/BusTrackerClientTests.GetRouteDirections.cs | ghcode:00160:66c50521c71c | mit | codeparrot/github-code | 66c50521c71c4d6eebcdbd99ced3c2057c37d544a47df59dd3158a711ee1e31a | 0.85 | testing_debugging_repair_refactoring | 1,473 | false | 2026-07-17 |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using UnitsNet;
using UnitsNet.Units;
using FDA.Extensions;
namespace Test
{
[TestClass]
public class ExtensionTests
{
[TestMethod]
public void GetDefaultUnit()
{
var passed = true;
... | DefectiveCube/FlightDataAnalyzer | src/Test/ExtensionTests.cs | https://github.com/DefectiveCube/FlightDataAnalyzer/blob/HEAD/src/Test/ExtensionTests.cs | ghcode:00160:719881ad8192 | mit | codeparrot/github-code | 719881ad81926c89c4cb0ed13b412c2de1efd2f68ae7540bce04dfda5145dfa4 | 0.85 | testing_debugging_repair_refactoring | 222 | false | 2026-07-17 |
using System.Globalization;
using Alternatives.ConversionExtensions;
using Xunit;
namespace Alternatives.ConversionExtensionsTests
{
public class TryToShortTest
{
[Fact]
public void TryToShort_Null()
{
const short expected = default(short);
short actual = ((ob... | AdemCatamak/Alternatives | Alternatives.ConversionExtensionsTests/TryToShortTest.cs | https://github.com/AdemCatamak/Alternatives/blob/HEAD/Alternatives.ConversionExtensionsTests/TryToShortTest.cs | ghcode:00160:ae74d4b36924 | mit | codeparrot/github-code | ae74d4b36924feaefc2467660b270414a628172a44ad5d91ed35bdec6c48b450 | 0.7 | testing_debugging_repair_refactoring | 528 | false | 2026-07-17 |
using System;
using System.Linq;
using Linq2Acad;
using Autodesk.AutoCAD.DatabaseServices;
using AcadTestRunner;
namespace Linq2Acad.Tests
{
public class BlockContainerTests
{
[AcadTest]
public void TestCreateBlock()
{
var newId = ObjectId.Null;
using (var db = AcadDatabase.Active())
... | wtertinek/Linq2Acad | src/Sources/Linq2Acad.Tests/ContainerTests/BlockContainerTests.cs | https://github.com/wtertinek/Linq2Acad/blob/HEAD/src/Sources/Linq2Acad.Tests/ContainerTests/BlockContainerTests.cs | ghcode:00160:369111a6d7ac | mit | codeparrot/github-code | 369111a6d7ac6705482491eebfc1cd173bed47de6382bf7fbcbe543a4be29553 | 0.75 | testing_debugging_repair_refactoring | 209 | false | 2026-07-17 |
/********************************************************************
The Multiverse Platform is made available under the MIT License.
Copyright (c) 2012 The Multiverse Foundation
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "... | longde123/MultiversePlatform | mvsm/AutoSplatHeightAngleRange.cs | https://github.com/longde123/MultiversePlatform/blob/HEAD/mvsm/AutoSplatHeightAngleRange.cs | ghcode:00160:da20794d1267 | mit | codeparrot/github-code | da20794d126721b39f657ae97618e61ee0df540cce3ece895575b17fb80c66da | 0.85 | testing_debugging_repair_refactoring | 3,671 | false | 2026-07-17 |
using Machine.Specifications;
using NHibernate.Type;
using Quarks.FluentNHibernate.Conventions.UserType;
namespace Quarks.Tests.FluentNHibernate.Conventions.UserType
{
[Subject(typeof(CustomTypeUIntType))]
class When_using_uint_property
{
It should_load_a_persisted_entity_in_the_same_state_it_was_persis... | shaynevanasperen/Quarks | Quarks.Tests/FluentNHibernate/Conventions/UserType/CustomTypeUIntTypeTests.cs | https://github.com/shaynevanasperen/Quarks/blob/HEAD/Quarks.Tests/FluentNHibernate/Conventions/UserType/CustomTypeUIntTypeTests.cs | ghcode:00160:5cee50b15857 | mit | codeparrot/github-code | 5cee50b15857037c974b51b5e7ac99e66385afedf25f141226495c4b00f2ffba | 0.75 | testing_debugging_repair_refactoring | 355 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Cake.CMake.Tests.Fixtures;
using Cake.Core.IO;
using Cake.Testing;
using Xunit;
namespace Cake.CMake.Tests
{
public sealed class CMakeRunnerTests
{
public sealed class TheConstructor
{
[Fact]
public void ShouldThrowIfFileSystemIsNull()
... | patriksvensson/Cake.CMake | src/Cake.CMake.Tests/CMakeRunnerTests.cs | https://github.com/patriksvensson/Cake.CMake/blob/HEAD/src/Cake.CMake.Tests/CMakeRunnerTests.cs | ghcode:00160:209cc72fe296 | mit | codeparrot/github-code | 209cc72fe296c709ce7d908a31df5b5eadd62eb5e0ac935e06d7208fbf943d5d | 0.85 | testing_debugging_repair_refactoring | 1,493 | false | 2026-07-17 |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using UnityEngine.EventSystems;
public class ButtonForHint : MonoBehaviour
{
public int ID;
public Text hintText;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
publi... | veselin-/Team4BabelGame | Assets/UI/Test/ButtonForHint.cs | https://github.com/veselin-/Team4BabelGame/blob/HEAD/Assets/UI/Test/ButtonForHint.cs | ghcode:00160:e66f084c2e90 | mit | codeparrot/github-code | e66f084c2e909ac588739c79fac559b48e37cc24adf587cf24b26bbc99b979b6 | 0.85 | testing_debugging_repair_refactoring | 344 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Renci.SshNet.Abstractions;
using Renci.SshNet.Sftp;
using Renci.SshNet.Tests.Common;
namespace Renci.SshNet.Tests.Classes
{
[TestClass]
public class ServiceFactoryTest_CreateSftpFileReader_FileSizeIsAlmostSixTimesGreaterThanChu... | sshnet/SSH.NET | src/Renci.SshNet.Tests/Classes/ServiceFactoryTest_CreateSftpFileReader_FileSizeIsAlmostSixTimesGreaterThanChunkSize.cs | https://github.com/sshnet/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/ServiceFactoryTest_CreateSftpFileReader_FileSizeIsAlmostSixTimesGreaterThanChunkSize.cs | ghcode:00160:8c836ba0ed9f | mit | codeparrot/github-code | 8c836ba0ed9f703c75bd9aed31f5c43af43602e7ed7963082af2cbb801d79ddc | 0.6 | testing_debugging_repair_refactoring | 740 | false | 2026-07-17 |
namespace OffByOne.Qls.Tests.Ast.Style.Properties
{
using System;
using OffByOne.Qls.Ast.Style.Literals;
using OffByOne.Qls.Ast.Style.Properties;
using Xunit;
public class FontStylePropertyTests
{
[Fact]
public void CreatingNewObject_ShouldHaveCorrectValueIfCorectDataGiven()
... | Teodor92/QL-DSL | test/OffByOne.Qls.Tests/Ast/Style/Properties/FontStylePropertyTests.cs | https://github.com/Teodor92/QL-DSL/blob/HEAD/test/OffByOne.Qls.Tests/Ast/Style/Properties/FontStylePropertyTests.cs | ghcode:00160:433896bae43c | mit | codeparrot/github-code | 433896bae43cfd57b3ddc22ae07a2c1f3c1e05b02a2bcf32329db5f20fae599c | 0.75 | testing_debugging_repair_refactoring | 143 | 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 CanRegisterWithFacebookTests
{
public static CanRegisterWithFacebookController Fixture... | nubiancc/frapid | src/Frapid.Web/Areas/Frapid.Account/WebAPI/Tests/CanRegisterWithFacebookTests.cs | https://github.com/nubiancc/frapid/blob/HEAD/src/Frapid.Web/Areas/Frapid.Account/WebAPI/Tests/CanRegisterWithFacebookTests.cs | ghcode:00160:c16ee8661b44 | mit | codeparrot/github-code | c16ee8661b44f1ba0bd41cd99da1a4d12732e807026cdcd40cf2523e89e69720 | 0.85 | testing_debugging_repair_refactoring | 142 | false | 2026-07-17 |
// SPDX-License-Identifier: MIT
// Copyright wtfsckgh@gmail.com
// Copyright iced contributors
using System;
using System.Collections.Generic;
using System.Linq;
using Iced.Intel;
using Xunit;
namespace Iced.UnitTests.Intel.DecoderTests {
public sealed class MiscTests : DecoderTest {
sealed class DecodeMultipleCod... | 0xd4d/iced | src/csharp/Intel/Iced.UnitTests/Intel/DecoderTests/MiscTests.cs | https://github.com/0xd4d/iced/blob/HEAD/src/csharp/Intel/Iced.UnitTests/Intel/DecoderTests/MiscTests.cs | ghcode:00160:a5609f429c0b | mit | codeparrot/github-code | a5609f429c0b5fb1fed640ca05f30a2488ff9d88ec50dc8cc0ea2a5e6abf39b5 | 0.85 | testing_debugging_repair_refactoring | 4,652 | false | 2026-07-17 |
/********************************************************************
The Multiverse Platform is made available under the MIT License.
Copyright (c) 2012 The Multiverse Foundation
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "... | longde123/MultiversePlatform | client/Base/MarsWorld.cs | https://github.com/longde123/MultiversePlatform/blob/HEAD/client/Base/MarsWorld.cs | ghcode:00160:d73575e6f5e2 | mit | codeparrot/github-code | d73575e6f5e2c21bb6029cffc43c5ff8aa3fbce48e9ade47a36cbd66f3e10767 | 0.85 | testing_debugging_repair_refactoring | 3,462 | 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 Xunit;
namespace System.Text.Tests
{
public class UnicodeEncodingGetCha... | pallavit/corefx | src/System.Text.Encoding/tests/UnicodeEncoding/UnicodeEncodingGetChars.cs | https://github.com/pallavit/corefx/blob/HEAD/src/System.Text.Encoding/tests/UnicodeEncoding/UnicodeEncodingGetChars.cs | ghcode:00160:8fd9d5a4c8cb | mit | codeparrot/github-code | 8fd9d5a4c8cb81033a92e7edcd44cc747ae8e3e93c0d69ad7eaeaf438b607303 | 0.95 | testing_debugging_repair_refactoring | 390 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Modules.TraktCommentsModule
{
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using TestUtils;
using Traits;
using TraktApiSharp.Exceptions;
using TraktApiSharp.Objects.Basic;
u... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Modules/TraktCommentsModule/TraktCommentsModule_GetComment_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Modules/TraktCommentsModule/TraktCommentsModule_GetComment_Tests.cs | ghcode:00160:6baee2152a05 | mit | codeparrot/github-code | 6baee2152a05df54cdc4d171df3eeb02a2e90b9b57d8ce5d8b7c0c7b0b3a39ca | 0.85 | testing_debugging_repair_refactoring | 1,944 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using DebuggerApi;
using NSubstitute;
using NUnit.Framework;
using YetiCommon.ExceptionRecorder;
using YetiVSI.DebugEngine;
using YetiVSI.Metrics;
using YetiVSI.Shared.Metrics;
using YetiVSI.Test.Metrics.TestSupport;
namespace YetiVSI.Test.Metrics
{
class Expression... | googlestadia/vsi-lldb | YetiVSI.Tests/Metrics/ExpressionEvaluationBatchEventAggregatorTests.cs | https://github.com/googlestadia/vsi-lldb/blob/HEAD/YetiVSI.Tests/Metrics/ExpressionEvaluationBatchEventAggregatorTests.cs | ghcode:00160:b73288337768 | apache-2.0 | codeparrot/github-code | b73288337768ddc78ff8965a5f0a93c993e8282286dbbe3aca17b2c7184446e1 | 0.85 | testing_debugging_repair_refactoring | 1,401 | false | 2026-07-17 |
using System.Collections.Generic;
using Lucene.Net.Documents;
namespace Lucene.Net.Search
{
using NUnit.Framework;
using Directory = Lucene.Net.Store.Directory;
using Document = Documents.Document;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor ... | laimis/lucenenet | src/Lucene.Net.Tests/Search/TestFieldCacheTermsFilter.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Search/TestFieldCacheTermsFilter.cs | ghcode:00160:974a49ab4f1d | apache-2.0 | codeparrot/github-code | 974a49ab4f1d81d9791a083f72535146ee88c1579d025586c9cc2b135e03bd8a | 0.85 | testing_debugging_repair_refactoring | 674 | false | 2026-07-17 |
// [[[[INFO>
// Copyright 2015 Epicycle (http://epicycle.org, https://github.com/open-epicycle)
//
// 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... | open-epicycle/Epicycle.Math-cs | projects/Epicycle.Math.TestUtils_cs/Probability/ProbabilityTestUtils.cs | https://github.com/open-epicycle/Epicycle.Math-cs/blob/HEAD/projects/Epicycle.Math.TestUtils_cs/Probability/ProbabilityTestUtils.cs | ghcode:00160:788884c3721d | apache-2.0 | codeparrot/github-code | 788884c3721da6123c6271b95ed442200e453430a6215d7fa9c7eae015fda6f1 | 0.7 | testing_debugging_repair_refactoring | 581 | false | 2026-07-17 |
// Copyright Dirk Lemstra (https://github.com/dlemstra/line-bot-sdk-dotnet).
// Licensed under the Apache License, Version 2.0.
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Line.Tests
{
public partial class AudioMessageTests
{
[TestClass]
public class TheValidat... | dlemstra/line-bot-sdk-dotnet | tests/LineBot.Tests/Messages/Audio/AudioMessageTests/TheValidateMethod.cs | https://github.com/dlemstra/line-bot-sdk-dotnet/blob/HEAD/tests/LineBot.Tests/Messages/Audio/AudioMessageTests/TheValidateMethod.cs | ghcode:00160:4a7ce10c2e3e | apache-2.0 | codeparrot/github-code | 4a7ce10c2e3ee0a0d4d8db9da5b1a1ccd971481eeb2f5ce985546887a5904ebc | 0.85 | testing_debugging_repair_refactoring | 269 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CodeModel;
using CodeModel.Builder;
using CodeModel.Primitives;
using CodeModel.Primitives.Mutators;
using NUnit.Framework;
using Tests.Constraints;
using TestTarget.Implementing;
nam... | Novakov/HighLevelCodeAnalysis | src/Tests/BuilderTests/ImplementingInterfacesTest.cs | https://github.com/Novakov/HighLevelCodeAnalysis/blob/HEAD/src/Tests/BuilderTests/ImplementingInterfacesTest.cs | ghcode:00160:31247cd4f5a6 | apache-2.0 | codeparrot/github-code | 31247cd4f5a66e19181416696c31af5f047e2d67b4b2f3adfec3103a63ccc751 | 0.95 | testing_debugging_repair_refactoring | 517 | false | 2026-07-17 |
/* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.... | cube-soft/Cube.Core | Tests/Core/Sources/Messages/FileDialogFilterTest.cs | https://github.com/cube-soft/Cube.Core/blob/HEAD/Tests/Core/Sources/Messages/FileDialogFilterTest.cs | ghcode:00160:1fb440a1c865 | apache-2.0 | codeparrot/github-code | 1fb440a1c8654a526a999ee3cb4246218643c061cd42f8cb66aed84b17e86547 | 0.7 | testing_debugging_repair_refactoring | 900 | false | 2026-07-17 |
// -----------------------------------------------------------------------
// <copyright file="HtmlExtensionsTests.cs" company="Pathfinder-fr">
// Copyright (c) Pathfinder-fr. Tous droits reserves.
// </copyright>
// -----------------------------------------------------------------------
namespace Pathfinder
{
us... | Pathfinder-Fr/PathfinderDb3 | Tests/Pathfinder.Web.Tests/HtmlExtensionsTests.cs | https://github.com/Pathfinder-Fr/PathfinderDb3/blob/HEAD/Tests/Pathfinder.Web.Tests/HtmlExtensionsTests.cs | ghcode:00160:c5154c75281d | apache-2.0 | codeparrot/github-code | c5154c75281d987a6da7fb61deffa4175630b3885c7105db5ce8f3f2d1b2730f | 0.85 | testing_debugging_repair_refactoring | 79 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="JsonConvertTests.cs">
// </copyright>
// <author>liul</author>
// <date>2015年11月30号</date>
//-----------------------------------------------------------------------
namespace LL.Framework.Tcl.Test
{
using System;
usin... | FlyWait/framework | 02cs/LL.Framework.Tcl.Test/JsonConvertTests.cs | https://github.com/FlyWait/framework/blob/HEAD/02cs/LL.Framework.Tcl.Test/JsonConvertTests.cs | ghcode:00160:d2642de1a015 | apache-2.0 | codeparrot/github-code | d2642de1a0153508eaba2ea5b50a781dc4dbcb26f6d4149aa37f569c50b2d2a5 | 0.85 | testing_debugging_repair_refactoring | 503 | false | 2026-07-17 |
// Copyright (c) "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.org/license... | neo4j/neo4j-dotnet-driver | Neo4j.Driver/Neo4j.Driver.Tests.Integration/Extensions/SessionExtensions.cs | https://github.com/neo4j/neo4j-dotnet-driver/blob/HEAD/Neo4j.Driver/Neo4j.Driver.Tests.Integration/Extensions/SessionExtensions.cs | ghcode:00160:1d85993f986a | apache-2.0 | codeparrot/github-code | 1d85993f986acf82ed83ad7cd4a6bdc049d40201c8c83e5fdfe878b74d116f7f | 0.85 | testing_debugging_repair_refactoring | 359 | false | 2026-07-17 |
using Lucene.Net.Attributes;
using Lucene.Net.Util;
using NUnit.Framework;
using System;
namespace Lucene.Net
{
/*
* 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 rega... | NightOwl888/lucenenet | src/Lucene.Net.Tests/Support/TestApiConsistency.cs | https://github.com/NightOwl888/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Support/TestApiConsistency.cs | ghcode:00160:48e22135eac3 | apache-2.0 | codeparrot/github-code | 48e22135eac3d4563626c41d73662c776e3749d0c9e03fed69488082f988657b | 0.85 | testing_debugging_repair_refactoring | 1,232 | false | 2026-07-17 |
// Copyright 2020 The Tilt Brush 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 required by applicable law or ... | googlevr/tilt-brush | Assets/Scripts/ObjModelScript.cs | https://github.com/googlevr/tilt-brush/blob/HEAD/Assets/Scripts/ObjModelScript.cs | ghcode:00160:12d0fa07c6a6 | apache-2.0 | codeparrot/github-code | 12d0fa07c6a689c63acc52aa767b7683a045663b7a3e93815b2e80f762d95d8e | 0.85 | testing_debugging_repair_refactoring | 868 | false | 2026-07-17 |
#region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2008 Jonathan Skeet. 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
//
// ... | ddpruitt/morelinq | MoreLinq.Test/PartitionTest.cs | https://github.com/ddpruitt/morelinq/blob/HEAD/MoreLinq.Test/PartitionTest.cs | ghcode:00160:b5bd2e9265db | apache-2.0 | codeparrot/github-code | b5bd2e9265db1674c1452a15b58256150b898f18e957a705fde33785a6be48fe | 0.7 | testing_debugging_repair_refactoring | 1,904 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using LibGit2Sharp;
using Sep.Git.Tfs.Core;
using Xunit;
namespace Sep.Git.Tfs.Test.Core
{
public class RemoteConfigConverterLoadTests
{
RemoteConfigConverter _reader = new RemoteConfigConverter();
Dictionary<string, string> _c... | spraints/git-tfs | GitTfsTest/Core/RemoteConfigConverterLoadTests.cs | https://github.com/spraints/git-tfs/blob/HEAD/GitTfsTest/Core/RemoteConfigConverterLoadTests.cs | ghcode:00160:adbd69b9531d | apache-2.0 | codeparrot/github-code | adbd69b9531d00a42967b29944e7413849c30819da3cb37ef0a6c0262b24513d | 0.85 | testing_debugging_repair_refactoring | 620 | false | 2026-07-17 |
#region License Header
/*
* 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 ma... | Quantler/Core | Quantler.Tests/Indicators/ExponentialMovingAverageTests.cs | https://github.com/Quantler/Core/blob/HEAD/Quantler.Tests/Indicators/ExponentialMovingAverageTests.cs | ghcode:00160:60ff00288a4e | apache-2.0 | codeparrot/github-code | 60ff00288a4ef4b26bc71ebb0121d949e188870a844a82bbb2163f9b4ae99d18 | 0.85 | testing_debugging_repair_refactoring | 644 | false | 2026-07-17 |
using System.Linq;
using NUnit.Framework;
namespace GenRepo.Tests
{
[TestFixture]
public class CombinedFilterTest
{
[Test]
public void Filter_items_on_known_field()
{
var items = new[] {new TestItem(10) {Salary = 5000}, new TestItem(12) {Salary = 1000},};
v... | gurmitteotia/EFDataAccess | GenRepo.Tests/CombinedFilterTest.cs | https://github.com/gurmitteotia/EFDataAccess/blob/HEAD/GenRepo.Tests/CombinedFilterTest.cs | ghcode:00160:59392fa24a38 | apache-2.0 | codeparrot/github-code | 59392fa24a382a1bb6e6bc1095d0a6b4606ccd9adc6425c50f6997b055b45565 | 0.6 | testing_debugging_repair_refactoring | 1,564 | false | 2026-07-17 |
using System.Collections.Generic;
using Shouldly.Tests.TestHelpers;
namespace Shouldly.Tests.ShouldBe.EnumerableType
{
public class IgnoreOrderWhenItemsAreNotComparableScenario : ShouldlyShouldTestScenario
{
// testing against non-ICollection IEnumerable, so we're not falling into the ICollection.Coun... | MitjaBezensek/shouldly | src/Shouldly.Tests/ShouldBe/EnumerableType/IgnoreOrderWhenItemsAreNotComparableScenario.cs | https://github.com/MitjaBezensek/shouldly/blob/HEAD/src/Shouldly.Tests/ShouldBe/EnumerableType/IgnoreOrderWhenItemsAreNotComparableScenario.cs | ghcode:00160:7153952fbfc7 | bsd-3-clause | codeparrot/github-code | 7153952fbfc70a4b5e796ed881d351186f2683fc178ab17918094784671962ec | 0.75 | testing_debugging_repair_refactoring | 412 | false | 2026-07-17 |
using NUnit.Framework;
namespace NTemplate.Tests.EndToEnd
{
[TestFixture]
public class ImportDirectivesTests : EndToEndTests
{
[Test]
public void ImportDirectives_GenerateTheRequiredUsing()
{
var template = @"<%@Page Language=""C#"" %>
<%@Import namespace=""NTemplate.Tests.EndToEnd"" %>
<%=Foo... | kenegozi/ntemplate | src/NTemplate.Tests/EndToEnd/ImportDirectivesTests.cs | https://github.com/kenegozi/ntemplate/blob/HEAD/src/NTemplate.Tests/EndToEnd/ImportDirectivesTests.cs | ghcode:00160:09352c4d8cf8 | bsd-3-clause | codeparrot/github-code | 09352c4d8cf81dd2dc69e7c497645c84ad53bd24fbc242b81ac7c89add2f2ece | 0.75 | testing_debugging_repair_refactoring | 128 | false | 2026-07-17 |
#region License
// Copyright (c) 2007 - 2014, Northwestern University, Vladimir Kleper, Skip Talbot
// and Pattanasak Mongkolwat.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// Redi... | NCIP/annotation-and-image-markup | AimPlugin4.5/AIM.Annotation/AimDataServiceSendQueue.cs | https://github.com/NCIP/annotation-and-image-markup/blob/HEAD/AimPlugin4.5/AIM.Annotation/AimDataServiceSendQueue.cs | ghcode:00160:9f3d735e4000 | bsd-3-clause | codeparrot/github-code | 9f3d735e40004d005929593bbcee0b48c0a1f3db17d27fb563e719556455ec39 | 0.7 | testing_debugging_repair_refactoring | 2,056 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Xunit;
using FireworksNet.Selection;
using FireworksNet.Model;
namespace FireworksNet.Tests.Selection
{
public class BestSelectorTests
{
private readonly int samplingNumber;
private readonly int countFireworks;
private readonly Func... | tsimafei-markhel/Fireworks.NET | src/FireworksNet.Tests/Selection/BestSelectorTests.cs | https://github.com/tsimafei-markhel/Fireworks.NET/blob/HEAD/src/FireworksNet.Tests/Selection/BestSelectorTests.cs | ghcode:00160:a3f45d4631e3 | mit | codeparrot/github-code | a3f45d4631e331a1c6cc50b87b3164f8626005bf4c3aa880a307373957108790 | 0.75 | testing_debugging_repair_refactoring | 814 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Whois.Parsers;
namespace Whois.Parsing.Whois.Cdmon.Com.Com
{
[TestFixture]
public class ComParsingTests : ParsingTests
{
private WhoisParser parser;
[SetUp]
public void SetUp()
{
SerilogConfig.Init();
parse... | flipbit/whois | Whois.Tests/Parsing/whois.cdmon.com/com/ComParsingTests.cs | https://github.com/flipbit/whois/blob/HEAD/Whois.Tests/Parsing/whois.cdmon.com/com/ComParsingTests.cs | ghcode:00160:bf1420b2d7c8 | mit | codeparrot/github-code | bf1420b2d7c8591c0350b62c643411cbf84a051941fdb6aa59f14bd53579fb26 | 0.85 | testing_debugging_repair_refactoring | 1,142 | false | 2026-07-17 |
using System.Linq;
using GraphQL.Types;
using Should;
namespace GraphQL.Tests.Types
{
public class SchemaTests
{
[Test]
public void registers_interfaces_when_not_used_in_fields()
{
var schema = new AnInterfaceSchema();
schema.FindType("a");
var resul... | kthompson/graphql-dotnet | src/GraphQL.Tests/Types/SchemaTests.cs | https://github.com/kthompson/graphql-dotnet/blob/HEAD/src/GraphQL.Tests/Types/SchemaTests.cs | ghcode:00160:4a1ab09cca68 | mit | codeparrot/github-code | 4a1ab09cca68313b7e42edaf7c4c40a33f1bed59154eaec3f34e86fb55997df2 | 0.75 | testing_debugging_repair_refactoring | 1,137 | false | 2026-07-17 |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Azure.Messaging.ServiceBus;
using Microsoft.Azure.WebJobs.Host.Execu... | brjohnstmsft/azure-sdk-for-net | sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/tests/Listeners/ServiceBusListenerTests.cs | https://github.com/brjohnstmsft/azure-sdk-for-net/blob/HEAD/sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/tests/Listeners/ServiceBusListenerTests.cs | ghcode:00160:6ab7f50f7812 | mit | codeparrot/github-code | 6ab7f50f7812d3b03a2e7a834bb431f48d09055c7c38c485fda2572fc4cf27ae | 0.95 | testing_debugging_repair_refactoring | 1,042 | false | 2026-07-17 |
namespace Microsoft.ApplicationInsights.Extensibility.Implementation
{
using System.Collections.Generic;
using System.Reflection;
using Microsoft.ApplicationInsights.Extensibility.Implementation.External;
using Microsoft.VisualStudio.TestTools.UnitTesting;
/// <summary>
/// Portable tests... | pharring/ApplicationInsights-dotnet | BASE/Test/Microsoft.ApplicationInsights.Test/Microsoft.ApplicationInsights.Tests/Extensibility/Implementation/ComponentContextTest.cs | https://github.com/pharring/ApplicationInsights-dotnet/blob/HEAD/BASE/Test/Microsoft.ApplicationInsights.Test/Microsoft.ApplicationInsights.Tests/Extensibility/Implementation/ComponentContextTest.cs | ghcode:00160:18471929e4d9 | mit | codeparrot/github-code | 18471929e4d9423df07cd3e8483e0abb9fae3a0eda7a6b56630f02360f26ad1b | 0.95 | testing_debugging_repair_refactoring | 296 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using VerifyXunit;
using Xunit;
[UsesVerify]
public class RewritingIndexers
{
[Fact]
public Task NonNullableIndexerSetterWithFirstArgumentNull()
{
var type = AssemblyWeaver.Assembly.GetType("Indexers");
var instance = (dynamic) Activator.CreateIns... | Fody/NullGuard | TestsExplicit/RewritingIndexers.cs | https://github.com/Fody/NullGuard/blob/HEAD/TestsExplicit/RewritingIndexers.cs | ghcode:00160:41d8367c2d32 | mit | codeparrot/github-code | 41d8367c2d32921b5261ed27c0f35586a6510253bd4903d7836192378be10c4c | 0.6 | testing_debugging_repair_refactoring | 944 | false | 2026-07-17 |
using System;
using CrossApplication.Core.Common.Navigation;
using CrossApplication.Core.Contracts.Navigation;
using FluentAssertions;
using Xunit;
namespace CrossApplication.Core.Common.UnitTest._Navigation._ViewManager
{
public class AddViewItem
{
[Fact]
public void ShouldThrowArgumentExcept... | jan-schubert/CrossApplication | Source/Core/CrossApplication.Core.Common.UnitTest/_Navigation/_ViewManager/AddViewItem.cs | https://github.com/jan-schubert/CrossApplication/blob/HEAD/Source/Core/CrossApplication.Core.Common.UnitTest/_Navigation/_ViewManager/AddViewItem.cs | ghcode:00160:94d9db569bc7 | apache-2.0 | codeparrot/github-code | 94d9db569bc75098d66a60b9915c56109ab280d79038e55cb7968c8e7ffea4e3 | 0.75 | testing_debugging_repair_refactoring | 139 | 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 ma... | zerg-junior/incubator-reef | lang/cs/Org.Apache.REEF.Tests/Functional/FaultTolerant/PoisonTest.cs | https://github.com/zerg-junior/incubator-reef/blob/HEAD/lang/cs/Org.Apache.REEF.Tests/Functional/FaultTolerant/PoisonTest.cs | ghcode:00160:3449040c8177 | apache-2.0 | codeparrot/github-code | 3449040c8177591bfa73d3a56d115c64ab20f7cec9cbecc5065b5336032fea6e | 0.85 | testing_debugging_repair_refactoring | 1,087 | false | 2026-07-17 |
using System.Threading.Tasks;
namespace TestProject
{
public class Test
{
public static async Task<int> Main(string[] args)
{
await Task.Delay(1000);
return 1;
}
}
} | AndreyZM/Bridge | Compiler/TranslatorTests/TestProjects/31/Test.cs | https://github.com/AndreyZM/Bridge/blob/HEAD/Compiler/TranslatorTests/TestProjects/31/Test.cs | ghcode:00160:eb684c9b8fbc | apache-2.0 | codeparrot/github-code | eb684c9b8fbc37a8b630209d214da15ad6233f9a2c37c7438e330f2474a4459a | 0.75 | testing_debugging_repair_refactoring | 51 | false | 2026-07-17 |
// Copyright 2018 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 applic... | GoogleCloudPlatform/google-cloud-visualstudio | GoogleCloudExtension/GoogleCloudExtensionUnitTests/StackdriverLogsViewer/LogsViewerToolWindowCommandTests.cs | https://github.com/GoogleCloudPlatform/google-cloud-visualstudio/blob/HEAD/GoogleCloudExtension/GoogleCloudExtensionUnitTests/StackdriverLogsViewer/LogsViewerToolWindowCommandTests.cs | ghcode:00160:f5680b46b93f | apache-2.0 | codeparrot/github-code | f5680b46b93f8a47b8791445fe641463ef5f5f46bdaefba9569e68667c3c4199 | 0.85 | testing_debugging_repair_refactoring | 548 | false | 2026-07-17 |
using System;
using System.Net;
using Pchp.Core;
using FluentFTP;
using System.IO;
using System.Net.Sockets;
using Pchp.Library.Streams;
using System.Security.Authentication;
using Pchp.Core.Utilities;
using System.Diagnostics;
using System.Globalization;
using System.Threading.Tasks;
using System.Threading;
namespac... | iolevel/peachpie-concept | src/Peachpie.Library/Ftp.cs | https://github.com/iolevel/peachpie-concept/blob/HEAD/src/Peachpie.Library/Ftp.cs | ghcode:00160:158accf21e80 | apache-2.0 | codeparrot/github-code | 158accf21e802a7e12e493d6343c4b34a8ff182571ebc1cf50a2152b2976a696 | 0.85 | testing_debugging_repair_refactoring | 10,923 | 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.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.Compiler... | antonssonj/roslyn | src/Scripting/CSharpTest/ObjectFormatterTests.cs | https://github.com/antonssonj/roslyn/blob/HEAD/src/Scripting/CSharpTest/ObjectFormatterTests.cs | ghcode:00160:9c7d7c4a3d26 | apache-2.0 | codeparrot/github-code | 9c7d7c4a3d26b918cde31d5f093daf2d305ebf4e544f5ed1647584abc06a8291 | 0.85 | testing_debugging_repair_refactoring | 9,056 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Integer.Domain.Paroquia;
using Xunit;
namespace Integer.UnitTests.Domain.Paroquia
{
public class Local_Novo_Criado_Corretamente
{
Local local;
public Local_Novo_Criado_Corretamente()
{
... | integercal/integer | src/Test/Domain/Paroquia/Local_Novo_Criado_Corretamente.cs | https://github.com/integercal/integer/blob/HEAD/src/Test/Domain/Paroquia/Local_Novo_Criado_Corretamente.cs | ghcode:00160:3d54e18948e4 | apache-2.0 | codeparrot/github-code | 3d54e18948e4ce5a384a8975843546a2cd8db978545e41673b2aa87f32bac570 | 0.85 | testing_debugging_repair_refactoring | 120 | false | 2026-07-17 |
using System;
using System.Threading;
using CodeJam.PerfTests;
using CodeJam.PerfTests.Configs;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using static CodeJam.PerfTests.CompetitionRunHelpers;
// ReSharper disable once CheckNamespace
namespace CodeJam.Examples.PerfTests
{
// A perf test class.
[TestClass... | rsdn/CodeJam | PerfTests[WIP]/tests-MSTest/Examples/SimpleAllocPerfTest.cs | https://github.com/rsdn/CodeJam/blob/HEAD/PerfTests[WIP]/tests-MSTest/Examples/SimpleAllocPerfTest.cs | ghcode:00160:d73049258f01 | mit | codeparrot/github-code | d73049258f01ea9051268c3694bb244ae2433308dcb21ac9af797015e8a9a1a5 | 0.75 | testing_debugging_repair_refactoring | 490 | false | 2026-07-17 |
//
// UpdateTextWriterTests.cs
//
// Author:
// Scott Peterson <lunchtimemama@gmail.com>
//
// Copyright (c) 2010 Scott Peterson
//
// 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 Softwa... | mono/mono-upnp | tests/Mono.Upnp.Dcp.MediaServer1.Tests/UpdateTextWriterTests.cs | https://github.com/mono/mono-upnp/blob/HEAD/tests/Mono.Upnp.Dcp.MediaServer1.Tests/UpdateTextWriterTests.cs | ghcode:00160:c80e098f248d | mit | codeparrot/github-code | c80e098f248d7e00b3112e5fe82e3411e6d2f395eef6d3bea91dcf10236a36ef | 0.85 | testing_debugging_repair_refactoring | 1,268 | false | 2026-07-17 |
using AllReady.Areas.Admin.Controllers;
using Xunit;
using Moq;
using MediatR;
using AllReady.Areas.Admin.Features.Skills;
using Microsoft.AspNet.Mvc;
using System.Threading.Tasks;
using AllReady.Areas.Admin.Models;
using System.Collections.Generic;
using Microsoft.AspNet.Http;
using System.Security.Claims;
using AllR... | kmlewis/allReady | AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Controllers/SkillControllerTests.cs | https://github.com/kmlewis/allReady/blob/HEAD/AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Controllers/SkillControllerTests.cs | ghcode:00160:1ebed8291b7d | mit | codeparrot/github-code | 1ebed8291b7df195f9c8f4b7d2da54386a44f5117d80c529e79f6681474ed9c6 | 0.85 | testing_debugging_repair_refactoring | 5,787 | 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.Net;
using Microsoft.Azure.Management.Security;
using Microsoft.Azure.Management.Security.Models;
using Microsoft.Azure.Test.HttpRecor... | shahabhijeet/azure-sdk-for-net | src/SDKs/SecurityCenter/SecurityCenter.Tests/Locations/LocationsTests.cs | https://github.com/shahabhijeet/azure-sdk-for-net/blob/HEAD/src/SDKs/SecurityCenter/SecurityCenter.Tests/Locations/LocationsTests.cs | ghcode:00160:835e1c499f30 | mit | codeparrot/github-code | 835e1c499f302b0481644774d01b770758c439a5dda751ee29729ccc024830f8 | 0.75 | testing_debugging_repair_refactoring | 483 | false | 2026-07-17 |
using CslaGenerator.Metadata;
using NUnit.Framework;
namespace UnitTests.RelationRulesEngineTests
{
[TestFixture]
public class ParentType1
{
// EditableRoot
// EditableChild
// EditableSwitchable
// DynamicEditableRoot
// ReadOnlyObject
// Edi... | CslaGenFork/CslaGenFork | trunk/Solutions/UnitTests/RelationRulesEngineTests/ParentType1.cs | https://github.com/CslaGenFork/CslaGenFork/blob/HEAD/trunk/Solutions/UnitTests/RelationRulesEngineTests/ParentType1.cs | ghcode:00160:f77f9459cea2 | mit | codeparrot/github-code | f77f9459cea2d3607e4eb81d0c9419364721db9c937c452c885a481de7e5eb10 | 0.7 | testing_debugging_repair_refactoring | 620 | false | 2026-07-17 |
#region Using
using System;
using System.Data;
using bv.common.win;
using EIDSS.RAM;
using EIDSS.RAM.Presenters;
using EIDSS.RAM_DB.Views;
using EIDSS.Reports.OperationContext;
using NMock2;
using NUnit.Framework;
using Is = NMock2.Is;
#endregion
namespace EIDSS.Tests.RAM.UnitTests
{
[TestFixtur... | EIDSS/EIDSS-Legacy | EIDSS v6/vb/EIDSS/EIDSS.Tests/RAM/UnitTests/ContextTests.cs | https://github.com/EIDSS/EIDSS-Legacy/blob/HEAD/EIDSS v6/vb/EIDSS/EIDSS.Tests/RAM/UnitTests/ContextTests.cs | ghcode:00160:e544844dda4f | bsd-2-clause | codeparrot/github-code | e544844dda4fc5440932653159034b05da7c5f7dfc036f5e64f9ddf028d184a5 | 0.68 | testing_debugging_repair_refactoring | 816 | false | 2026-07-17 |
using Microsoft.Azure.Management.ProviderHub.Models;
using Microsoft.Rest.Azure;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using System.Collections.Generic;
using Xunit;
namespace Microsoft.Azure.Management.ProviderHub.Tests
{
public class CustomRolloutTests
{
[Fact]
public void ... | ayeletshpigelman/azure-sdk-for-net | sdk/providerhub/Microsoft.Azure.Management.ProviderHub/tests/ScenarioTests/CustomRolloutTests.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/providerhub/Microsoft.Azure.Management.ProviderHub/tests/ScenarioTests/CustomRolloutTests.cs | ghcode:00160:efedaf02a014 | mit | codeparrot/github-code | efedaf02a0149849a49b28321232fa36043099e25b8f017ed51c8ab9f6c12c0d | 0.85 | testing_debugging_repair_refactoring | 441 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests
{
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
... | DuncanmaMSFT/docfx | test/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests/SplitRestApiToTagLevelTest.cs | https://github.com/DuncanmaMSFT/docfx/blob/HEAD/test/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests/SplitRestApiToTagLevelTest.cs | ghcode:00160:e46cf8f16fc5 | mit | codeparrot/github-code | e46cf8f16fc5d7373c5ad8c8e7c7e693b5f12c6781ff73143fa8535ef5aaf612 | 0.7 | testing_debugging_repair_refactoring | 1,658 | 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.Diagnostics;
using System.IO;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;
using System.Runtime.Remoting.... | DavidKarlas/roslyn | src/Interactive/Features/Interactive/Core/InteractiveHost.cs | https://github.com/DavidKarlas/roslyn/blob/HEAD/src/Interactive/Features/Interactive/Core/InteractiveHost.cs | ghcode:00160:6eda67c8b274 | apache-2.0 | codeparrot/github-code | 6eda67c8b274d842ec6ea0dfcec84def49ac370654f01cce495d3102eceeee7d | 0.85 | testing_debugging_repair_refactoring | 3,161 | false | 2026-07-17 |
#region License
// CommandLineOptionFormatterTests.cs
// Copyright (c) 2013, Simon Williams
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provide
// d that the following conditions are met:
//
// Redistributions of source code mus... | spzSource/fluent-command-line-parser | FluentCommandLineParser.Tests/CommandLineOptionFormatterTests.cs | https://github.com/spzSource/fluent-command-line-parser/blob/HEAD/FluentCommandLineParser.Tests/CommandLineOptionFormatterTests.cs | ghcode:00160:f24a33fd0793 | bsd-2-clause | codeparrot/github-code | f24a33fd0793f4c97043ab1c0cafc93cc68da28f6313179d3511314aa574493d | 0.78 | testing_debugging_repair_refactoring | 1,414 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections;
using System.IO;
using System.Xml;
using System.Xml.Schema;
using Xunit;
us... | shmao/corefx | src/System.Private.Xml/tests/XmlSchema/XmlSchemaValidatorApi/PropertiesTests.cs | https://github.com/shmao/corefx/blob/HEAD/src/System.Private.Xml/tests/XmlSchema/XmlSchemaValidatorApi/PropertiesTests.cs | ghcode:00160:a6681e68d1e1 | mit | codeparrot/github-code | a6681e68d1e198af24d3945ca2f5550d3ea336defb2da12373452e248a79a552 | 0.95 | testing_debugging_repair_refactoring | 3,662 | false | 2026-07-17 |
using System;
namespace WebStack.QA.Test.OData
{
public static class ODataHelper
{
public static string GetHttpPrefix(string httpMethod)
{
switch (httpMethod)
{
case "GET":
return "Get";
case "POST":
... | lungisam/WebApi | OData/test/E2ETest/WebStack.QA.Test.OData/ODataHelper.cs | https://github.com/lungisam/WebApi/blob/HEAD/OData/test/E2ETest/WebStack.QA.Test.OData/ODataHelper.cs | ghcode:00160:b8cb4164a57f | mit | codeparrot/github-code | b8cb4164a57f519fc545c3531874b6c3c2153a74c662c11aafae60b9df9191f5 | 0.85 | testing_debugging_repair_refactoring | 153 | false | 2026-07-17 |
#if VSTEST
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using TestFixtureAttribute = Microsoft.VisualStudio.TestPlatform.UnitTestFramework.TestClassAttribute;
using TestAttribute = Microsoft.VisualStudio.TestPlatform.UnitTestFramework.AppContainer.UITestMethodAttribute;
#else
using NUnit.Framework;... | chamons/NGraphics | NGraphics.Test/ColorsToImageTests.cs | https://github.com/chamons/NGraphics/blob/HEAD/NGraphics.Test/ColorsToImageTests.cs | ghcode:00160:9859844afaad | mit | codeparrot/github-code | 9859844afaad872680bcac4f60b59e38fd403aaf808b6c6ba5a7ad933f491faa | 0.75 | testing_debugging_repair_refactoring | 899 | 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... | amarzavery/azure-powershell | src/ServiceManagement/Services/Commands.Test/Common/GeneralTest.cs | https://github.com/amarzavery/azure-powershell/blob/HEAD/src/ServiceManagement/Services/Commands.Test/Common/GeneralTest.cs | ghcode:00160:a6ef8947f40c | apache-2.0 | codeparrot/github-code | a6ef8947f40c556122c6ecd97cdab0e41be6f778046502ede7915cb235e888cf | 0.85 | testing_debugging_repair_refactoring | 410 | false | 2026-07-17 |
// ----------------------------------------------------------------------------
// <copyright company="Microsoft Corporation" file="ConcurrentExpiringSetTests.cs">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// ---------------------------------------------------------------------------... | ayeletshpigelman/azure-sdk-for-net | sdk/servicebus/Microsoft.Azure.ServiceBus/tests/Primitives/ConcurrentExpiringSetTests.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/servicebus/Microsoft.Azure.ServiceBus/tests/Primitives/ConcurrentExpiringSetTests.cs | ghcode:00160:c8459b7a396a | mit | codeparrot/github-code | c8459b7a396a5aeceaabc86681c1d45cdf01abaee3b9f7716a3c1adb777f0733 | 0.95 | testing_debugging_repair_refactoring | 422 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AllReady.Configuration;
using AllReady.Constants;
using AllReady.Controllers;
using AllReady.Extensions;
using AllReady.Features.Admin;
using AllReady.Features.Manage;
using AllReady.Models;
using AllReady.UnitTest.Extensions;
usin... | HamidMosalla/allReady | AllReadyApp/Web-App/AllReady.UnitTest/Controllers/AdminControllerTests.cs | https://github.com/HamidMosalla/allReady/blob/HEAD/AllReadyApp/Web-App/AllReady.UnitTest/Controllers/AdminControllerTests.cs | ghcode:00160:fbf4d447cf69 | mit | codeparrot/github-code | fbf4d447cf69980a06151b3084ae5d2eb96d837de4f4e9224c5a253d338e10b9 | 0.75 | testing_debugging_repair_refactoring | 7,141 | 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... | shahid-pk/corefx | src/System.Linq.Parallel/tests/QueryOperators/IntersectTests.cs | https://github.com/shahid-pk/corefx/blob/HEAD/src/System.Linq.Parallel/tests/QueryOperators/IntersectTests.cs | ghcode:00160:63845ebbd5e6 | mit | codeparrot/github-code | 63845ebbd5e6fbc044e7004be241adebfd13030268ef77347cf1df132f10f5c7 | 0.95 | testing_debugging_repair_refactoring | 3,830 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using Org.BouncyCastle.Crypto.Engines;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.Utilities.Encoders;
using Org.BouncyCastle.Utilities.Test;
namespace Org.BouncyCastle.Crypto.Tests
{
/**
* TEA tester - based on C implementation results from http://www.simo... | SchmooseSA/Schmoose-BouncyCastle | Tests/crypto/test/TEATest.cs | https://github.com/SchmooseSA/Schmoose-BouncyCastle/blob/HEAD/Tests/crypto/test/TEATest.cs | ghcode:00160:b4f469ddf9c6 | mit | codeparrot/github-code | b4f469ddf9c67a648036cd28452e03f4c1e0edf315528ee2a09fa1de00b91138 | 0.85 | testing_debugging_repair_refactoring | 592 | 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 Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.... | mmitche/roslyn | src/Compilers/CSharp/Test/Emit/Emit/EmitCustomModifiers.cs | https://github.com/mmitche/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/Emit/EmitCustomModifiers.cs | ghcode:00160:6f01409e4605 | apache-2.0 | codeparrot/github-code | 6f01409e460525359cbdb237e4ce47846008c4f10906834b8d88dfd1a46b644b | 0.95 | testing_debugging_repair_refactoring | 5,017 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.