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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
// 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 Internal.TypeSystem;
using Xunit;
namespace TypeSystemTests
{
public class ConstraintsValidationTest
... | zenos-os/zenos | vendor/corert/src/ILCompiler.TypeSystem/tests/ConstraintsValidationTest.cs | https://github.com/zenos-os/zenos/blob/HEAD/vendor/corert/src/ILCompiler.TypeSystem/tests/ConstraintsValidationTest.cs | ghcode:00160:c9d1d374bfe8 | mit | codeparrot/github-code | c9d1d374bfe8456678a5d461253e8a809e8b89ccc91feacdfaff6326fd55e5f6 | 0.95 | testing_debugging_repair_refactoring | 4,319 | 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.
// =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
//
// FixedMaxHeap.cs
//
/... | shimingsg/corefx | src/System.Linq.Parallel/src/System/Linq/Parallel/Utils/FixedMaxHeap.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Linq.Parallel/src/System/Linq/Parallel/Utils/FixedMaxHeap.cs | ghcode:00160:910150cb98c2 | mit | codeparrot/github-code | 910150cb98c24075d52bcb1061d0389345e47dbefba52fc7e30fbe669f02a628 | 0.95 | testing_debugging_repair_refactoring | 1,422 | 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.Text;
namespace System.Net.Mail
{
//Strea... | nbarbettini/corefx | src/System.Net.Mail/src/System/Net/Mail/SmtpReplyReaderFactory.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Net.Mail/src/System/Net/Mail/SmtpReplyReaderFactory.cs | ghcode:00160:ada724057049 | mit | codeparrot/github-code | ada72405704910595250f9d37f14a5e92f9cf91a9f210aad64daecd1b0fd5635 | 0.95 | testing_debugging_repair_refactoring | 3,038 | 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.Xml.XPath;
namespace System.Xml.Xsl.XsltOld
{
internal enum VariableType... | nbarbettini/corefx | src/System.Private.Xml/src/System/Xml/Xsl/XsltOld/VariableAction.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Private.Xml/src/System/Xml/Xsl/XsltOld/VariableAction.cs | ghcode:00160:42fc048ed03d | mit | codeparrot/github-code | 42fc048ed03d37993662a47c4a5c3ab7ed4e740c58638716c321481d56013d8e | 0.95 | testing_debugging_repair_refactoring | 1,209 | 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;
// test for classes
public class A<T> {}
public class B : A<C> {}
public class C : B {}
// test fo... | andschwa/coreclr | tests/src/Loader/classloader/generics/regressions/137310/test137310.cs | https://github.com/andschwa/coreclr/blob/HEAD/tests/src/Loader/classloader/generics/regressions/137310/test137310.cs | ghcode:00160:f903b1b345f6 | mit | codeparrot/github-code | f903b1b345f6539a3534309d61184b00260686040787573968a9ef3acfaa07b3 | 0.95 | testing_debugging_repair_refactoring | 304 | false | 2026-07-17 |
namespace Scool.Tests
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using School;
[TestClass]
public class CourseTests
{
/*private Course sampleCourse = new Course("Unit Testing");
private Student sampleStudent = new Student("Kircho", "Ronaldov");
... | tpopov94/Telerik-Academy-2016 | Hiqh Quality Code/Unit Testing/Homeworks/Unit Testing/School/Scool.Tests/CourseTests.cs | https://github.com/tpopov94/Telerik-Academy-2016/blob/HEAD/Hiqh Quality Code/Unit Testing/Homeworks/Unit Testing/School/Scool.Tests/CourseTests.cs | ghcode:00160:c4a69884aa49 | mit | codeparrot/github-code | c4a69884aa49e4b5fe106fac3e27f0caa6a52d430d25f89a56770888664d6fb5 | 0.75 | testing_debugging_repair_refactoring | 534 | false | 2026-07-17 |
using Fortis.Model.Fields;
using Xunit;
namespace Fortis.Tests.Model.Fields
{
/// <summary>
/// Test Methods Syntax: [Testing method/property name]_[given condition/input parameters]_[Expected behavior]
/// </summary>
/// <seealso cref="Fortis.Tests.Model.Fields.FieldWrapperTestClass{Fortis.Model.Fiel... | Fortis-Collection/fortis | src/Fortis.Tests/Model/Fields/NumberFieldWrapperTests.cs | https://github.com/Fortis-Collection/fortis/blob/HEAD/src/Fortis.Tests/Model/Fields/NumberFieldWrapperTests.cs | ghcode:00160:3ecca8429a6b | mit | codeparrot/github-code | 3ecca8429a6b8b3c6843e38eee656f3fc3b630faa0ba743e3161252ed141e0b8 | 0.85 | testing_debugging_repair_refactoring | 257 | false | 2026-07-17 |
using System.Xml.Linq;
using Pantheon.Server.Config;
using Pantheon.Server.Config.Xml;
using Xunit;
namespace Pantheon.Tests.Server.Config
{
public class XmlTests
{
const string Data =
@"<Object>
<TestValue>Hello</TestValue>
<TestNode Attributes=""Simple"">
<TestItem Something=""MyValue"... | seaboy1234/Pantheon | Pantheon.Tests/Server.Config/XmlTests.cs | https://github.com/seaboy1234/Pantheon/blob/HEAD/Pantheon.Tests/Server.Config/XmlTests.cs | ghcode:00160:51b49077ef0b | mit | codeparrot/github-code | 51b49077ef0b8d448cbf5bcdbc67cb0b9efffde78a77565e172a984ea4895c28 | 0.75 | testing_debugging_repair_refactoring | 298 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Agiil.Domain.Tickets;
using Agiil.Domain.Tickets.RelationshipValidation;
using Agiil.Tests.Attributes;
using CSF.Entities;
using Moq;
using NUnit.Framework;
using AutoFixture.NUnit3;
namespace Agiil.Tests.Tickets.RelationshipValidation
{
[TestFixture, Paralleliz... | csf-dev/agiil | Tests/Agiil.Tests.Domain/Tickets/RelationshipValidation/PossiblyCircularHierarchicalTicketRelationshipProviderAdapterTests.cs | https://github.com/csf-dev/agiil/blob/HEAD/Tests/Agiil.Tests.Domain/Tickets/RelationshipValidation/PossiblyCircularHierarchicalTicketRelationshipProviderAdapterTests.cs | ghcode:00160:45c902549169 | mit | codeparrot/github-code | 45c9025491692b9e9f09e4f35bacf2c444953b04cb53d18b2fae8f4c48b2da49 | 0.75 | testing_debugging_repair_refactoring | 828 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SpirvNet.Spirv.Enums;
// This file is auto-generated and should not be modified manually.
namespace SpirvNet.Spirv.Ops.TypeDeclaration
{
/// <summary>
/// OpTypeEvent
///
/// Decl... | Philip-Trettner/SpirvNet | SpirvNet/SpirvNet/Spirv/Ops/TypeDeclaration/OpTypeEvent.cs | https://github.com/Philip-Trettner/SpirvNet/blob/HEAD/SpirvNet/SpirvNet/Spirv/Ops/TypeDeclaration/OpTypeEvent.cs | ghcode:00160:010aebd929d4 | mit | codeparrot/github-code | 010aebd929d48bf10882b7087d52dc715f292e756884bbfe7e7b74998cfe7f05 | 0.85 | testing_debugging_repair_refactoring | 329 | false | 2026-07-17 |
using System.Threading.Tasks;
using Xunit;
namespace Prometheus.Client.Tests.UntypedTests
{
public class CollectionTests
{
private const string _resourcesNamespace = "Prometheus.Client.Tests.UntypedTests.Resources";
[Fact]
public Task EmptyCollection()
{
return Coll... | phnx47/Prometheus.Client | tests/Prometheus.Client.Tests/UntypedTests/CollectionTests.cs | https://github.com/phnx47/Prometheus.Client/blob/HEAD/tests/Prometheus.Client.Tests/UntypedTests/CollectionTests.cs | ghcode:00160:81dedbbfe72d | mit | codeparrot/github-code | 81dedbbfe72ded536e643a35d7ba6c6c9436804e291f0958dd4ff4ef69de2d87 | 0.75 | testing_debugging_repair_refactoring | 228 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Clustering.SolutionModel;
using Clustering.SolutionModel.Nodes;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using static System.String;
namespace Tests.Building.TestExtensions
{
class ... | davidkron/Clustering | Tests/Building/TestExtensions/TreeAssert.cs | https://github.com/davidkron/Clustering/blob/HEAD/Tests/Building/TestExtensions/TreeAssert.cs | ghcode:00160:6424550b364f | mit | codeparrot/github-code | 6424550b364f0b81437b021045983ba6459e674371b9c0a4f19f7dda08068dd1 | 0.6 | testing_debugging_repair_refactoring | 376 | 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... | joshball/Lucene.In.Action.NET | vendor/lucene.net/test/core/Index/TestTermdocPerf.cs | https://github.com/joshball/Lucene.In.Action.NET/blob/HEAD/vendor/lucene.net/test/core/Index/TestTermdocPerf.cs | ghcode:00160:da1b82142f66 | mit | codeparrot/github-code | da1b82142f66357584ffcd8f21bbe1d07b07a2233f3369b6dee3a927069a02d1 | 0.95 | testing_debugging_repair_refactoring | 1,236 | false | 2026-07-17 |
//__________________________________________________________________________________________________
//
// Copyright (C) 2021, Mariusz Postol LODZ POLAND.
//
// To be in touch join the community at GitHub: https://github.com/mpostol/OPC-UA-OOI/discussions
//___________________________________________________________... | mpostol/OPC-UA-OOI | SemanticData/Tests/AddressSpaceComplianceTestToolUnitTests/Instrumentation/Extensions.cs | https://github.com/mpostol/OPC-UA-OOI/blob/HEAD/SemanticData/Tests/AddressSpaceComplianceTestToolUnitTests/Instrumentation/Extensions.cs | ghcode:00160:168929de10bb | mit | codeparrot/github-code | 168929de10bb858a001d35d1c0d334707c8eafe50151eb8e0568726aebab40e6 | 0.95 | testing_debugging_repair_refactoring | 192 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using YanZhiwei.DotNet2.Utilities.Common;
namespace YanZhiwei.DotNet2.Utilities.DataOperator.Tests
{
[TestClass()]
public class TimeSpanHelperTests
{
[TestMethod()]
public void ParseTimeStringTest()
{
Ass... | YanZhiwei/DotNet.Utilities | YanZhiwei.DotNet2.Utilities.Tests/Common/TimeSpanHelperTests.cs | https://github.com/YanZhiwei/DotNet.Utilities/blob/HEAD/YanZhiwei.DotNet2.Utilities.Tests/Common/TimeSpanHelperTests.cs | ghcode:00160:dd1e21f54c4e | mit | codeparrot/github-code | dd1e21f54c4e23f0c68820513a623987ae37ca3a5c3ba8e88970980f0e0b735a | 0.75 | testing_debugging_repair_refactoring | 204 | false | 2026-07-17 |
namespace Dirtybase.Tests
{
public class TestTypes
{
public const string Unit = "Unit";
public const string LongRunning = "EndToEnd";
}
} | SneakyPeet/Dirtybase | src/Dirtybase.Tests/TestTypes.cs | https://github.com/SneakyPeet/Dirtybase/blob/HEAD/src/Dirtybase.Tests/TestTypes.cs | ghcode:00160:3656d995153f | mit | codeparrot/github-code | 3656d995153f3c4f3fe347ff718814cbceb39bfe4547555a07799ebc6915ed95 | 0.5 | testing_debugging_repair_refactoring | 37 | false | 2026-07-17 |
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using NUnit.Framework;
using Shouldly;
namespace Coderoom.LoadBalancer.IntegrationTests
{
public class PortListenerTests
{
[TestFixture]
public class when_port_listener_receives_connection
{
ManualResetEvent _event;
Por... | ArnoldZokas/coderoom-load-balancer | Coderoom.LoadBalancer.IntegrationTests/PortListenerTests.cs | https://github.com/ArnoldZokas/coderoom-load-balancer/blob/HEAD/Coderoom.LoadBalancer.IntegrationTests/PortListenerTests.cs | ghcode:00160:0601ee39dc3a | mit | codeparrot/github-code | 0601ee39dc3af1fc6a6a583d9348b18d98bc2f723f34626913f26bd73bcba16e | 0.75 | testing_debugging_repair_refactoring | 335 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Globalization;
namespace Test.NewsReader.Domain.UnitTesting
{
[TestClass]
public abstract class DomainTest
{
public TestContext TestContext { get; set; } = null!;
[TestInitialize]
public void Initialize(... | jbe2277/waf | src/NewsReader/NewsReader.Domain.Test/UnitTesting/DomainTest.cs | https://github.com/jbe2277/waf/blob/HEAD/src/NewsReader/NewsReader.Domain.Test/UnitTesting/DomainTest.cs | ghcode:00160:13be0f006720 | mit | codeparrot/github-code | 13be0f0067203024fff09b128e3f966b7355c5ea030cd1c7e088f053ace04a5a | 0.6 | testing_debugging_repair_refactoring | 132 | false | 2026-07-17 |
using System;
using FluentAssertions;
using NUnit.Framework;
namespace MyInfluxDbClient.UnitTests
{
[TestFixture]
public class WriteOptionsTests : UnitTestsOf<WriteOptions>
{
protected override void OnBeforeEachTest()
{
SUT = new WriteOptions();
}
[Test]
... | danielwertheim/myinfluxdbclient | src/tests/MyInfluxDbClient.UnitTests/WriteOptionsTests.cs | https://github.com/danielwertheim/myinfluxdbclient/blob/HEAD/src/tests/MyInfluxDbClient.UnitTests/WriteOptionsTests.cs | ghcode:00160:21dd2a7af9ed | mit | codeparrot/github-code | 21dd2a7af9ed259f4b8061c48f301e318f97f32a255f7f584b6cd94e2fb6f95f | 0.85 | testing_debugging_repair_refactoring | 286 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace fun.Hotels.Ef.UnitTests
{
[TestClass]
public class HotelFactoryUnitTest
{
[TestMethod]
public void Map_Should_Return_Valid_HotelRoomModel()
{
// arrange
// act
// assert
}
... | toddbadams/FunWithEf | Ef.UnitTests/HotelFactoryUnitTest.cs | https://github.com/toddbadams/FunWithEf/blob/HEAD/Ef.UnitTests/HotelFactoryUnitTest.cs | ghcode:00160:499260ad786c | mit | codeparrot/github-code | 499260ad786cc42dd41a509082741e91519a97080da5cfbd84dac1f2681c5a21 | 0.7 | testing_debugging_repair_refactoring | 66 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace TestHL7Enumerator
{
[TestClass]
public class TestHL7EnumeratorParseOnly
{
private const string MSH = @"MSH|^~\&|CERNER||PriorityHealth||||ORU^R01|Q479004375T431430612|P|2.3|";
private const string PID = @"PID|||001... | glenkleidon/HL7Enumerator | Deprecated/TestHL7Enumerator/TestHL7EnumeratorParseOnly.cs | https://github.com/glenkleidon/HL7Enumerator/blob/HEAD/Deprecated/TestHL7Enumerator/TestHL7EnumeratorParseOnly.cs | ghcode:00160:5357c63f7e4a | mit | codeparrot/github-code | 5357c63f7e4ad61372afaa40705baf7038294166ce7b13e979d0a0f19a129d51 | 0.75 | testing_debugging_repair_refactoring | 1,182 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Ev3Controller.Ev3Command;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ev3Controller.Ev3Command.Tests
{
[TestClass()]
public class Command_30_00_Tests
{
... | CountrySideEngineer/Ev3Controller | dev/src/Ev3ControllerTests/Ev3Command/Command_30_00_Tests.cs | https://github.com/CountrySideEngineer/Ev3Controller/blob/HEAD/dev/src/Ev3ControllerTests/Ev3Command/Command_30_00_Tests.cs | ghcode:00160:0ca83aa6f138 | mit | codeparrot/github-code | 0ca83aa6f138b8365ed60e69bbdfdbb4fd46b8acd3012577b461fa63fe0d6630 | 0.85 | testing_debugging_repair_refactoring | 279 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Threading;
using Gibraltar.Agent;
using Gibraltar.Agent.Metrics;
using NUnit.Framework;
namespace Loupe.Agent.Test.Metrics
{
[TestFixture]
public class SampledMetricsByAttributesTests
{
private const int MessagesPerTest = 10000;
#region... | GibraltarSoftware/Loupe.Agent.Core | src/Agent.Test/Metrics/SampledMetricsByAttributesTests.cs | https://github.com/GibraltarSoftware/Loupe.Agent.Core/blob/HEAD/src/Agent.Test/Metrics/SampledMetricsByAttributesTests.cs | ghcode:00160:75a42e1b0a0a | mit | codeparrot/github-code | 75a42e1b0a0a3fb52217bc89814bb41c8c2a546c1e36a4595ed4516646d64be6 | 0.85 | testing_debugging_repair_refactoring | 3,690 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace Tokens.Extensions
{
[TestFixture]
public class ObjectExtensionsTests
{
private class Foo
{
public Bar Bar { get; set; }
public string Baz { get; set; }
public int? Boo { get; set; }
}
publ... | flipbit/tokenizer | Tokenizer.Tests/Extensions/ObjectExtensionsTests.cs | https://github.com/flipbit/tokenizer/blob/HEAD/Tokenizer.Tests/Extensions/ObjectExtensionsTests.cs | ghcode:00160:c203b9137651 | mit | codeparrot/github-code | c203b9137651f74610fee06216a15e0129664bfe3a23c1fa82bbeaf629026304 | 0.75 | testing_debugging_repair_refactoring | 645 | false | 2026-07-17 |
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestHelper;
namespace ExceptionAnalyzer.Test
{
[TestClass]
public class ThrowNewExceptionAnalyzerTests : CodeFixVerifier
{
private const string TestBase = @"
... | SergeyTeplyakov/ExceptionAnalyzer | src/ExceptionAnalyzer/ExceptionAnalyzer.Test/ThrowNewExceptionAnalyzerTests.cs | https://github.com/SergeyTeplyakov/ExceptionAnalyzer/blob/HEAD/src/ExceptionAnalyzer/ExceptionAnalyzer.Test/ThrowNewExceptionAnalyzerTests.cs | ghcode:00160:f57de518af95 | mit | codeparrot/github-code | f57de518af956f773407f9fcd108b72e37988f18ecc55228de688dc0bb97b5bc | 0.75 | testing_debugging_repair_refactoring | 1,212 | false | 2026-07-17 |
namespace NFCerta.NFe.Tests
{
using NFCerta.NFe.Tests.Helpers;
using Xunit;
public class QrCodeParametrosTests
{
[Fact]
public void QrCodeParametrosDevemSerGerados()
{
var nota = MockData.NFCe.Value;
}
}
}
| nfcerta/NFCerta.NFe | src/NFCerta.NFe.Tests/QrCodeParametrosTests.cs | https://github.com/nfcerta/NFCerta.NFe/blob/HEAD/src/NFCerta.NFe.Tests/QrCodeParametrosTests.cs | ghcode:00160:afcfae9d1a4f | mit | codeparrot/github-code | afcfae9d1a4fa3c53ddaf943e99cfff042b26713b235f430f78939612d4551e8 | 0.75 | testing_debugging_repair_refactoring | 70 | false | 2026-07-17 |
using System;
using System.Threading;
using NUnit.Framework;
using Tharga.Toolkit.Console.Entities;
using Tharga.Toolkit.Console.Helpers;
namespace Tharga.Toolkit.Console.Tests
{
[TestFixture]
public class Entry_command_tests
{
[Test]
public void Should_return_the_string_that_was_entered()... | poxet/tharga-console | Tharga.Toolkit.Console.Tests/Entry_command_tests.cs | https://github.com/poxet/tharga-console/blob/HEAD/Tharga.Toolkit.Console.Tests/Entry_command_tests.cs | ghcode:00160:e794072f86fc | mit | codeparrot/github-code | e794072f86fc17f66c6e09e8de1a1b4e45e73785362e8dd4a681b49186095909 | 0.85 | testing_debugging_repair_refactoring | 178 | false | 2026-07-17 |
using System;
using System.Runtime.Serialization;
namespace Studiotaiha.Toolkit.Core.Tests.Settings
{
[DataContract]
class SettingsTestClass : IEquatable<SettingsTestClass>
{
[DataMember]
public int Int { get; set; }
[DataMember]
public string String { get; set; }
[DataMember]
public float Float { g... | yas-mnkornym/TaihaToolkit | source/TaihaToolkit.Core.Tests/Settings/TestClass.cs | https://github.com/yas-mnkornym/TaihaToolkit/blob/HEAD/source/TaihaToolkit.Core.Tests/Settings/TestClass.cs | ghcode:00160:2cbea3d86b53 | mit | codeparrot/github-code | 2cbea3d86b53d2b04102bdead52c565b0ee41ab81541eefb17d9f2120ead5627 | 0.75 | testing_debugging_repair_refactoring | 306 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Xunit;
using Binance.Api;
namespace Binance.Tests.Api
{
[Collection("Timing Sensitive Tests")]
public class RateLimiterTest
{
[Fact]
public void CountThrows()
{
var rateLimiter = new RateLimiter... | sonvister/Binance | test/Binance.Tests/Api/RateLimiterTest.cs | https://github.com/sonvister/Binance/blob/HEAD/test/Binance.Tests/Api/RateLimiterTest.cs | ghcode:00160:416b8e085456 | mit | codeparrot/github-code | 416b8e085456b4615534a9fab60d64e23494e4eb1e84c0db13d9e5a517e2accb | 0.75 | testing_debugging_repair_refactoring | 393 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using NWheels.Testability.Extensions;
using Xunit;
namespace NWheels.Testability.Tests.Unit
{
public c... | felix-b/NWheels | Source/Core/Testability/NWheels.Testability.Tests/Unit/HttpAssertTests.cs | https://github.com/felix-b/NWheels/blob/HEAD/Source/Core/Testability/NWheels.Testability.Tests/Unit/HttpAssertTests.cs | ghcode:00160:94ca8a8696b1 | mit | codeparrot/github-code | 94ca8a8696b1b273390b7a9227293e1e7e38b57d224cde834a6101e2fecd5a82 | 0.85 | testing_debugging_repair_refactoring | 1,446 | false | 2026-07-17 |
using System.Collections.Generic;
using ApprovalTests.Html;
using NancyContrib.Chameleon.Component.Config;
using NUnit.Framework;
namespace NancyContrib.Chameleon.Tests.FieldGenerator.DefaultFieldGenerator
{
class EnumTests : DefaultFieldGeneratorShould
{
[Test]
public void Use_corre... | GiscardBiamby/NancyContrib.Chameleon | ChameleonForms.Tests/FieldGenerator/DefaultFieldGenerator/EnumTests.cs | https://github.com/GiscardBiamby/NancyContrib.Chameleon/blob/HEAD/ChameleonForms.Tests/FieldGenerator/DefaultFieldGenerator/EnumTests.cs | ghcode:00160:4d9dd45e19be | mit | codeparrot/github-code | 4d9dd45e19be38b7e5a65f8928c7edeb4235fde7e72ae64ba2eefd1f129b7810 | 0.75 | testing_debugging_repair_refactoring | 758 | false | 2026-07-17 |
using Moq;
using NUnit.Framework;
using PoESkillTree.Computation.Core.Events;
namespace PoESkillTree.Computation.Core.Tests.Events
{
[TestFixture]
public class SuspendableEventViewProviderTest
{
[Test]
public void CreateReturnsCorrectInstance()
{
var defaultView = Mock.... | l0g0sys/PoESkillTree | PoESkillTree.Computation.Core.Tests/Events/SuspendableEventViewProviderTest.cs | https://github.com/l0g0sys/PoESkillTree/blob/HEAD/PoESkillTree.Computation.Core.Tests/Events/SuspendableEventViewProviderTest.cs | ghcode:00160:add24126bbab | mit | codeparrot/github-code | add24126bbabf5e68a76e73597c5728a1edbcb3153f0657866811769e5a2fa81 | 0.6 | testing_debugging_repair_refactoring | 311 | false | 2026-07-17 |
using System;
using System.CodeDom;
using Xunit;
using Xunit.Extensions;
using Xunit.Sdk;
namespace Simple.OData.Client.Tests
{
public class ValueConversionTests
{
[Theory]
[InlineData(1, typeof(int), typeof(byte))]
[InlineData(1, typeof(int), typeof(short))]
[InlineData(1, typ... | FundsLibrary/Simple.OData.Client | Simple.OData.Client.Tests.Core/ValueConversionTests.cs | https://github.com/FundsLibrary/Simple.OData.Client/blob/HEAD/Simple.OData.Client.Tests.Core/ValueConversionTests.cs | ghcode:00160:ed07b5d36963 | mit | codeparrot/github-code | ed07b5d369635f8a7d8f39618ba8b9d83faadc06efef2cad3bd274f18e53fe60 | 0.75 | testing_debugging_repair_refactoring | 401 | false | 2026-07-17 |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.CodeGeneration
{
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using Sys... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/SyntaxLightupGenerator.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/SyntaxLightupGenerator.cs | ghcode:00160:29324454b224 | mit | codeparrot/github-code | 29324454b224ed7dad4c02120ea0ae26c1aadddc549ff5fa2a0f0142a4363443 | 0.72 | testing_debugging_repair_refactoring | 11,814 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OrquestraErrorLogParser;
namespace OrquestraErrorLogTest
{
[TestClass]
public class DirectoryValidationTest
{
/// <summary>
///A test for Director... | orquestra/OrquestraErrorLogParser | OrquestraErrorLogTest/DirectoryValidationTest.cs | https://github.com/orquestra/OrquestraErrorLogParser/blob/HEAD/OrquestraErrorLogTest/DirectoryValidationTest.cs | ghcode:00160:b58d6fd8f304 | mit | codeparrot/github-code | b58d6fd8f3049707c8c21edbf590a31e834b7e3e89e693f0506c37e1e43ccf73 | 0.7 | testing_debugging_repair_refactoring | 563 | false | 2026-07-17 |
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Game.Screens.Select;
using OpenTK;
namespace osu.Desktop.Tests.Visual
{
[TestFixture]
... | Damnae/osu | osu.Desktop.Tests/Visual/TestCaseBeatmapDetailArea.cs | https://github.com/Damnae/osu/blob/HEAD/osu.Desktop.Tests/Visual/TestCaseBeatmapDetailArea.cs | ghcode:00160:ac5f65e7f997 | mit | codeparrot/github-code | ac5f65e7f997b525b5225f9ddcd882f92f1575919ab8437d2595f41e5a952b67 | 0.85 | testing_debugging_repair_refactoring | 170 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.IO;
using System.Threading;
using Kitware.VTK;
namespace VtkConsoleTest
{
internal class Program
{
private static void Main(string[] args)
{
try
{
LinePlotTest();
}
... | banlian/vtk_cs_winform_demo | VtkTest/Program.cs | https://github.com/banlian/vtk_cs_winform_demo/blob/HEAD/VtkTest/Program.cs | ghcode:00160:2b52d6ec0e1b | mit | codeparrot/github-code | 2b52d6ec0e1b3ea318047859ebbb80ed0e9fe147e20909e85b77ce1612dbaa23 | 0.6 | testing_debugging_repair_refactoring | 998 | false | 2026-07-17 |
/*
* OleDbFindObjectCommandUseSprocTest.cs 12/26/2002
*
* Copyright 2002 Screen Show, Inc. All rights reserved.
* PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
using System;
using System.Data;
using System.Data.SqlClient;
using System.Collections;
using NUnit.Framework;
using Inform;... | mlehman/inform | src/Inform.Tests/OleDb/OleDbFindObjectCommandUseSprocTest.cs | https://github.com/mlehman/inform/blob/HEAD/src/Inform.Tests/OleDb/OleDbFindObjectCommandUseSprocTest.cs | ghcode:00160:d030d62ce8e4 | mit | codeparrot/github-code | d030d62ce8e4482ac7ad5c1680bc55c9286f6dc68b2385d7e04135bf00aa5c9c | 0.6 | testing_debugging_repair_refactoring | 218 | false | 2026-07-17 |
using Microsoft.Xrm.Sdk;
#if NET
using DataverseUnitTest.Builders;
#else
using DLaB.Xrm.Test.Builders;
#endif
namespace XrmUnitTest.Test.Builders
{
public abstract class EntityBuilder<TEntity,TBuilder> : DLaBEntityBuilder<TEntity,TBuilder>
where TBuilder : EntityBuilder<TEntity, TBuilder>
where TE... | daryllabar/XrmUnitTest | XrmUnitTest.Test.Base/Builders/EntityBuilder.cs | https://github.com/daryllabar/XrmUnitTest/blob/HEAD/XrmUnitTest.Test.Base/Builders/EntityBuilder.cs | ghcode:00160:b0774628ab1b | mit | codeparrot/github-code | b0774628ab1b93a0f665eb4437315d2313ae215827d376cac2f6424ebbd74752 | 0.75 | testing_debugging_repair_refactoring | 82 | false | 2026-07-17 |
using Memoriser.App;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.Configuration;
using System.Threading.Tasks;
using FluentAssertions;
using Xunit;
namespace Memoriser.IntegrationTests
{
public class StartupTests
{
[Fact]
public async Task... | dwragge/memoriser | Memoriser.IntegrationTests/StartupTests.cs | https://github.com/dwragge/memoriser/blob/HEAD/Memoriser.IntegrationTests/StartupTests.cs | ghcode:00160:ad70b0a1c4a9 | mit | codeparrot/github-code | ad70b0a1c4a9bd4ad0b0ce50b5791e6ebd1cf1c563d30ddd2fccf47b6a119f51 | 0.75 | testing_debugging_repair_refactoring | 154 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Xunit;
using Xunit.Sdk;
using static Microsoft.CodeAnalysis.CSharp.Sy... | Moq/moq | src/Moq.CodeAnalysis.UnitTests/Helpers/AssertCode.cs | https://github.com/Moq/moq/blob/HEAD/src/Moq.CodeAnalysis.UnitTests/Helpers/AssertCode.cs | ghcode:00160:0056f7d99e53 | apache-2.0 | codeparrot/github-code | 0056f7d99e53b727f526037d0577dac8171d3672c20cdb225088d6ebcc68f8c7 | 0.85 | testing_debugging_repair_refactoring | 1,006 | 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 Microsoft.CodeAnalysis.Editor.EditorConfigSettings;
using Microsoft.CodeAnalysis.Editor.EditorC... | eriawan/roslyn | src/EditorFeatures/CSharpTest/EditorConfigSettings/Aggregator/SettingsAggregatorTests.cs | https://github.com/eriawan/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/EditorConfigSettings/Aggregator/SettingsAggregatorTests.cs | ghcode:00160:d7a74553033c | apache-2.0 | codeparrot/github-code | d7a74553033c8e373423b18bf4a093620ea6224165c9aa172b9e1b0b6fa8d84b | 0.85 | testing_debugging_repair_refactoring | 457 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Text;
namespace YAF.Lucene.Net.Search
{
/*
* 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 owne... | Pathfinder-Fr/YAFNET | yafsrc/Lucene.Net/Lucene.Net/Search/DocTermOrdsRangeFilter.cs | https://github.com/Pathfinder-Fr/YAFNET/blob/HEAD/yafsrc/Lucene.Net/Lucene.Net/Search/DocTermOrdsRangeFilter.cs | ghcode:00160:818fdf2e3a62 | apache-2.0 | codeparrot/github-code | 818fdf2e3a62f1b15cb2a62d1451f79ab9205933f56e71b1d50187f373550440 | 0.85 | testing_debugging_repair_refactoring | 2,091 | false | 2026-07-17 |
using Nest;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Take.Elephant.Elasticsearch;
using Take.Elephant.Elasticsearch.Mapping;
using Xunit;
namespace Take.Elephant.Tests.Elasticsearch
{
[Trait("Category", nameof(Elasticsearch))]
pu... | takenet/elephant | src/Take.Elephant.Tests/ElasticSearch/ElasticSearchItemSetFacts.cs | https://github.com/takenet/elephant/blob/HEAD/src/Take.Elephant.Tests/ElasticSearch/ElasticSearchItemSetFacts.cs | ghcode:00160:89b3f28ae452 | apache-2.0 | codeparrot/github-code | 89b3f28ae4523fe6b027f7021fd765b05a732528762e54108342b3661617e1fb | 0.6 | testing_debugging_repair_refactoring | 254 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace FSharp.Dnx.UnitTests
{
/// Check xunit works
public class XUnitSmoke
{
[Fact]
public void PassingTest()
{
Assert.Equal(4, Add(2, 2));
}
... | fsprojects/fsharp-dnx | test/FSharp.Dnx.UnitTests/XUnitSmoke.cs | https://github.com/fsprojects/fsharp-dnx/blob/HEAD/test/FSharp.Dnx.UnitTests/XUnitSmoke.cs | ghcode:00160:bc853c5633d0 | apache-2.0 | codeparrot/github-code | bc853c5633d044e556b81dac73f1d26c81b52558622c0d20988692a16d4be64f | 0.6 | testing_debugging_repair_refactoring | 94 | false | 2026-07-17 |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OrderedTestFileGenerator;
namespace OrderedTestFileGeneratorTests
{
[TestClass]
public class CategoryParserTests
{
[TestMethod]
public void AddCategories_VerifyAdd_CategoryAdded()
{
... | andywilsonuk/OrderedTestFileGenerator | OrderedTestFileGeneratorTests/CategoryParserTests.cs | https://github.com/andywilsonuk/OrderedTestFileGenerator/blob/HEAD/OrderedTestFileGeneratorTests/CategoryParserTests.cs | ghcode:00160:18e013638207 | apache-2.0 | codeparrot/github-code | 18e0136382074fae79ef056073dcb3e629e8c89c3dc3f0683296a7a6429e2bc0 | 0.75 | testing_debugging_repair_refactoring | 112 | 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/licens... | neo4j/neo4j-dotnet-driver | Neo4j.Driver/Neo4j.Driver.Tests/Internal/MessageHandling/Metadata/QueryIdCollectorTests.cs | https://github.com/neo4j/neo4j-dotnet-driver/blob/HEAD/Neo4j.Driver/Neo4j.Driver.Tests/Internal/MessageHandling/Metadata/QueryIdCollectorTests.cs | ghcode:00160:19186e5cd154 | apache-2.0 | codeparrot/github-code | 19186e5cd1548643e83f0ffa300739add9381b974ea734714126459e8312726b | 0.85 | testing_debugging_repair_refactoring | 559 | false | 2026-07-17 |
// cassandra-sharp - high performance .NET driver for Apache Cassandra
// Copyright (c) 2011-2013 Pierre Chalamet
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://ww... | pchalamet/cassandra-sharp | CassandraSharpUnitTests/Endurance/EnduranceTest.cs | https://github.com/pchalamet/cassandra-sharp/blob/HEAD/CassandraSharpUnitTests/Endurance/EnduranceTest.cs | ghcode:00160:64fb7f6a24e6 | apache-2.0 | codeparrot/github-code | 64fb7f6a24e664ed44ab92c1a188c9ebe83f10af45c00d3f8c60c2d23b3776dd | 0.7 | testing_debugging_repair_refactoring | 880 | false | 2026-07-17 |
using DotVVM.Framework.ViewModel;
using DotvvmAcademy.CourseFormat;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DotvvmAcademy.Web.Pages.Test
{
public class TestViewModel : DotvvmViewModelBase
{
private readonly CourseWorkspace workspace;
public... | riganti/dotvvm-samples-academy | src/DotvvmAcademy.Web/Pages/Test/TestViewModel.cs | https://github.com/riganti/dotvvm-samples-academy/blob/HEAD/src/DotvvmAcademy.Web/Pages/Test/TestViewModel.cs | ghcode:00160:349ba50b05a4 | apache-2.0 | codeparrot/github-code | 349ba50b05a40fd98c73bb16f5b04cc79fe31a8b9f41642daf47bbb9a5910756 | 0.85 | testing_debugging_repair_refactoring | 231 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TRL.Csharp.Models;
namespace TRL.Csharp.Test.Models
{
[TestClass]
public class BarTests
{
[TestMethod]
public void Bar_constructor_test()
{
DateTime date = DateTime.Now;
int intervalSeco... | wouldyougo/TRx | TRL.Csharp.Test/Models/BarTests.cs | https://github.com/wouldyougo/TRx/blob/HEAD/TRL.Csharp.Test/Models/BarTests.cs | ghcode:00160:e20c58aaa3a3 | apache-2.0 | codeparrot/github-code | e20c58aaa3a3d94bd5e89c72831c4363f52c94eda661804001be36ae41f09b76 | 0.75 | testing_debugging_repair_refactoring | 231 | false | 2026-07-17 |
namespace XunitContrib.Runner.ReSharper.RemoteRunner.Tasks
{
public static class AttributeNames
{
public const string AssemblyLocation = "AssemblyLocation";
public const string TypeName = "TypeName";
public const string MethodName = "MethodName";
public const string TheoryName = ... | xunit/resharper-xunit | resharper/src/runner/Tasks/AttributeNames.cs | https://github.com/xunit/resharper-xunit/blob/HEAD/resharper/src/runner/Tasks/AttributeNames.cs | ghcode:00160:c9db16f9c96d | apache-2.0 | codeparrot/github-code | c9db16f9c96d6aa7774210a75483011fbed7a51b184a2875e697136c5aacbf81 | 0.85 | testing_debugging_repair_refactoring | 146 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace Elasticsearch.Net.Integration.Yaml.CatAllocation1
{
public partial class CatAllocation1YamlTests
{
[NCrunch.Framework.ExclusivelyUses("ElasticsearchYamlTests")]
public class Help1Tests : YamlTestsBase
{
[... | Grastveit/NEST | src/Tests/Elasticsearch.Net.Integration.Yaml/cat.allocation/10_basic.yaml.cs | https://github.com/Grastveit/NEST/blob/HEAD/src/Tests/Elasticsearch.Net.Integration.Yaml/cat.allocation/10_basic.yaml.cs | ghcode:00160:de994b7f4068 | apache-2.0 | codeparrot/github-code | de994b7f4068c7b53a644e1744edf0fbd76b668412bd82d7ea50c8b140881af3 | 0.95 | testing_debugging_repair_refactoring | 1,894 | false | 2026-07-17 |
using System.Diagnostics;
using System.Collections.Generic;
using YAF.Lucene.Net.Analysis.Pt;
namespace YAF.Lucene.Net.Analysis.Gl
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional info... | Pathfinder-Fr/YAFNET | yafsrc/Lucene.Net/Lucene.Net.Analysis.Common/Analysis/Gl/GalicianStemmer.cs | https://github.com/Pathfinder-Fr/YAFNET/blob/HEAD/yafsrc/Lucene.Net/Lucene.Net.Analysis.Common/Analysis/Gl/GalicianStemmer.cs | ghcode:00160:eff27ad9c28f | apache-2.0 | codeparrot/github-code | eff27ad9c28f8fad262f70bf5df9b73d67515e39420e1028e1c5f85b3bcbe78f | 0.85 | testing_debugging_repair_refactoring | 765 | false | 2026-07-17 |
/*
* Author Luke Campbell <LCampbell@ASAScience.com>
* netcdf3.test.TestNcType
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ASA.NetCDF4;
namespace ASA.NetCDF4.Test {
public class TestNcType : UnitTest {
public TestNcType() {
// Add tests
... | lukecampbell/netcdf4.net | Test/TestNcType.cs | https://github.com/lukecampbell/netcdf4.net/blob/HEAD/Test/TestNcType.cs | ghcode:00160:52c281cfccfb | apache-2.0 | codeparrot/github-code | 52c281cfccfbb7cce598f8caa5a75a38cb10473af0250a3391d0fc005d8f4853 | 0.85 | testing_debugging_repair_refactoring | 204 | false | 2026-07-17 |
//------------------------------------------------------------------------------
// Symbooglix
//
//
// Copyright 2014-2017 Daniel Liew
//
// This file is licensed under the MIT license.
// See LICENSE.txt for details.
//------------------------------------------------------------------... | symbooglix/symbooglix | src/SymbooglixLibTests/Havoc.cs | https://github.com/symbooglix/symbooglix/blob/HEAD/src/SymbooglixLibTests/Havoc.cs | ghcode:00160:c1af849f0f1d | bsd-2-clause | codeparrot/github-code | c1af849f0f1d936de91c13f5460e10cf61c103d35054c32d6694ce1e1764b483 | 0.78 | testing_debugging_repair_refactoring | 441 | false | 2026-07-17 |
namespace XmlUnit.Xunit
{
using System.IO;
using System.Xml;
using System.Xml.XPath;
using System.Xml.Xsl;
public class XmlOutput
{
private readonly XslTransform _transform;
private readonly XsltArgumentList _xsltArgs;
private readonly XPathNavigator _navigato... | horsdal/XmlUnit.Xunit | XmlUnit.xUnit/XmlOutput.cs | https://github.com/horsdal/XmlUnit.Xunit/blob/HEAD/XmlUnit.xUnit/XmlOutput.cs | ghcode:00160:d8d61d460516 | bsd-3-clause | codeparrot/github-code | d8d61d460516933f92e91915cbd122fc0a830c1f7e7daa19f95f05f6f0aeb677 | 0.75 | testing_debugging_repair_refactoring | 394 | false | 2026-07-17 |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 r... | ft-/opensim-optimizations-wip-tests | OpenSim/Tests/Common/LongRunningAttribute.cs | https://github.com/ft-/opensim-optimizations-wip-tests/blob/HEAD/OpenSim/Tests/Common/LongRunningAttribute.cs | ghcode:00160:0bf118c42017 | bsd-3-clause | codeparrot/github-code | 0bf118c42017fbb270541ff610fa8b09f798076ec4c1ad6101b4c47550d7a323 | 0.85 | testing_debugging_repair_refactoring | 404 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2008 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, incl... | mono/guiunit | src/framework/Internal/AssemblyHelper.cs | https://github.com/mono/guiunit/blob/HEAD/src/framework/Internal/AssemblyHelper.cs | ghcode:00160:03e530ed545b | mit | codeparrot/github-code | 03e530ed545b5bb9afb5f7aa00034cc1f9beebcf3c70fa6dfe74546941373df5 | 0.85 | testing_debugging_repair_refactoring | 879 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Linq;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Xml;
using System.Xml.Linq;
using LinqToDB;
using LinqToDB.Common;
usi... | lvaleriu/linq2db | Tests/Linq/DataProvider/SqlServerTests.cs | https://github.com/lvaleriu/linq2db/blob/HEAD/Tests/Linq/DataProvider/SqlServerTests.cs | ghcode:00160:e095832b279e | mit | codeparrot/github-code | e095832b279e069bb251d35570a10a4d39f6882504c1bcfd68a344f23bfb959c | 0.72 | testing_debugging_repair_refactoring | 17,028 | false | 2026-07-17 |
namespace Translatable.TranslationTest
{
[Translatable]
public enum TestEnum
{
[TranslatorComment("Test")]
[Translation("This is the first value")]
FirstValue,
[Translation("This is the second value")]
SecondValue,
[Translation("This is some extraordinary thi... | pdfforge/translatable | Source/UnitTest/Translatable.UnitTest/TestEnum.cs | https://github.com/pdfforge/translatable/blob/HEAD/Source/UnitTest/Translatable.UnitTest/TestEnum.cs | ghcode:00160:9c2d397956ba | mit | codeparrot/github-code | 9c2d397956ba52752d15aab53d7916d3c9281cd6af1bfb095e01dd8459662b4e | 0.75 | testing_debugging_repair_refactoring | 75 | false | 2026-07-17 |
namespace NArrange.Tests.Core.Configuration
{
using NArrange.Core;
using NArrange.Core.CodeElements;
using NUnit.Framework;
/// <summary>
/// Test fixture for the InterfaceReference class.
/// </summary>
[TestFixture]
public class InterfaceReferenceTests
{
#region Methods
... | adgistics/Adgistics.Build | NArrange/src/NArrange.Tests.Core/Configuration/InterfaceReferenceTests.cs | https://github.com/adgistics/Adgistics.Build/blob/HEAD/NArrange/src/NArrange.Tests.Core/Configuration/InterfaceReferenceTests.cs | ghcode:00160:bbfa42541012 | apache-2.0 | codeparrot/github-code | bbfa42541012a8177c780d2a77be2fb4677da101f2c670f6e1cf6fdaa2b5a7d9 | 0.95 | testing_debugging_repair_refactoring | 378 | 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;
using Microsoft.VisualStudio.IntegrationTest.Utilities;
using Xunit;
namespace Roslyn.VisualStudio.IntegrationTests.VisualBasi... | weltkante/roslyn | src/VisualStudio/IntegrationTest/IntegrationTests/VisualBasic/BasicBuild.cs | https://github.com/weltkante/roslyn/blob/HEAD/src/VisualStudio/IntegrationTest/IntegrationTests/VisualBasic/BasicBuild.cs | ghcode:00160:e175cec108d5 | apache-2.0 | codeparrot/github-code | e175cec108d5e0ca47257c45629ec729a15a9f15afc434458c83dad7efd1e8eb | 0.75 | testing_debugging_repair_refactoring | 234 | 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 Microsoft.CodeAnalysis.CSharp.Syntax;
using Roslyn.Util... | CaptainHayashi/roslyn | src/Compilers/CSharp/Portable/Symbols/NamespaceOrTypeSymbol.cs | https://github.com/CaptainHayashi/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/NamespaceOrTypeSymbol.cs | ghcode:00160:88e3dc4a6b82 | apache-2.0 | codeparrot/github-code | 88e3dc4a6b8270f351b4b86518f23d91114bf4884dedac51f609ead52563f267 | 0.7 | testing_debugging_repair_refactoring | 3,112 | false | 2026-07-17 |
using Renci.SshNet.Security.Cryptography;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Renci.SshNet.Tests.Common;
namespace Renci.SshNet.Tests
{
/// <summary>
///This is a test class for SymmetricCipherTest and is intended
///to contain all SymmetricCipherTest Unit Tests
///... | Bloomcredit/SSH.NET | src/Renci.SshNet.Tests/Classes/Security/Cryptography/SymmetricCipherTest.cs | https://github.com/Bloomcredit/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/Security/Cryptography/SymmetricCipherTest.cs | ghcode:00160:90be765e8a24 | mit | codeparrot/github-code | 90be765e8a24f842dca08f8e47632ed7f4cfb7038c75536e3b73eab6939ae9ec | 0.7 | testing_debugging_repair_refactoring | 550 | false | 2026-07-17 |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threadin... | blackdwarf/cli | src/Microsoft.DotNet.TestFramework/TestAssets.cs | https://github.com/blackdwarf/cli/blob/HEAD/src/Microsoft.DotNet.TestFramework/TestAssets.cs | ghcode:00160:9b9202540eb6 | mit | codeparrot/github-code | 9b9202540eb683c38a1cb2ebeeb597e159862ff41843f1acdc83d221c2fb3c29 | 0.75 | testing_debugging_repair_refactoring | 717 | false | 2026-07-17 |
using NBitcoin.Crypto;
using NBitcoin.DataEncoders;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace NBitcoin.Tests
{
public class hash_tests
{
[Fact]
[Trait("Core", "Core")]
p... | thepunctuatedhorizon/BrickCoinAlpha.0.0.1 | NBitcoin.Tests/hash_tests.cs | https://github.com/thepunctuatedhorizon/BrickCoinAlpha.0.0.1/blob/HEAD/NBitcoin.Tests/hash_tests.cs | ghcode:00160:6d63d7324b09 | mit | codeparrot/github-code | 6d63d7324b09a20e6f959894b44af1c944e0f87315c313d6ffdfb76ad5ad6ad6 | 0.85 | testing_debugging_repair_refactoring | 3,295 | false | 2026-07-17 |
using System;
using System.IO;
using NUnit.Framework;
using NUnit.Framework.Constraints;
using Palaso.IO;
using Palaso.PlatformUtilities;
using Palaso.Reporting;
using Palaso.UsbDrive;
namespace Palaso.Tests.IO
{
[TestFixture]
public class FileLocatorTests
{
[Test]
public void GetFileDistributedWithApplication... | darcywong00/libpalaso | Palaso.Tests/IO/FileLocatorTests.cs | https://github.com/darcywong00/libpalaso/blob/HEAD/Palaso.Tests/IO/FileLocatorTests.cs | ghcode:00160:72c1ed163f54 | mit | codeparrot/github-code | 72c1ed163f5443fc5f4b07cb2e42c9d2bc204ff92bbcc264f3ebfdf08f69ef2b | 0.85 | testing_debugging_repair_refactoring | 1,336 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Net;
namespace Mozu.Api.Test.Helpers
{
class TestFailException : TestException
{
public static Exception GetCustomTestException(ApiException apiException, string currentClassName, string currentMethodName, HttpStatusCode expectedCode)
{
... | ezekielthao/mozu-dotnet | Mozu.Api.Test/Helpers/TestFailException.cs | https://github.com/ezekielthao/mozu-dotnet/blob/HEAD/Mozu.Api.Test/Helpers/TestFailException.cs | ghcode:00160:a24bf9529922 | mit | codeparrot/github-code | a24bf95299228cfc275cf6fb3090351e00957fca252a9402ddd02a28d7e50689 | 0.85 | testing_debugging_repair_refactoring | 735 | 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.Immutable;
using System.Diagnostics;
using System.Globalization;
using Syste... | CyrusNajmabadi/roslyn | src/Compilers/Core/Portable/SourceGeneration/GeneratorDriver.cs | https://github.com/CyrusNajmabadi/roslyn/blob/HEAD/src/Compilers/Core/Portable/SourceGeneration/GeneratorDriver.cs | ghcode:00160:a3eb28d15a22 | mit | codeparrot/github-code | a3eb28d15a22fb6cb019274b51cf621b9d269c6bd0655f54f8a8a42bd23df8b5 | 0.85 | testing_debugging_repair_refactoring | 3,375 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of... | jameschch/Lean | Tests/Indicators/LogReturnTests.cs | https://github.com/jameschch/Lean/blob/HEAD/Tests/Indicators/LogReturnTests.cs | ghcode:00160:615e0c6a0786 | apache-2.0 | codeparrot/github-code | 615e0c6a078678db48e708ae384f73711c18e5955dbb5cb26d75d53499a1c1f4 | 0.75 | testing_debugging_repair_refactoring | 480 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
namespace InterLinq.UnitTests.Artefacts.NHibernate
{
[Serializable]
public class Department
{
public Department()
{
Employees = new List<Employee>();
}
public int Id { get; set; }
public str... | yallie/Zyan | source/Zyan.Tests.InterLinq/Artefacts/NHibernate/Department.cs | https://github.com/yallie/Zyan/blob/HEAD/source/Zyan.Tests.InterLinq/Artefacts/NHibernate/Department.cs | ghcode:00160:05358e011f1f | mit | codeparrot/github-code | 05358e011f1fdb67b98803d717e9d2075d0b669e5dc47fcaab867437d8901b7c | 0.75 | testing_debugging_repair_refactoring | 123 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using FluentAssertions.Common;
using FluentAssertions.Specialized;
namespace FluentAssertions
{
public static partial class AssertionExtensions
{
private static readonly Aggregate... | AlexanderSher/fluentassertions | Src/Shared/AssertionExtensions.Actions.cs | https://github.com/AlexanderSher/fluentassertions/blob/HEAD/Src/Shared/AssertionExtensions.Actions.cs | ghcode:00160:69d1bf6a27b2 | apache-2.0 | codeparrot/github-code | 69d1bf6a27b26aa7f892b6efe76edea8a0f124bb1785d065a82ecb94fe19ecf5 | 0.7 | testing_debugging_repair_refactoring | 2,124 | false | 2026-07-17 |
// Copyright © 2006 Douglas Rohm
using System;
using System.IO;
using Microsoft.Build.Utilities;
using MSBuild.Community.Tasks.Vault;
using NUnit.Framework;
namespace MSBuild.Community.Tasks.Tests.Vault
{
/// <summary>
/// Summary description for VaultTest.
/// </summary>
[TestFixture]
public class VaultTest
{... | jricke/msbuildtasks | Source/MSBuild.Community.Tasks.Tests/Vault/VaultTest.cs | https://github.com/jricke/msbuildtasks/blob/HEAD/Source/MSBuild.Community.Tasks.Tests/Vault/VaultTest.cs | ghcode:00160:13e3025baff4 | bsd-2-clause | codeparrot/github-code | 13e3025baff49c5ede39caf7d278269d534d8d96aa7bcb6c1030a370f7bb0640 | 0.63 | testing_debugging_repair_refactoring | 1,653 | false | 2026-07-17 |
using System;
using System.Globalization;
using System.Linq;
using Abp.Extensions;
using Shouldly;
using Xunit;
namespace Abp.Tests.Extensions
{
public class StringExtensions_Tests
{
[Fact]
public void EnsureEndsWith_Test()
{
//Expected use-cases
"Test".EnsureEnd... | LenFon/aspnetboilerplate | src/Tests/Abp.Tests/Extensions/StringExtensions_Tests.cs | https://github.com/LenFon/aspnetboilerplate/blob/HEAD/src/Tests/Abp.Tests/Extensions/StringExtensions_Tests.cs | ghcode:00160:fe801998316d | mit | codeparrot/github-code | fe801998316d805df031402ce0d74fb7cbb6ba7a663810d8d668f9037e669249 | 0.95 | testing_debugging_repair_refactoring | 1,221 | 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.ObjectModel;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.ExceptionServices;
using Microso... | ValentinRueda/roslyn | src/ExpressionEvaluator/Core/Test/ResultProvider/ResultProviderTestBase.cs | https://github.com/ValentinRueda/roslyn/blob/HEAD/src/ExpressionEvaluator/Core/Test/ResultProvider/ResultProviderTestBase.cs | ghcode:00160:6a3f7d651ce0 | apache-2.0 | codeparrot/github-code | 6a3f7d651ce07e21dbfe37f558e4af11fea9659225ccff53ae1270c82c797391 | 0.95 | testing_debugging_repair_refactoring | 3,882 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | samaitra/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/Services/TestServiceGenericMethods.cs | https://github.com/samaitra/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/Services/TestServiceGenericMethods.cs | ghcode:00160:4e6419d5e179 | apache-2.0 | codeparrot/github-code | 4e6419d5e17950c0c7d8f50f5fc19496ee789b7b4257abefa2bf865a5e850506 | 0.85 | testing_debugging_repair_refactoring | 320 | 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.Linq;
using Xunit.Abstractions;
using System.Collections;
using System.Globalization;
using System.IO;... | Petermarcu/corefx | src/System.Private.Xml/tests/XmlSchema/XmlSchemaValidatorApi/ExceptionVerifier.cs | https://github.com/Petermarcu/corefx/blob/HEAD/src/System.Private.Xml/tests/XmlSchema/XmlSchemaValidatorApi/ExceptionVerifier.cs | ghcode:00160:a9664c3969d1 | mit | codeparrot/github-code | a9664c3969d179cb9d1883cde5f2a10d4195e29fe00e38739f941bae26f1a5f8 | 0.95 | testing_debugging_repair_refactoring | 2,786 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Test.Utilities;
using Xunit;
namespa... | brettfo/roslyn | src/EditorFeatures/CSharpTest2/Recommendations/DescendingKeywordRecommenderTests.cs | https://github.com/brettfo/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest2/Recommendations/DescendingKeywordRecommenderTests.cs | ghcode:00160:34c44e7a9963 | apache-2.0 | codeparrot/github-code | 34c44e7a9963c3ca174bff0a5280dee3a65f61c1664cf929776eefc8a6df7e8e | 0.85 | testing_debugging_repair_refactoring | 766 | 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;
namespace Microsoft.CSharp.RuntimeBinder.Semantics
{
internal sealed class ExprCall :... | rubo/corefx | src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/Tree/Call.cs | https://github.com/rubo/corefx/blob/HEAD/src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/Tree/Call.cs | ghcode:00160:1eed77fa7363 | mit | codeparrot/github-code | 1eed77fa736328c56f13217de232279808d6c23d1de6fd061c6f0ac14ebdfc01 | 0.95 | testing_debugging_repair_refactoring | 373 | 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.Test.Utilities;
using Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator;
using Microsoft.VisualStudio.Debugger.Evaluation;
... | OmarTawfik/roslyn | src/ExpressionEvaluator/Core/Test/FunctionResolver/VisualBasicFunctionResolverTests.cs | https://github.com/OmarTawfik/roslyn/blob/HEAD/src/ExpressionEvaluator/Core/Test/FunctionResolver/VisualBasicFunctionResolverTests.cs | ghcode:00160:65e103e7fe5f | apache-2.0 | codeparrot/github-code | 65e103e7fe5f11089f869361cc87a973b52723308903c47147324f82e18e01be | 0.95 | testing_debugging_repair_refactoring | 2,097 | 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... | arcadiahlyy/azure-powershell | src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/DisableBatchComputeNodeSchedulingCommandTests.cs | https://github.com/arcadiahlyy/azure-powershell/blob/HEAD/src/ResourceManager/AzureBatch/Commands.Batch.Test/ComputeNodes/DisableBatchComputeNodeSchedulingCommandTests.cs | ghcode:00160:c3137f3c0e95 | apache-2.0 | codeparrot/github-code | c3137f3c0e950e6902857453770565a31e7965846ba58f176bacfe174dda552e | 0.85 | testing_debugging_repair_refactoring | 909 | 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.Diagnostics;
using System.Numerics;
using System.Security.Cryptography;
using System.Secu... | BrennanConroy/corefx | src/System.Security.Cryptography.Algorithms/src/Internal/Cryptography/Helpers.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Security.Cryptography.Algorithms/src/Internal/Cryptography/Helpers.cs | ghcode:00160:e4538da763a2 | mit | codeparrot/github-code | e4538da763a258e15317992a6dff09fa978d23130ce778f4cccf9b0053d54e77 | 0.95 | testing_debugging_repair_refactoring | 695 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Text;
using Xunit;
namespace System.Text.EncodingTests
{
// Equals(System.Object)
public class UTF8EncodingEquals
{
#reg... | vs-team/corefx | src/System.Text.Encoding/tests/UTF8Encoding/UTF8EncodingEquals.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Text.Encoding/tests/UTF8Encoding/UTF8EncodingEquals.cs | ghcode:00160:9d2ae7707af3 | mit | codeparrot/github-code | 9d2ae7707af3f4e1debde4031f333e7dd088025d9d790634ec48ff304693fd1b | 0.95 | testing_debugging_repair_refactoring | 273 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.namedandoptional.decl.types.cnst01a.cnst01a
{... | nbarbettini/corefx | src/System.Dynamic.Runtime/tests/Dynamic.NamedAndOptional/Conformance.dynamic.namedandoptional.decl.types.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Dynamic.Runtime/tests/Dynamic.NamedAndOptional/Conformance.dynamic.namedandoptional.decl.types.cs | ghcode:00160:4c212145436c | mit | codeparrot/github-code | 4c212145436c8c4e2d6778e63c5a323db787fbb85106cb2f95eb8d7b78f1aa95 | 0.82 | testing_debugging_repair_refactoring | 15,921 | false | 2026-07-17 |
using Xunit;
using CloudStorage.Helpers;
namespace CloudStorage.Tests.Helpers
{
public class StringExtensionsTests
{
[Theory]
[InlineData("hello")]
[InlineData("TestControler")]
[InlineData("Test2Controller")]
[InlineData("M")]
[InlineData("TestController2")]
... | ecraciun/VismaACLabs | CloudStorage/test/CloudStorage.Tests/Helpers/StringExtensionsTests.cs | https://github.com/ecraciun/VismaACLabs/blob/HEAD/CloudStorage/test/CloudStorage.Tests/Helpers/StringExtensionsTests.cs | ghcode:00160:7c66be91e3e6 | mit | codeparrot/github-code | 7c66be91e3e688dba48c334c721c9f4de7c03c283f0d2bcb0703def82d4bcc07 | 0.85 | testing_debugging_repair_refactoring | 224 | false | 2026-07-17 |
namespace R3.Geometry
{
using Math = System.Math;
using R3.Core;
using R3.Math;
using System.Diagnostics;
public enum Geometry
{
Spherical,
Euclidean,
Hyperbolic
}
public static class PlatonicSolids
{
public static int NumFacets( int p, int q )
{
if( p == 3 && q == 3 )
return 4;
else if(... | roice3/MagicTile | R3/R3.Core/Geometry/Geometry2D.cs | https://github.com/roice3/MagicTile/blob/HEAD/R3/R3.Core/Geometry/Geometry2D.cs | ghcode:00160:006b7710fa54 | mit | codeparrot/github-code | 006b7710fa54d45d4649844b29b68455e30ff98526e680a58d8b0e5885823070 | 0.7 | testing_debugging_repair_refactoring | 1,201 | false | 2026-07-17 |
using System;
using Xunit;
namespace Peddler {
public class UnableToGenerateValueExceptionTests {
[Fact]
public void WithDefaults() {
// Act
var exception = Throw<UnableToGenerateValueException>(
() => { throw new UnableToGenerateValueException(); }
... | invio/Peddler | test/Peddler.Tests/UnableToGenerateValueExceptionTests.cs | https://github.com/invio/Peddler/blob/HEAD/test/Peddler.Tests/UnableToGenerateValueExceptionTests.cs | ghcode:00160:b26e083672ff | mit | codeparrot/github-code | b26e083672ffdef61008b327e0fe1bd5a8484c3a9c3b5e6acc4c3d25db7a36e0 | 0.85 | testing_debugging_repair_refactoring | 577 | false | 2026-07-17 |
using BetterModules.Core.Models;
namespace BetterModules.Sample.Module.Models.Maps
{
public class TestItemCategoryMap : EntityMapBase<TestItemCategory>
{
public TestItemCategoryMap()
: base(SampleModuleDescriptor.ModuleName)
{
Table("TestItemCategories");
... | devbridge/BetterModules | BetterModules.Sample.Module/Models/Maps/TestItemCategoryMap.cs | https://github.com/devbridge/BetterModules/blob/HEAD/BetterModules.Sample.Module/Models/Maps/TestItemCategoryMap.cs | ghcode:00160:206c7570b7d9 | mit | codeparrot/github-code | 206c7570b7d9a659fca7d8c7bf66ff4017954cd977734df0d6eb132c1364fecf | 0.75 | testing_debugging_repair_refactoring | 81 | 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.Collections.Generic;
using System.Linq;
using Microsoft.Rest.Generator.Logging;
using Xunit;
namespace Microsoft.Rest.Generator.Test
{
[Collect... | BretJohnson/autorest | AutoRest/AutoRest.Core.Tests/AutoRestSettingsTests.cs | https://github.com/BretJohnson/autorest/blob/HEAD/AutoRest/AutoRest.Core.Tests/AutoRestSettingsTests.cs | ghcode:00160:d6f348dbcd77 | mit | codeparrot/github-code | d6f348dbcd77b84b0f086ff1d42b6f3f9d5e2ad35bb6413bf3350a239972a1b1 | 0.75 | testing_debugging_repair_refactoring | 528 | false | 2026-07-17 |
//Problem 3. Animal hierarchy
//Create a hierarchy Dog, Frog, Cat, Kitten, Tomcat and define useful constructors and methods. Dogs, frogs and cats are Animals.
//All animals can produce sound (specified by the ISound interface). Kittens and tomcats are cats.
//All animals are described by age, name and sex. Kittens... | Vyara/Telerik-OOP-Homeworks | 04. OOP Principles - Part 1/AnimalHierarchy/TestAnimalHierarchy.cs | https://github.com/Vyara/Telerik-OOP-Homeworks/blob/HEAD/04. OOP Principles - Part 1/AnimalHierarchy/TestAnimalHierarchy.cs | ghcode:00160:8e929c19ac52 | mit | codeparrot/github-code | 8e929c19ac52f861a1de4dd627ee0b590ccffdf46e13dd15f8a68ee1c542e373 | 0.85 | testing_debugging_repair_refactoring | 1,095 | false | 2026-07-17 |
using Microsoft.CodeAnalysis;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestHelper;
using AnalyzeThis.ReadonlyField;
using AnalyzeThis.Test.Verifiers;
namespace AnalyzeThis.Test
{
[TestClass]
public class ReadonlyFieldRuleTests : FixableAnalysisRuleVerifier
{
public ReadonlyFieldRu... | tastott/AnalyzeThis | src/AnalyzeThis.Test/ReadonlyFieldRuleTests.cs | https://github.com/tastott/AnalyzeThis/blob/HEAD/src/AnalyzeThis.Test/ReadonlyFieldRuleTests.cs | ghcode:00160:b42241cf7d2c | mit | codeparrot/github-code | b42241cf7d2c45972ad335609dd6ddaa151aa6e6772b78713c6f5fe4a14e79c4 | 0.75 | testing_debugging_repair_refactoring | 983 | false | 2026-07-17 |
using System;
using Cuemon.Extensions.Xunit;
using Xunit;
using Xunit.Abstractions;
namespace Cuemon.Threading
{
public class SuccessfulValueTest : Test
{
public SuccessfulValueTest(ITestOutputHelper output) : base(output)
{
}
[Fact]
public void Ctor_SucceededShouldBeT... | gimlichael/Cuemon | test/Cuemon.Core.Tests/Threading/SuccessfulValueTest.cs | https://github.com/gimlichael/Cuemon/blob/HEAD/test/Cuemon.Core.Tests/Threading/SuccessfulValueTest.cs | ghcode:00160:a98a9331cb44 | mit | codeparrot/github-code | a98a9331cb446e2d66391c76910b2d673dad6ae062a0b8d08221c9ec2bd5e9e0 | 0.6 | testing_debugging_repair_refactoring | 148 | false | 2026-07-17 |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace NUnit.Framework.Internal
{
[TestFixture(typeof(List<int>))]
[TestFixture(TypeArgs=new Type[] {typeof(List<object>)} ... | nunit/nunit | src/NUnitFramework/tests/Internal/GenericTestFixtureTests.cs | https://github.com/nunit/nunit/blob/HEAD/src/NUnitFramework/tests/Internal/GenericTestFixtureTests.cs | ghcode:00160:287536382eb3 | mit | codeparrot/github-code | 287536382eb34df278b093fc84c1260a7982d4003a9461a518c4532e5bec91b7 | 0.85 | testing_debugging_repair_refactoring | 208 | false | 2026-07-17 |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class UIHeatDisplay : MonoBehaviour
{
private RawImage m_heatImg;
private HeatMap m_heatManager;
private bool m_enabled;
// Use this for initialization
void Start ()
{
m_heatImg = this.GetComponentInChildren<RawIma... | SixHourDays/WrathOfKhan | WrathOfKhan/Assets/Scripts/UI/UIHeatDisplay.cs | https://github.com/SixHourDays/WrathOfKhan/blob/HEAD/WrathOfKhan/Assets/Scripts/UI/UIHeatDisplay.cs | ghcode:00160:d14d824cd78e | mit | codeparrot/github-code | d14d824cd78e4e3d3d9348dc2b2ba199f9d9fcf273b804de3213073d2917c3ce | 0.6 | testing_debugging_repair_refactoring | 168 | false | 2026-07-17 |
// <copyright file="DiagnosticVerifier.cs" company="Timo Virkki">
// Copyright (c) Timo Virkki. All rights reserved.
// </copyright>
namespace TestHelper
{
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tasks;
using... | ttv86/perf-analyzer | PerformanceAnalyzer/PerformanceAnalyzer.Test/Verifiers/DiagnosticVerifier.cs | https://github.com/ttv86/perf-analyzer/blob/HEAD/PerformanceAnalyzer/PerformanceAnalyzer.Test/Verifiers/DiagnosticVerifier.cs | ghcode:00160:4220e46e2072 | mit | codeparrot/github-code | 4220e46e20721d20422f302adfdb31f027d396e8a38c72ec0b95eeba39ac7e36 | 0.85 | testing_debugging_repair_refactoring | 1,120 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using Xunit;
namespace System.Linq.Expressions.Tests
{
public static class CastNullableTests
{
#region... | mellinoe/corefx | src/System.Linq.Expressions/tests/Cast/CastNullableTests.cs | https://github.com/mellinoe/corefx/blob/HEAD/src/System.Linq.Expressions/tests/Cast/CastNullableTests.cs | ghcode:00160:b74c91a822ab | mit | codeparrot/github-code | b74c91a822abab3f1a383067c90f07b38af5a98cbe47144e671824e0785d8501 | 0.95 | testing_debugging_repair_refactoring | 3,289 | false | 2026-07-17 |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Vibrant.InfluxDB.Client.Rows;
using Xunit;
namespace Vibrant.InfluxDB.Client.Tests
{
[Collection("InfluxClient collection")]
public class ReadWriteTests
... | MikaelGRA/InfluxDB.Client | test/Vibrant.InfluxDB.Client.Tests/ReadWriteTests.cs | https://github.com/MikaelGRA/InfluxDB.Client/blob/HEAD/test/Vibrant.InfluxDB.Client.Tests/ReadWriteTests.cs | ghcode:00160:dcb214c8b932 | mit | codeparrot/github-code | dcb214c8b93212b6bd411b67894c0d79d55b2cf3ea8e6bf0560a0f5c4813a336 | 0.85 | testing_debugging_repair_refactoring | 9,887 | false | 2026-07-17 |
using System;
using FluentAssertions;
using Nerdle.Hydra.StateManagement;
using NUnit.Framework;
namespace Nerdle.Hydra.Tests.Unit.StateManagement.RollingWindowTests
{
[TestFixture]
class When_instantiating_a_rolling_window
{
static readonly TimeSpan[] NonPositiveTimeSpans =
{
T... | edpollitt/Hydra | Nerdle.Hydra.Tests.Unit/StateManagement/RollingWindowTests/When_instantiating_a_rolling_window.cs | https://github.com/edpollitt/Hydra/blob/HEAD/Nerdle.Hydra.Tests.Unit/StateManagement/RollingWindowTests/When_instantiating_a_rolling_window.cs | ghcode:00160:914198f5edd8 | mit | codeparrot/github-code | 914198f5edd88f1344a6cd54c4254507b13879ac7b8fa2dbbab0b5a1e7a31822 | 0.75 | testing_debugging_repair_refactoring | 147 | false | 2026-07-17 |
// Description: C# Extension Methods | Enhance the .NET Framework and .NET Core with over 1000 extension methods.
// Website & Documentation: https://csharp-extension.com/
// Issues: https://github.com/zzzprojects/Z.ExtensionMethods/issues
// License (MIT): https://github.com/zzzprojects/Z.ExtensionMethods/blob/master/... | zzzprojects/Z.ExtensionMethods | test/Z.Reflection.Test/GetCustomAttribute/Object.GetCustomAttributes.cs | https://github.com/zzzprojects/Z.ExtensionMethods/blob/HEAD/test/Z.Reflection.Test/GetCustomAttribute/Object.GetCustomAttributes.cs | ghcode:00160:eeba17146058 | mit | codeparrot/github-code | eeba17146058492b7f6ab7215ef2489875160240d06949d3a933dbde906da0e8 | 0.7 | testing_debugging_repair_refactoring | 649 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Threading.Tasks;
using NSpec;
using Shouldly;
namespace Flo.Tests
{
public class describe_OutputPipelineBuilder_Fork : nspec
{
async Task it_ignores_the_handler_if_the_predicate_returns_false()
{
var pipeline = Pipeline.Build<string, in... | benfoster/Flo | test/Flo.Tests/OutputPipelineBuilderForkTests.cs | https://github.com/benfoster/Flo/blob/HEAD/test/Flo.Tests/OutputPipelineBuilderForkTests.cs | ghcode:00160:02e07190cec4 | mit | codeparrot/github-code | 02e07190cec42455a3a60b69a9fa5b8842f4c8a5c5c63e9d266e3f2788bae1b6 | 0.75 | testing_debugging_repair_refactoring | 241 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.