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 System.Collections.Generic;
using Xunit;
namespace System.Linq.Parallel.Tests
{
public static class Eleme... | BrennanConroy/corefx | src/System.Linq.Parallel/tests/QueryOperators/ElementAtElementAtOrDefaultTests.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Linq.Parallel/tests/QueryOperators/ElementAtElementAtOrDefaultTests.cs | ghcode:00170:758bed322b03 | mit | codeparrot/github-code | 758bed322b0327e9e32fca3c7baa9ea46164ddfd676eadf4eec9b0fcd224e022 | 0.95 | testing_debugging_repair_refactoring | 1,243 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using NUnit.Framework.Constraints;
using System.Threading;
using FakeItEasy;
using System.Collections.Generic;
using METRO.Core.Blocks.Logging;
using METRO.Core.Blocks.Interceptor;
using System.IO;
using METRO.Core.Blocks.Oberservation;
using METRO.Core.Blocks;
using METRO.Core.Blo... | starkeeny/METRO | src/METRO.Core/METRO.Core.Tests/BlockUnitTest.cs | https://github.com/starkeeny/METRO/blob/HEAD/src/METRO.Core/METRO.Core.Tests/BlockUnitTest.cs | ghcode:00170:e59dcecd41d4 | mit | codeparrot/github-code | e59dcecd41d4a458223a5935785c028e9099b1c688dfa5bc32cacd76645d8883 | 0.7 | testing_debugging_repair_refactoring | 3,847 | false | 2026-07-17 |
using System;
using Common.Logging;
using Hepsi.CommandProcessor.UnitTests.TestSupport;
using Moq;
using NUnit.Framework;
using TinyIoC;
namespace Hepsi.CommandProcessor.UnitTests.CommandProcessors
{
[TestFixture]
public class When_there_are_no_command_handlers
{
static CommandProcessor commandPro... | hepsiburada/HepsiCommandProcessor | src/tests/Hepsi.CommandProcessor.UnitTests/CommandProcessors/When_there_are_no_command_handlers.cs | https://github.com/hepsiburada/HepsiCommandProcessor/blob/HEAD/src/tests/Hepsi.CommandProcessor.UnitTests/CommandProcessors/When_there_are_no_command_handlers.cs | ghcode:00170:9c113a46e537 | mit | codeparrot/github-code | 9c113a46e5370489a297adb93a818f1c12be449b9e4d67a73565c3f5191f18fe | 0.85 | testing_debugging_repair_refactoring | 211 | false | 2026-07-17 |
using System;
using System.Globalization;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using NUnit.Framework;
using CronExpressionDescriptor;
namespace CronExpressionDescriptor.Test
{
[TestFixture]
public class TestCasing
{
[TestFixt... | sadedil/cron-expression-descriptor | CronExpressionDescriptor.Test/TestCasing.cs | https://github.com/sadedil/cron-expression-descriptor/blob/HEAD/CronExpressionDescriptor.Test/TestCasing.cs | ghcode:00170:fed0d5159cfe | mit | codeparrot/github-code | fed0d5159cfea2a33ccbd05c6cbbb68c3cc9a0e8c0ca7be1d0e799e99dfcb172 | 0.75 | testing_debugging_repair_refactoring | 291 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Text;
using System.Threading.Tasks;
using Codentia.Common.Data.Configuration;
using NUnit.Framework;
namespace Codentia.Common.Data.Configuration.Test
{
/// <summary>
/// Unit testing framework for DbConfigurat... | Codentia/Codentia.Common.Data | src/test/Configuration/DbConfigurationTest.cs | https://github.com/Codentia/Codentia.Common.Data/blob/HEAD/src/test/Configuration/DbConfigurationTest.cs | ghcode:00170:0461ae0e89de | mit | codeparrot/github-code | 0461ae0e89decece18b2746e9f19e87d2e6246d67db0a5cf5e112485c0ded9a7 | 0.95 | testing_debugging_repair_refactoring | 934 | false | 2026-07-17 |
using SolrExpress.Solr4.Update;
using Xunit;
namespace SolrExpress.Solr4.UnitTests.Update
{
public class AtomicUpdateTests
{
/// <summary>
/// Where Using a AtomicUpdate instance
/// When Invoking method "Execute"
/// What Create a valid JSON
/// </summary>
... | solr-express/solr-express | test/SolrExpress.Solr4.UnitTests/Update/AtomicUpdateTests.cs | https://github.com/solr-express/solr-express/blob/HEAD/test/SolrExpress.Solr4.UnitTests/Update/AtomicUpdateTests.cs | ghcode:00170:6f198db1c3d0 | mit | codeparrot/github-code | 6f198db1c3d0868c2a138b93530fb614c4e4f9c79bfb2443d073f85f5fbafb1a | 0.85 | testing_debugging_repair_refactoring | 128 | false | 2026-07-17 |
#region Usings
using System;
using Xunit;
#endregion
namespace Extend.Testing
{
public partial class DoubleExTest
{
[Fact]
public void IsInfinityTest()
{
var number = 10.5;
var actual = number.IsInfinity();
Assert.False( actual );
num... | DaveSenn/Extend | .Src/Extend.Testing/System.Double/Double.IsInfinit.yTest.cs | https://github.com/DaveSenn/Extend/blob/HEAD/.Src/Extend.Testing/System.Double/Double.IsInfinit.yTest.cs | ghcode:00170:94eff70b8eca | mit | codeparrot/github-code | 94eff70b8eca476472354d8801b792d165aa3256cddd76c208b45ac154c7813c | 0.75 | testing_debugging_repair_refactoring | 112 | 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.Generic;
using ILCompiler.DependencyAnalysisFramework;
using Internal.Type... | tijoytom/corert | src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/TypeMetadataNode.cs | https://github.com/tijoytom/corert/blob/HEAD/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/TypeMetadataNode.cs | ghcode:00170:f4321ae42b77 | mit | codeparrot/github-code | f4321ae42b7752a8be3a51710e3c53e55aa86f49142f23419ff5b946fadee143 | 0.8 | testing_debugging_repair_refactoring | 791 | false | 2026-07-17 |
using System;
using Intelligencia.UrlRewriter.Mocks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Intelligencia.UrlRewriter.Actions.Tests
{
[TestClass]
public class SetAppSettingPropertyActionTest
{
[TestMethod]
public void Constructor_WithNullPropertyName_Throws()
... | sethyates/urlrewriter | test/Actions/SetAppSettingPropertyActionTest.cs | https://github.com/sethyates/urlrewriter/blob/HEAD/test/Actions/SetAppSettingPropertyActionTest.cs | ghcode:00170:b7d25e8e59a3 | mit | codeparrot/github-code | b7d25e8e59a3908c120bbb2b9aca343ef44c395857de99f3ba950aaadaf5ea16 | 0.7 | testing_debugging_repair_refactoring | 648 | false | 2026-07-17 |
using LinqToTwitter.Provider;
using LinqToTwitter.Tests.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
namespace LinqToTwitter.Tests.StreamContentTests
{
[TestClass... | JoeMayo/LinqToTwitter | src/LinqToTwitter6/LinqToTwitter.Tests/StreamTests/StreamContentTests.cs | https://github.com/JoeMayo/LinqToTwitter/blob/HEAD/src/LinqToTwitter6/LinqToTwitter.Tests/StreamTests/StreamContentTests.cs | ghcode:00170:ba7d88a0ea7a | mit | codeparrot/github-code | ba7d88a0ea7a30f9a5c615d019b562c767debd8d713920cf56baf5f8885d761b | 0.75 | testing_debugging_repair_refactoring | 1,209 | false | 2026-07-17 |
using System;
using ZakThread.Threading;
namespace ZakThread.Test.Threading.Simple
{
public class TestMessage : IMessage
{
public TestMessage()
{
Id = Guid.NewGuid();
TimeStamp = DateTime.UtcNow;
SourceThread = null;
}
public String SourceThread { get; set; }
public Guid Id { get;... | kendarorg/ZakFramework | ZakFramework/ZakThread.Test/Threading/Simple/TestMessage.cs | https://github.com/kendarorg/ZakFramework/blob/HEAD/ZakFramework/ZakThread.Test/Threading/Simple/TestMessage.cs | ghcode:00170:1fcf585af6ce | mit | codeparrot/github-code | 1fcf585af6ce9649ca11da7124e3ae62303174c5c4922cb4946e2cb2e458b271 | 0.75 | testing_debugging_repair_refactoring | 140 | false | 2026-07-17 |
// ReSharper disable All
using System;
using System.Diagnostics;
using System.Linq;
using Frapid.ApplicationState.Models;
using Frapid.WebsiteBuilder.Api.Fakes;
using Xunit;
namespace Frapid.WebsiteBuilder.Api.Tests
{
public class AddEmailSubscriptionTests
{
public static AddEmailSubscriptionController... | mixerp4/frapid | src/Frapid.Web/Areas/Frapid.WebsiteBuilder/WebAPI/Tests/AddEmailSubscriptionTests.cs | https://github.com/mixerp4/frapid/blob/HEAD/src/Frapid.Web/Areas/Frapid.WebsiteBuilder/WebAPI/Tests/AddEmailSubscriptionTests.cs | ghcode:00170:34002f81db33 | mit | codeparrot/github-code | 34002f81db331716517c5e61a8c3322034d987346cc203aa9e649d9ff79ea69b | 0.85 | testing_debugging_repair_refactoring | 135 | false | 2026-07-17 |
using System;
using System.IO;
using Agiil.Bootstrap;
using Agiil.Data;
using Autofac;
using NUnit.Framework;
namespace Agiil.Tests.Data
{
[TestFixture]
public class NHibernateSchemaExportingDatabaseCreatorTests
{
const string SchemaExportFilename = "Agiil.db-schema-export.sql";
[Test]
public void ... | csf-dev/agiil | Tests/Agiil.Tests.Data/NHibernateSchemaExportingDatabaseCreatorTests.cs | https://github.com/csf-dev/agiil/blob/HEAD/Tests/Agiil.Tests.Data/NHibernateSchemaExportingDatabaseCreatorTests.cs | ghcode:00170:d233561ac8c9 | mit | codeparrot/github-code | d233561ac8c9e356d89c8c033378228f53fb0aba3fb074cfc16f810d0ac80a98 | 0.75 | testing_debugging_repair_refactoring | 232 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using NUnit.Framework;
using TSQLLint.Infrastructure.Rules;
using TSQLLint.Infrastructure.Rules.RuleViolations;
namespace TSQLLint.Tests.UnitTests.LintingRules
{
public class SetQuotedIdentifierRuleTests
{
private const string RuleName = "set-quoted-ident... | tsqllint/tsqllint | source/TSQLLint.Tests/UnitTests/LintingRules/set-quoted-identifier/SetQuotedIdentifierRuleTests.cs | https://github.com/tsqllint/tsqllint/blob/HEAD/source/TSQLLint.Tests/UnitTests/LintingRules/set-quoted-identifier/SetQuotedIdentifierRuleTests.cs | ghcode:00170:ced22f599162 | mit | codeparrot/github-code | ced22f599162e2f0f8617914ce056b5f53b3dd10ea4e3ba43203e88c48f290d0 | 0.75 | testing_debugging_repair_refactoring | 348 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Text;
using Xunit;
using Xunit.Abstractions;
namespace Rees.TangyFruitMapper.UnitTest
{
public abstract class MappingGeneratorScenarios<TDto, TModel>
{
protected readonly List<string> DiagnosticMessages = new List<string>();
protected readonly ITe... | Benrnz/TangyFruitMapper | Rees.TangyFruitMapper.UnitTest/MappingGeneratorScenarios.cs | https://github.com/Benrnz/TangyFruitMapper/blob/HEAD/Rees.TangyFruitMapper.UnitTest/MappingGeneratorScenarios.cs | ghcode:00170:a232f91adda6 | mit | codeparrot/github-code | a232f91adda65b169b7ad920b804740a3816723ab6fca99518fb2f91ecea73d9 | 0.6 | testing_debugging_repair_refactoring | 289 | false | 2026-07-17 |
using aoc.csharp._2018;
using Xunit;
namespace aoc.csharp.tests._2018
{
public class Day13Tests
{
[Fact]
public void Answer()
{
using var input = Input.Get(2018, 13);
var (part1, part2) = Day13.GetAnswer(input);
Assert.Equal("118,112", part1);
... | zivkan/CodingForFun | AdventOfCode/aoc.csharp.tests/2018/Day13Tests.cs | https://github.com/zivkan/CodingForFun/blob/HEAD/AdventOfCode/aoc.csharp.tests/2018/Day13Tests.cs | ghcode:00170:f5075d03df6e | mit | codeparrot/github-code | f5075d03df6ed79e6b963fe8cc256e56eebe952356fcb6d1b645f831f5583eff | 0.75 | testing_debugging_repair_refactoring | 274 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MongoDB.Bson;
using MongoDB.Bson.Serialization;
using MongoDB.Driver;
using MongoFramework.Infrastructure.DefinitionHelpers;
namespace MongoFramework.Tests.Infrastructure.DefinitionHelpers
{
[TestClass]
public ... | TurnerSoftware/MongoFramework | tests/MongoFramework.Tests/Infrastructure/DefinitionHelpers/UpdateDefinitionHelperTests.cs | https://github.com/TurnerSoftware/MongoFramework/blob/HEAD/tests/MongoFramework.Tests/Infrastructure/DefinitionHelpers/UpdateDefinitionHelperTests.cs | ghcode:00170:aecf854e2f7a | mit | codeparrot/github-code | aecf854e2f7abc9cac0aa910e4eaed4529d7c3617648579a62a547e2693d0b1c | 0.75 | testing_debugging_repair_refactoring | 2,591 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using ExcelDna.Integration;
namespace RtdArrayTest
{
public static class TestFunctions
{
public static object RtdArrayTest(string prefix)
{
object rtdValue = XlCall.RTD("... | Excel-DNA/Samples | RtdArrayTest/TestFunctions.cs | https://github.com/Excel-DNA/Samples/blob/HEAD/RtdArrayTest/TestFunctions.cs | ghcode:00170:435ea908dba1 | mit | codeparrot/github-code | 435ea908dba1f7ad11fee55bf6f9b5af46a58c7542c95848f770209dcbb5ead1 | 0.85 | testing_debugging_repair_refactoring | 418 | false | 2026-07-17 |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
using System;
using Microso... | karolz-ms/diagnostics-eventflow | test/Microsoft.Diagnostics.EventFlow.Core.Tests/FilterParsing/EventPropertyExpressionTests.cs | https://github.com/karolz-ms/diagnostics-eventflow/blob/HEAD/test/Microsoft.Diagnostics.EventFlow.Core.Tests/FilterParsing/EventPropertyExpressionTests.cs | ghcode:00170:0afb0a91a0e7 | mit | codeparrot/github-code | 0afb0a91a0e7f0098464b31ea77d84fb8a37bd642ea4c6f8d482c9934b498691 | 0.85 | testing_debugging_repair_refactoring | 1,365 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NHibernate;
using NUnit.Framework;
using SharperArchitecture.Common.Queries;
using SharperArchitecture.DataAccess;
using SharperArchitecture.DataAccess.Specifications;
using SharperArchitecture.Dom... | maca88/PowerArhitecture | Source/SharperArchitecture.Tests/SharperArchitecture.Tests.DataAccess/QueryHandlerTests.cs | https://github.com/maca88/PowerArhitecture/blob/HEAD/Source/SharperArchitecture.Tests/SharperArchitecture.Tests.DataAccess/QueryHandlerTests.cs | ghcode:00170:2da1a806977a | mit | codeparrot/github-code | 2da1a806977a95e39b16300e6f84a766478f15b79f7e897ff3ea659280e5ab33 | 0.75 | testing_debugging_repair_refactoring | 545 | false | 2026-07-17 |
namespace Voodoo.CodeGeneration.Models.TestingFramework
{
public interface ITestingFramework
{
string[] RequiredNamespaces { get; }
string TestLevelAttribute { get; }
string ClassLevelAttribute { get; }
}
public static class TestingFrameworkFactory
{
public static I... | MiniverCheevy/spa-starter-kit | dev-tools/Voodoo.CodeGeneration/Models/TestingFramework/ITestingFramework.cs | https://github.com/MiniverCheevy/spa-starter-kit/blob/HEAD/dev-tools/Voodoo.CodeGeneration/Models/TestingFramework/ITestingFramework.cs | ghcode:00170:d2d3e2e2ec01 | mit | codeparrot/github-code | d2d3e2e2ec01a54bfd51f152b5497acb7d94b1d357dd59df16ae3781cbf71305 | 0.75 | testing_debugging_repair_refactoring | 112 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using NUnit.Framework;
using Outlander.Core.Client.Scripting;
using Outlander.Core.Tests;
namespace Outlander.Core.Client.Tests
{
public class StubScript : IScript
{
public bool Stopped { get; private set; }
public string Script { get; set; }
publi... | joemcbride/outlander | src/Pathfinder.Core.Client.Tests/Scripting/StubScript.cs | https://github.com/joemcbride/outlander/blob/HEAD/src/Pathfinder.Core.Client.Tests/Scripting/StubScript.cs | ghcode:00170:3c4f1b45887e | mit | codeparrot/github-code | 3c4f1b45887e4cc35b0159b15bbf6dd908b04f7418239739ffd1202a36041856 | 0.6 | testing_debugging_repair_refactoring | 252 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) Microsoft Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to us... | heaths/psmsi | test/PowerShell.Test/PowerShell/PSInstallerExceptionTests.cs | https://github.com/heaths/psmsi/blob/HEAD/test/PowerShell.Test/PowerShell/PSInstallerExceptionTests.cs | ghcode:00170:14c12785b636 | mit | codeparrot/github-code | 14c12785b636ba0ad5039ecde29b83865cc9dbe2dc3f6e725d96db98341ed11c | 0.85 | testing_debugging_repair_refactoring | 977 | false | 2026-07-17 |
// Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Linq;
using Perspex.Controls.Presenters;
using Perspex.Controls.Templates;
using Perspex.Input;
using Perspex.LogicalTree;
using Perspex.Styl... | kekekeks/Perspex | tests/Perspex.Controls.UnitTests/ListBoxTests.cs | https://github.com/kekekeks/Perspex/blob/HEAD/tests/Perspex.Controls.UnitTests/ListBoxTests.cs | ghcode:00170:d3306cbdb882 | mit | codeparrot/github-code | d3306cbdb8825190f47856888e367a9ecd2007f413f69e52dfd21eae1cfdffc0 | 0.75 | testing_debugging_repair_refactoring | 681 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using ASPPatterns.Chap7.QueryObject.Infrastructure.Query;
using ASPPatterns.Chap7.QueryObject.Repository;
using NUnit.Framework;
namespace ASPPatterns.Chap7.QueryObject.Tests
{
[TestFixture]
publ... | liqipeng/helloGithub | Book-Code/ASP.NET Design Pattern/ASPPatternsc07/ASPPatterns.Chap7.QueryObject/ASPPatterns.Chap7.QueryObject.Tests/SQLQueryTranslatorTests.cs | https://github.com/liqipeng/helloGithub/blob/HEAD/Book-Code/ASP.NET Design Pattern/ASPPatternsc07/ASPPatterns.Chap7.QueryObject/ASPPatterns.Chap7.QueryObject.Tests/SQLQueryTranslatorTests.cs | ghcode:00170:fcb00f642507 | mit | codeparrot/github-code | fcb00f642507a7374fcdbc5b181fe19a8fad8c465bb295d536db3440017ce3f1 | 0.75 | testing_debugging_repair_refactoring | 198 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Octokit;
using Octokit.Tests.Integration;
using Octokit.Tests.Integration.Helpers;
using Xunit;
public class BranchesClientTests
{
public class TheGetBranchesMethod
{
public TheGetBranchesMethod() { }
[Integra... | gabrielweyer/octokit.net | Octokit.Tests.Integration/Clients/BranchesClientTests.cs | https://github.com/gabrielweyer/octokit.net/blob/HEAD/Octokit.Tests.Integration/Clients/BranchesClientTests.cs | ghcode:00170:8de29f193500 | mit | codeparrot/github-code | 8de29f193500636622831541e63684bc5efb84ff561ef8402d974c4b6279aab9 | 0.85 | testing_debugging_repair_refactoring | 990 | false | 2026-07-17 |
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using Microsoft.VisualStudio.TestTools.UnitTesting;
//using Purchasing.Core.Domain;
//using Rhino.Mocks;
//namespace Purchasing.Tests.ServiceTests.OrderAccessServiceTests
//{
// public partial class OrderAccessServiceTests
// {
// ... | ucdavis/Purchasing | Purchasing.Tests/ServiceTests/OrderAccessServiceTests/OrderAccessServiceTestsPart09.cs | https://github.com/ucdavis/Purchasing/blob/HEAD/Purchasing.Tests/ServiceTests/OrderAccessServiceTests/OrderAccessServiceTestsPart09.cs | ghcode:00170:2948aafcb9ee | mit | codeparrot/github-code | 2948aafcb9eebb035c676639fd982cb0afb06f3476142a2057ca87ec184d80f1 | 0.85 | testing_debugging_repair_refactoring | 11,093 | false | 2026-07-17 |
using System.IO;
using AM.Text;
using JetBrains.Annotations;
using ManagedIrbis;
using ManagedIrbis.Client;
using ManagedIrbis.Pft.Infrastructure;
using ManagedIrbis.Pft.Infrastructure.Ast;
using ManagedIrbis.Pft.Infrastructure.Compiler;
using ManagedIrbis.Pft.Infrastructure.Diagnostics;
using ManagedIrbis.Pft.Infr... | amironov73/ManagedIrbis | Source/UnitTests/ManagedIrbis/Pft/Infrastructure/Ast/PftFromTest.cs | https://github.com/amironov73/ManagedIrbis/blob/HEAD/Source/UnitTests/ManagedIrbis/Pft/Infrastructure/Ast/PftFromTest.cs | ghcode:00170:6bc401217f4f | mit | codeparrot/github-code | 6bc401217f4f9cceb24dda7f0749173145291801eb93b6f1329d9b9de16cea14 | 0.75 | testing_debugging_repair_refactoring | 1,902 | false | 2026-07-17 |
using System;
using System.Reflection;
using System.Threading;
namespace UnhandledExceptionTest
{
class TestConfiguration {
private bool useDifferentThread = false;
public bool DT {
get {
return useDifferentThread;
}
}
private bool useDifferentApplicationDomain = false;
public bool DA {
get {
... | jbatonnet/system | Source/[Libraries]/Mono/mono/tests/unhandled-exception-test-case.2.cs | https://github.com/jbatonnet/system/blob/HEAD/Source/[Libraries]/Mono/mono/tests/unhandled-exception-test-case.2.cs | ghcode:00170:49923a369176 | mit | codeparrot/github-code | 49923a3691766c437a01534b064b8bfb0929a53bb899bce2ac993f386ab14460 | 0.95 | testing_debugging_repair_refactoring | 1,716 | false | 2026-07-17 |
using MyLibrary.Mixins.UntestableLibrary;
using NUnit.Framework;
using UntestableLibrary;
using UntestableLibrary.Prig;
using Urasandesu.Prig.Framework;
namespace MyLibraryTest.Mixins.UntestableLibrary
{
[TestFixture]
public class ULTableMixinTest
{
[Test]
public void GetAutoGeneratedColum... | urasandesu/Prig.Samples | 05.NonPublicReplacement/NonPublicReplacementTest/Mixins/UntestableLibrary/ULTableMixinTest.cs | https://github.com/urasandesu/Prig.Samples/blob/HEAD/05.NonPublicReplacement/NonPublicReplacementTest/Mixins/UntestableLibrary/ULTableMixinTest.cs | ghcode:00170:709bdda2c310 | mit | codeparrot/github-code | 709bdda2c31054b2f3e5d03ae4743162eea1dfa4eac3c340a17774f88f2db0c5 | 0.7 | testing_debugging_repair_refactoring | 252 | false | 2026-07-17 |
using KellermanSoftware.CompareNetObjects;
using NUnit.Framework;
using SupaCharge.Testing;
namespace Nucs.UnitTests {
[TestFixture]
public abstract class NucsBaseTestCase : BaseTestCase {
protected void Compare(object actual, object expected) {
Assert.That(IsEqual(actual, expected), Is.True, _O... | asipe/Nucs | src/Nucs.UnitTests/NucsBaseTestCase.cs | https://github.com/asipe/Nucs/blob/HEAD/src/Nucs.UnitTests/NucsBaseTestCase.cs | ghcode:00170:08716f4c3c9c | mit | codeparrot/github-code | 08716f4c3c9ce081cf0e11ef7edbafdc60bb7abdc228ef4c3755fde1c017db25 | 0.6 | testing_debugging_repair_refactoring | 116 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Test.MusicManager.Applications.Views;
using Waf.MusicManager.Applications.ViewModels;
namespace Test.MusicManager.Applications.ViewModels;
[TestClass]
public class InfoViewModelTest : ApplicationsTest
{
protected override void OnCleanup()
{
... | jbe2277/musicmanager | src/MusicManager/MusicManager.Applications.Test/ViewModels/InfoViewModelTest.cs | https://github.com/jbe2277/musicmanager/blob/HEAD/src/MusicManager/MusicManager.Applications.Test/ViewModels/InfoViewModelTest.cs | ghcode:00170:7206c643fe92 | mit | codeparrot/github-code | 7206c643fe9265b4ba423f8cb56158e9b5249b92b98c545e4ce474ae411fc985 | 0.6 | testing_debugging_repair_refactoring | 166 | false | 2026-07-17 |
namespace Dike.Core.Test.Domain.Entities
{
using Dike.Core.Domain.Entities;
using Shouldly;
using System;
using System.Diagnostics.CodeAnalysis;
using Xunit;
/// <summary>
/// Unit test for the <see cref="Core.Domain.Entities.EntityExtensions"/> class.
/// </summary>
[ExcludeFromCo... | IngbertPalm/project.dike | test/Dike.Core.Test/Domain/Entities/EntityExtensionsTest.cs | https://github.com/IngbertPalm/project.dike/blob/HEAD/test/Dike.Core.Test/Domain/Entities/EntityExtensionsTest.cs | ghcode:00170:5952149669f3 | mit | codeparrot/github-code | 5952149669f39a81d7c91a7c792222fe1c5860f2a2f28173d341664372d1923d | 0.7 | testing_debugging_repair_refactoring | 573 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using NUnit.Framework;
using Raven.Abstractions.Data;
using Raven.Abstractions.Indexing;
using Raven.Client;
using Raven.Client.Embedded;
using Raven.Client.Indexes;
namespace MinaGlosor.Test.... | dlidstrom/MinaGlosor | MinaGlosor.Test/Api/HighlightingsTest.cs | https://github.com/dlidstrom/MinaGlosor/blob/HEAD/MinaGlosor.Test/Api/HighlightingsTest.cs | ghcode:00170:7eb33999b01e | mit | codeparrot/github-code | 7eb33999b01e44ccb22d45a62ce821a8e4d608c446855ce26615972c20d46429 | 0.6 | testing_debugging_repair_refactoring | 1,037 | false | 2026-07-17 |
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Neo.Cryptography;
using Neo.Cryptography.ECC;
using Neo.Wallets;
using System;
using System.Linq;
namespace Neo.UnitTests.Wallets
{
[TestClass]
public class UT_KeyPair
{
[TestMethod]
public void TestConstructo... | AntShares/AntShares | tests/neo.UnitTests/Wallets/UT_KeyPair.cs | https://github.com/AntShares/AntShares/blob/HEAD/tests/neo.UnitTests/Wallets/UT_KeyPair.cs | ghcode:00170:c14e221d044f | mit | codeparrot/github-code | c14e221d044fa66cceb1ffc3f089be46a1f0871cd6e7a0a72631a9c3d8f0bdb1 | 0.6 | testing_debugging_repair_refactoring | 2,321 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using System.Net;
using AutoMapper;
using Moq;
using NUnit.Framework;
using TestStack.FluentMVCTesting;
using SofiaDayAndNight.Data.Services.Contracts;
using SofiaDayAndNight.Web.Areas.User.Controllers;
using SofiaDayAndNight.Web.Areas.User.Models;
using SofiaDayA... | AsenaPencheva/SofiaDayAndNight | SofiaDayAndNight.UnitTests/Controllers/Individual/FollowingList_Should.cs | https://github.com/AsenaPencheva/SofiaDayAndNight/blob/HEAD/SofiaDayAndNight.UnitTests/Controllers/Individual/FollowingList_Should.cs | ghcode:00170:441cdd84a772 | mit | codeparrot/github-code | 441cdd84a77264d807b78ef8fa92cb17576772be126c4841f82822bc85729bde | 0.7 | testing_debugging_repair_refactoring | 796 | false | 2026-07-17 |
using System;
using Xunit;
using Omni.Chakra.Runtime;
using System.Dynamic;
using Moq;
namespace Omni.Chakra.JavaScript
{
public class JsObjectTest
{
private RuntimeEngine _engine;
private Context _context;
public JsObjectTest()
{
_engine = new RuntimeEngine(runtim... | alexgwolff/OmniChakra | test/Omni.Chakra.Test/JavaScript/JsObjectTest.cs | https://github.com/alexgwolff/OmniChakra/blob/HEAD/test/Omni.Chakra.Test/JavaScript/JsObjectTest.cs | ghcode:00170:e6b92f98d6b0 | mit | codeparrot/github-code | e6b92f98d6b02c8727aaced4184372307bff1c1bd7550dbe994dbac5f0a95316 | 0.6 | testing_debugging_repair_refactoring | 180 | false | 2026-07-17 |
using System.Collections.Generic;
using CodeFights.Intro;
using CodeFights.Tests.Common;
using NUnit.Framework;
namespace CodeFights.Tests.Intro
{
[Category("Level 5")]
[TestFixture]
public class ArcadeIntro5Tests
{
#region L56 Testcases
private static List<ComplexTest<bool[][], int[]... | mikeruhl/CodeFights | CodeFights.Tests/Intro/ArcadeIntro5Tests.cs | https://github.com/mikeruhl/CodeFights/blob/HEAD/CodeFights.Tests/Intro/ArcadeIntro5Tests.cs | ghcode:00170:3a7a5b055843 | mit | codeparrot/github-code | 3a7a5b055843707aebe3935e495ac88473b462b0eb95401db17c39c65ee8a616 | 0.75 | testing_debugging_repair_refactoring | 2,121 | false | 2026-07-17 |
using Acr.UserDialogs;
using ForumDEG.Interfaces;
using ForumDEG.Models;
using ForumDEG.ViewModels;
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UnitTest.UnitTests {
class ChangePasswordViewModelTest... | RomeuCarvalhoAntunes/2017.1-Forum-Coordenadores-DEG | UnitTest/UnitTests/ChangePasswordViewModelTests.cs | https://github.com/RomeuCarvalhoAntunes/2017.1-Forum-Coordenadores-DEG/blob/HEAD/UnitTest/UnitTests/ChangePasswordViewModelTests.cs | ghcode:00170:e10c4e3eda44 | mit | codeparrot/github-code | e10c4e3eda4493416f6b340d960810eb7207b5acd8eadc80594e9fcac82c6b72 | 0.75 | testing_debugging_repair_refactoring | 708 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace vm.Aspects.Security.Cryptography.Ciphers.Tests
{
public abstract class GenericHasherTest<THasher> where THasher : IHasherTasks
{
public virtual IHasherTasks GetHasher()
{
... | vmelamed/vm | Aspects/Security/Cryptography/Ciphers/tests/GenericHasherTest.cs | https://github.com/vmelamed/vm/blob/HEAD/Aspects/Security/Cryptography/Ciphers/tests/GenericHasherTest.cs | ghcode:00170:8db781e3b571 | mit | codeparrot/github-code | 8db781e3b571772b710790773bb58c2b28e12052ba803dd1c9ad44c2ce3cf961 | 0.85 | testing_debugging_repair_refactoring | 3,841 | 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 Microsoft.CSharp.RuntimeBinder.Syntax;
namespace Microsoft.CSharp.RuntimeBinder.Sem... | marksmeltzer/corefx | src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/Symbols/MiscSymFactory.cs | https://github.com/marksmeltzer/corefx/blob/HEAD/src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/Symbols/MiscSymFactory.cs | ghcode:00170:4fc751870f07 | mit | codeparrot/github-code | 4fc751870f070afc20222f8e4ea30aee2df8fb4dbce226f861de6ce488ef25c2 | 0.95 | testing_debugging_repair_refactoring | 302 | false | 2026-07-17 |
namespace King.Service.Tests.Unit.Data.Model
{
using Azure.Model;
using King.Service.Data.Model;
using Microsoft.WindowsAzure.Storage.Table;
using NUnit.Framework;
using System;
[TestFixture]
public class ScheduledTaskEntryTests
{
[Test]
public void Constructor()
... | jefking/King.Service | King.Service.Tests/Data/Model/ScheduledTaskEntryTests.cs | https://github.com/jefking/King.Service/blob/HEAD/King.Service.Tests/Data/Model/ScheduledTaskEntryTests.cs | ghcode:00170:6e1b7d2dfff9 | mit | codeparrot/github-code | 6e1b7d2dfff9c43a6504b0e82eedf0d91473f5eb1b2a62cd76642094ce7b27df | 0.75 | testing_debugging_repair_refactoring | 384 | false | 2026-07-17 |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
using System.Collections.Generic;
namespace Sepia.Globalization
{
[TestClass]
public class LocaleIdentifierTest
{
[TestMethod]
public void Parsing_Language()
{
var id ... | richardschneider/net-cldr | test/LocaleIdentifierTest.cs | https://github.com/richardschneider/net-cldr/blob/HEAD/test/LocaleIdentifierTest.cs | ghcode:00170:93a42ec2c298 | mit | codeparrot/github-code | 93a42ec2c298092b7a0f6e344b0d334692a0fe0f61cce4808f62b250fb01df2a | 0.6 | testing_debugging_repair_refactoring | 2,604 | false | 2026-07-17 |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UICanvas : SingletonObject<UICanvas>
{
// Use this for initialization
void Start ()
{
CreateInstance(this);
}
// Update is called once per frame
void Update ()
{
}
}
| 724789975/FxLib | Client_Unity/Test/Assets/Scripts/UI/UICanvas.cs | https://github.com/724789975/FxLib/blob/HEAD/Client_Unity/Test/Assets/Scripts/UI/UICanvas.cs | ghcode:00170:ede5241f0867 | mit | codeparrot/github-code | ede5241f086707e4daef580e7cae2ed6088025f2066b6d8fbee8d08aba6413f4 | 0.85 | testing_debugging_repair_refactoring | 63 | false | 2026-07-17 |
/*
* Vericred API
*
* Vericred's API allows you to search for Health Plans that a specific doctor
accepts.
## Getting Started
Visit our [Developer Portal](https://developers.vericred.com) to
create an account.
Once you have created an account, you can create one Application for
Production and another for our San... | vericred/vericred-.net | src/IO.Vericred.Test/Model/CarrierTests.cs | https://github.com/vericred/vericred-.net/blob/HEAD/src/IO.Vericred.Test/Model/CarrierTests.cs | ghcode:00170:f6217d89eb4a | apache-2.0 | codeparrot/github-code | f6217d89eb4a6ba6d8b5bdf09283b999985b5d50f08b3b0c48d1f49a9d473d52 | 0.85 | testing_debugging_repair_refactoring | 2,392 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.IO;
namespace BoletoNet.Testes
{
[TestClass]
public class BancoBradescoTeste
{
#region Carteira 16
private BoletoBancario GerarBoletoCarteira16()
{
var vencimento = new DateTime(2021, 7, 20);... | edsonfast/boletonet | src/Boleto.Net.Testes/BancoBradescoTeste.cs | https://github.com/edsonfast/boletonet/blob/HEAD/src/Boleto.Net.Testes/BancoBradescoTeste.cs | ghcode:00170:b943b62881c9 | apache-2.0 | codeparrot/github-code | b943b62881c971d8708e0555b7a51611824f244d09a53d9f9a6300423a35e904 | 0.7 | testing_debugging_repair_refactoring | 4,102 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Xunit;
namespace Cocon90.Db.XUnitTest
{
public class UnitTest1
{
[Fact]
public void Test1()
{
//var dh = Cocon90.Db.Common.Db.GetDataHelper("Cocon90.Db.Sqlite.dll", "Cocon90.Db.Sqlite.DbDriver", "D:\\Application\\Db... | Cocon90/Cocon90.Db | NetStandard/Cocon90.Db.XUnitTest/UnitTest1.cs | https://github.com/Cocon90/Cocon90.Db/blob/HEAD/NetStandard/Cocon90.Db.XUnitTest/UnitTest1.cs | ghcode:00170:c05baf984f79 | apache-2.0 | codeparrot/github-code | c05baf984f79240b4afb5db50b98ffd89f625f3d3300529b0663601e8953e851 | 0.7 | testing_debugging_repair_refactoring | 1,069 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using KK.WX;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KK.WX.Tests
{
[TestClass()]
public class WXDefineTests
{
[TestMethod()]
public void GetWXRedirectUr... | sugartomato/AllProjects | KK.WX/KK.WXTests/WXDefineTests.cs | https://github.com/sugartomato/AllProjects/blob/HEAD/KK.WX/KK.WXTests/WXDefineTests.cs | ghcode:00170:1b5f4663ca78 | apache-2.0 | codeparrot/github-code | 1b5f4663ca787a72d13e254b01095c6ba03959060d00231602de064020db1171 | 0.75 | testing_debugging_repair_refactoring | 115 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using Bio.Algorithms.Alignment;
using Bio.IO;
using Bio.IO.SAM;
using Bio.Util.ArgumentParser;
using NUnit.Framework;
namespace Bio.Tests.IO.SAM
{
/// <summary>
/// Test SAM format parser and formatter.
/// </summary>
... | dotnetbio/bio | Tests/Bio.Tests/IO/SAM/SAMTests.cs | https://github.com/dotnetbio/bio/blob/HEAD/Tests/Bio.Tests/IO/SAM/SAMTests.cs | ghcode:00170:0e4509c8b60f | apache-2.0 | codeparrot/github-code | 0e4509c8b60f5b20d831029598446f88c0df827b813e84ae3425f03747b02da7 | 0.85 | testing_debugging_repair_refactoring | 575 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="StopStartIntegrationTests.cs" company="The original author or authors.">
// Copyright 2002-2012 the original author or authors.
//
// Licensed under the Apache License, Ver... | spring-projects/spring-net-amqp | test/Spring.Messaging.Amqp.Rabbit.Tests/Listener/StopStartIntegrationTests.cs | https://github.com/spring-projects/spring-net-amqp/blob/HEAD/test/Spring.Messaging.Amqp.Rabbit.Tests/Listener/StopStartIntegrationTests.cs | ghcode:00170:d46780d536fb | apache-2.0 | codeparrot/github-code | d46780d536fbb1973738b055a7d7294b85a74f1e0178088b3f7980cc21d11197 | 0.85 | testing_debugging_repair_refactoring | 1,105 | false | 2026-07-17 |
//Copyright 2014 Spin Services Limited
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//Unless required by applicable law or agreed to in wr... | jpendlebury/SS.Integration.Adapter | SS.Integration.Adapter.Tests/EventStateTests.cs | https://github.com/jpendlebury/SS.Integration.Adapter/blob/HEAD/SS.Integration.Adapter.Tests/EventStateTests.cs | ghcode:00170:d475d398f065 | apache-2.0 | codeparrot/github-code | d475d398f065d5d06b8cce4030c32202196c7fcc848a2787f56fe86c28d2c7a1 | 0.85 | testing_debugging_repair_refactoring | 1,161 | false | 2026-07-17 |
namespace DeftPack.TestAutomation.Reporting.Models
{
/// <summary>
/// Test Summary for Test Suite Report
/// </summary>
internal class TestSummary
{
public int Number { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public bool ... | deftpack/testautomation | Libraries/DeftPack.TestAutomation.Reporting/Models/TestSummary.cs | https://github.com/deftpack/testautomation/blob/HEAD/Libraries/DeftPack.TestAutomation.Reporting/Models/TestSummary.cs | ghcode:00170:a0d0e0cc36a0 | apache-2.0 | codeparrot/github-code | a0d0e0cc36a062f6188c5bd240e81592478a0be3d30aa86dbc5999a10cd782a8 | 0.85 | testing_debugging_repair_refactoring | 80 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Eventbrite.Requests;
namespace Eventbrite.Tests
{
public class GetAuthenticatedUserDetailsRequestTests
{
}
}
| shawnmclean/Eventbrite-dotnet | test/Eventbrite.Tests/GetAuthenticatedUserDetailsRequestTests.cs | https://github.com/shawnmclean/Eventbrite-dotnet/blob/HEAD/test/Eventbrite.Tests/GetAuthenticatedUserDetailsRequestTests.cs | ghcode:00170:462fbdb2b7f7 | apache-2.0 | codeparrot/github-code | 462fbdb2b7f71bc4f519e00c07df0101985085a96780e415c19d0c3065e3923a | 0.75 | testing_debugging_repair_refactoring | 54 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Buffers;
using Xunit;
namespace Microsoft.Extensions.Internal.Test
{
public class PinnedBlockMemoryPoolTests: MemoryPoolTests
{
protected override Mem... | aspnet/AspNetCore | src/Servers/Kestrel/Core/test/PinnedBlockMemoryPoolTests.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Servers/Kestrel/Core/test/PinnedBlockMemoryPoolTests.cs | ghcode:00170:61abf30ea42b | apache-2.0 | codeparrot/github-code | 61abf30ea42b2f5dc6cc845cbf08c429385976604c6421fb728cf07b23e2ec51 | 0.85 | testing_debugging_repair_refactoring | 153 | false | 2026-07-17 |
using System;
using Xunit;
namespace Sample.Tests
{
public class Tests
{
[Fact]
public void SampleLibClass1_ConsoleWriteLineSuccess()
{
var slc1 = new Sample.Lib.Class1();
slc1.ConsoleWriteLineSuccess();
}
}
}
| adamchester/test-dotnet-preview3 | test/Sample.Tests/Tests.cs | https://github.com/adamchester/test-dotnet-preview3/blob/HEAD/test/Sample.Tests/Tests.cs | ghcode:00170:ed10053f7a07 | apache-2.0 | codeparrot/github-code | ed10053f7a0767cfa91b48a09258af4399d212ce0ef11aea2f42a32c3d41e754 | 0.75 | testing_debugging_repair_refactoring | 64 | false | 2026-07-17 |
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Security.Claims;
using System.Threading.Tas... | IdentityServer/IdentityServer4 | src/IdentityServer4/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_Code_Invalid.cs | https://github.com/IdentityServer/IdentityServer4/blob/HEAD/src/IdentityServer4/test/IdentityServer.UnitTests/Validation/TokenRequest Validation/TokenRequestValidation_Code_Invalid.cs | ghcode:00170:9ce03c38fa48 | apache-2.0 | codeparrot/github-code | 9ce03c38fa48b6828e2b2bf8678238e33596260311830fab8d4d76cb639aa6e2 | 0.95 | testing_debugging_repair_refactoring | 3,033 | false | 2026-07-17 |
using System.Collections.Generic;
using NUnit.Framework.Interfaces;
using UnityEditor.TestTools.TestRunner.Api;
using UnityEngine.TestTools;
namespace UnityEditor.TestTools.TestRunner
{
interface ITestListCache
{
void CacheTest(TestPlatform platform, ITest test);
IEnumerator<ITestAdaptor> GetTe... | IanFMartin/Character-Creator | Character creator/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Utils/ITestListCache.cs | https://github.com/IanFMartin/Character-Creator/blob/HEAD/Character creator/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEditor.TestRunner/TestRunner/Utils/ITestListCache.cs | ghcode:00170:9c0601e5c8a8 | apache-2.0 | codeparrot/github-code | 9c0601e5c8a847b81c04bb4297cfe3197440ce85d4a623fdf15ae6c5eca9ef64 | 0.75 | testing_debugging_repair_refactoring | 69 | false | 2026-07-17 |
using FastSmsSdk;
using FastSmsSdk.Exceptions;
using FastSmsSdk.Models.Requests;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FastSms.Tests.IntegrationTests {
[TestClass]
public class DeleteAndEmptyTests {
public FastSmsClient Client;
public CreateUserRequest UserModel;
[TestInitialize]
pu... | fastsmsuk/dotNet-sdk | tests/FastSmsSdk.Tests/IntegrationTests/DeleteAndEmptyTests.cs | https://github.com/fastsmsuk/dotNet-sdk/blob/HEAD/tests/FastSmsSdk.Tests/IntegrationTests/DeleteAndEmptyTests.cs | ghcode:00170:3fedf4f2f29c | bsd-3-clause | codeparrot/github-code | 3fedf4f2f29c23bb8d564ab78c1e98319557b0cf7a543eba6e092cf5f805c794 | 0.75 | testing_debugging_repair_refactoring | 417 | false | 2026-07-17 |
using NMoneys.Extensions;
using NMoneys.Tests.CustomConstraints;
using NUnit.Framework;
using Testing.Commons;
namespace NMoneys.Tests
{
[TestFixture]
public class ExtensionsTester
{
private readonly decimal five = 5m;
[Test]
public void ShortcutExtensions_CreateMoneyFromDecimal()
{
Asse... | dgg/nmoneys | src/NMoneys.Tests/ExtensionsTester.cs | https://github.com/dgg/nmoneys/blob/HEAD/src/NMoneys.Tests/ExtensionsTester.cs | ghcode:00170:6145c19d6728 | bsd-3-clause | codeparrot/github-code | 6145c19d672858f84789d46872e4ddc9db2f3127cb841ac3d6b27a1f97d83be2 | 0.75 | testing_debugging_repair_refactoring | 889 | false | 2026-07-17 |
using System.Linq;
using Aranasoft.Cobweb.NHibernate.Providers;
using Aranasoft.Cobweb.NHibernate.Tests.Entities;
using Aranasoft.Cobweb.NHibernate.Tests.Util;
using FluentAssertions;
using NHibernate;
using NHibernate.Linq;
using Xunit;
namespace Aranasoft.Cobweb.NHibernate.Tests {
[Collection("FetchingProvider"... | aranasoft/cobweb | src/nhibernate/test/nhibernate3.tests/FetchSpecs.cs | https://github.com/aranasoft/cobweb/blob/HEAD/src/nhibernate/test/nhibernate3.tests/FetchSpecs.cs | ghcode:00170:991a64c308fb | bsd-3-clause | codeparrot/github-code | 991a64c308fba438205493d22d525dc6560a757db837214f7a3519ec31581ac7 | 0.85 | testing_debugging_repair_refactoring | 1,212 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Diagnostics;
using System.Runtime.CompilerServices;
#if !netstandard
using Internal.Runtime.CompilerSe... | Ermiar/corefx | src/System.Memory/src/System/Buffers/Text/Utf8Formatter/FormattingHelpers.cs | https://github.com/Ermiar/corefx/blob/HEAD/src/System.Memory/src/System/Buffers/Text/Utf8Formatter/FormattingHelpers.cs | ghcode:00170:4d22b9f0f6c1 | mit | codeparrot/github-code | 4d22b9f0f6c18d01f867bcb5633ace6b68606786b2d67588edbcee116ec0eac4 | 0.95 | testing_debugging_repair_refactoring | 3,496 | false | 2026-07-17 |
using ExtendedXmlSerializer.Configuration;
using ExtendedXmlSerializer.Tests.ReportedIssues.Shared;
using ExtendedXmlSerializer.Tests.ReportedIssues.Support;
using FluentAssertions;
using System.Collections.Generic;
using Xunit;
namespace ExtendedXmlSerializer.Tests.ReportedIssues
{
public sealed class Issue241Tests... | Mike-EEE/ExtendedXmlSerializer | test/ExtendedXmlSerializer.Tests.ReportedIssues/Issue241Tests.cs | https://github.com/Mike-EEE/ExtendedXmlSerializer/blob/HEAD/test/ExtendedXmlSerializer.Tests.ReportedIssues/Issue241Tests.cs | ghcode:00170:173e39eed347 | mit | codeparrot/github-code | 173e39eed347cc0f598de7bfb9dd73862864bb3540fec6c6157dd419459f345a | 0.75 | testing_debugging_repair_refactoring | 145 | false | 2026-07-17 |
using System;
using System.IO;
using System.Threading;
using BrightstarDB.Caching;
using BrightstarDB.Client;
using BrightstarDB.Client.RestSecurity;
using NUnit.Framework;
namespace BrightstarDB.Server.IntegrationTests
{
[TestFixture]
public class ClientCacheTests : ClientTestBase
{
private stati... | kentcb/BrightstarDB | src/core/BrightstarDB.Server.IntegrationTests/ClientCacheTests.cs | https://github.com/kentcb/BrightstarDB/blob/HEAD/src/core/BrightstarDB.Server.IntegrationTests/ClientCacheTests.cs | ghcode:00170:2b0d945d9a78 | mit | codeparrot/github-code | 2b0d945d9a781c32bcf634d2bf2494944af981591c5c51b006c91abebe99880f | 0.85 | testing_debugging_repair_refactoring | 535 | false | 2026-07-17 |
using CertiPay.Payroll.Common;
using NUnit.Framework;
using System;
using System.Collections;
namespace CertiPay.Taxes.Federal.Tests
{
[Year(YEAR)]
public class AnnualizedIncomeCalculatorTests_2014
{
private const int YEAR = 2014;
private readonly IAnnualizedIncomeCalculator _calculator =... | mattgwagner/CertiPay.Taxes.Federal | CertiPay.Taxes.Federal.Tests/2014/AnnualizedIncomeCalculatorTests_2014.cs | https://github.com/mattgwagner/CertiPay.Taxes.Federal/blob/HEAD/CertiPay.Taxes.Federal.Tests/2014/AnnualizedIncomeCalculatorTests_2014.cs | ghcode:00170:4b8a108c10ef | mit | codeparrot/github-code | 4b8a108c10ef08d98ca59aa4f734d46a76d723aa02e277567459c2d7cd213c3f | 0.7 | testing_debugging_repair_refactoring | 1,197 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
using Signum.Utilities;
using Signum.Engine;
using Signum.Entities;
using Signum.Entities.Reflection;
using Signum.Engine.Operations;
using Signum.Test.Environment;
namespace Signum.Test
{
public class SaveTest
{
... | avifatal/framework | Signum.Test/SaveTest.cs | https://github.com/avifatal/framework/blob/HEAD/Signum.Test/SaveTest.cs | ghcode:00170:d8032c393219 | mit | codeparrot/github-code | d8032c3932191d0deefd725535cca7962fc1ec418848e6e2cf274556e7768798 | 0.7 | testing_debugging_repair_refactoring | 3,066 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Logging;
namespace Microsoft.Azure.WebJobs.Extensions.WebPubSub.Tests
{
public class LogMessage
{
public LogLev... | Azure/azure-sdk-for-net | sdk/webpubsub/Microsoft.Azure.WebJobs.Extensions.WebPubSub/tests/Common/LogMessage.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/webpubsub/Microsoft.Azure.WebJobs.Extensions.WebPubSub/tests/Common/LogMessage.cs | ghcode:00170:ce7991c41672 | mit | codeparrot/github-code | ce7991c416722d3d321408675869907e2c48479c0b44b7f324aadebb9a586f29 | 0.95 | testing_debugging_repair_refactoring | 282 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
class TestGlobals
{
public const string TestApplicationId = "Test-LionFire.Vos.VosApp.Tests";
public const string TestOrgName = "LionFire-Test";
}
| jaredthirsk/Core | test/LionFire.Vos.VosApp.Tests/TestGlobals.cs | https://github.com/jaredthirsk/Core/blob/HEAD/test/LionFire.Vos.VosApp.Tests/TestGlobals.cs | ghcode:00170:8d433e926785 | mit | codeparrot/github-code | 8d433e926785e30c1cbaf1b2208ac7cd69307d7325b5bf6d9e2541b5b90091cc | 0.75 | testing_debugging_repair_refactoring | 53 | false | 2026-07-17 |
using System.Linq;
using NUnit.Framework;
[TestFixture]
public class WithVirtualAutoProperties
{
//TODO: add test for abstract
[Test]
public void Run()
{
var typeDefinition = DefinitionFinder.FindType<Person>();
var node = new TypeNode
{
... | 0x53A/PropertyChanged | PropertyChangedTests/IlGeneratedByDependencyReaderTests/WithVirtualAutoProperties.cs | https://github.com/0x53A/PropertyChanged/blob/HEAD/PropertyChangedTests/IlGeneratedByDependencyReaderTests/WithVirtualAutoProperties.cs | ghcode:00170:8c31e9b85e4a | mit | codeparrot/github-code | 8c31e9b85e4a10f37532941644e672a83eb027e0afde915455139bef696cf99d | 0.75 | testing_debugging_repair_refactoring | 175 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using NPoco.DatabaseTypes;
using NPoco.FluentMappings;
using NPoco.Tests.FluentMappings;
using NPoco.Tests.FluentTests.QueryTests;
using NUnit.Framework;
namespace NPoco.Tests.Common
{
public class BaseDBFuen... | ahbool/wwwweb | NPoco-master/src/NPoco.Tests/Common/BaseDBFuentTest.cs | https://github.com/ahbool/wwwweb/blob/HEAD/NPoco-master/src/NPoco.Tests/Common/BaseDBFuentTest.cs | ghcode:00170:5db7707308cf | apache-2.0 | codeparrot/github-code | 5db7707308cf5ab1f4d81bc8df865cbb46fa7b8a5aa264736ddc963ffefd184e | 0.95 | testing_debugging_repair_refactoring | 1,099 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Amazon.Runtime;
using System.IO;
using AWSSDK_DotNet35.UnitTests;
using Amazon.S3.Model;
using Amazon.S3.Model.Internal.MarshallTransformations;
... | rafd123/aws-sdk-net | sdk/test/UnitTests/Custom/Runtime/RedirectHandlerTests.cs | https://github.com/rafd123/aws-sdk-net/blob/HEAD/sdk/test/UnitTests/Custom/Runtime/RedirectHandlerTests.cs | ghcode:00170:a98692f5b568 | apache-2.0 | codeparrot/github-code | a98692f5b568d430c932d10d89b9cd1ec8c01b7ddbb306e23bf76edcaa731b59 | 0.85 | testing_debugging_repair_refactoring | 941 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Amazon.Runtime;
using System.IO;
using AWSSDK_DotNet35.UnitTests;
using Amazon.S3.Model;
using Amazon.S3.Model.Internal.MarshallTransformations;
... | rafd123/aws-sdk-net | sdk/test/UnitTests/Custom/Runtime/UnparseableResponsesTests.cs | https://github.com/rafd123/aws-sdk-net/blob/HEAD/sdk/test/UnitTests/Custom/Runtime/UnparseableResponsesTests.cs | ghcode:00170:29cdde2df385 | apache-2.0 | codeparrot/github-code | 29cdde2df38588f88709880bb8cd24a845a4c7d30aef336fd00f29c4d814677e | 0.95 | testing_debugging_repair_refactoring | 1,889 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Reflection.Meta... | antonssonj/roslyn | src/Compilers/Core/Portable/Emit/EditAndContinue/DeltaMetadataWriter.cs | https://github.com/antonssonj/roslyn/blob/HEAD/src/Compilers/Core/Portable/Emit/EditAndContinue/DeltaMetadataWriter.cs | ghcode:00170:742af5dd41fa | apache-2.0 | codeparrot/github-code | 742af5dd41fac33cbcc6b41e8e4e06a3052caf999735e4f20c553e862c9ecd5f | 0.85 | testing_debugging_repair_refactoring | 10,744 | 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.Immutable;
using System.Composition;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System... | srivatsn/roslyn-analyzers | src/Desktop.Analyzers/Core/ImplementSerializationConstructors.Fixer.cs | https://github.com/srivatsn/roslyn-analyzers/blob/HEAD/src/Desktop.Analyzers/Core/ImplementSerializationConstructors.Fixer.cs | ghcode:00170:45fb7589d109 | apache-2.0 | codeparrot/github-code | 45fb7589d109d1fc9cbc9faf7126bc5eeebdf700dba4417ce5eb43a01eab2fd1 | 0.85 | testing_debugging_repair_refactoring | 892 | false | 2026-07-17 |
// Copyright 2017 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | GoogleCloudPlatform/google-cloud-visualstudio | GoogleCloudExtension/GoogleCloudExtension.Utils.UnitTests/PathUtilsTests.cs | https://github.com/GoogleCloudPlatform/google-cloud-visualstudio/blob/HEAD/GoogleCloudExtension/GoogleCloudExtension.Utils.UnitTests/PathUtilsTests.cs | ghcode:00170:71911ad06f41 | apache-2.0 | codeparrot/github-code | 71911ad06f41c109ade8fbe5fafd0e80dc71c9356d6f282cce72fa8a53f02659 | 0.85 | testing_debugging_repair_refactoring | 1,196 | false | 2026-07-17 |
using System.Collections.Generic;
using QUnit;
namespace CoreLib.TestScript {
[TestFixture]
public class GenericJsDictionaryTests {
[Test]
public void TypePropertiesAreCorrect() {
Assert.AreEqual(typeof(JsDictionary<string, object>).FullName, "Object");
Assert.IsTrue(typeof(JsDictionary<string, object>).I... | drysart/SaltarelleCompiler | Runtime/CoreLib.TestScript/GenericJsDictionaryTests.cs | https://github.com/drysart/SaltarelleCompiler/blob/HEAD/Runtime/CoreLib.TestScript/GenericJsDictionaryTests.cs | ghcode:00170:6ac0c93adf4c | apache-2.0 | codeparrot/github-code | 6ac0c93adf4c9eac42f9883609ad894f5fd682f69fad9668ebdddcdcd23871f6 | 0.75 | testing_debugging_repair_refactoring | 665 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Threading.Tasks;
using NSubstitute;
using Octokit.Reactive;
using Xunit;
namespace Octokit.Tests.Reactive
{
public class AuthorizationExtensionsTests
{
public class TheGetOrCreateApplicationAuthenticationMethod
{
... | n054/octokit.net | Octokit.Tests/Reactive/AuthorizationExtensionsTests.cs | https://github.com/n054/octokit.net/blob/HEAD/Octokit.Tests/Reactive/AuthorizationExtensionsTests.cs | ghcode:00170:033b36b224df | mit | codeparrot/github-code | 033b36b224dfe43abbd4597d75aeaecb8f9f7c86310669aa43d2f1a8e9b2179f | 0.75 | testing_debugging_repair_refactoring | 902 | false | 2026-07-17 |
using System.Linq;
using LinqToDB;
using NUnit.Framework;
namespace Tests.UserTests
{
[TestFixture]
public class Issue356Tests : TestBase
{
// test depends on data order from db
// fails at least for SAP HANA for this reason
[Test]
public void Test1Unsorted([DataSources(TestProvName.AllPostgreSQL, TestPr... | linq2db/linq2db | Tests/Linq/UserTests/Issue356Tests.cs | https://github.com/linq2db/linq2db/blob/HEAD/Tests/Linq/UserTests/Issue356Tests.cs | ghcode:00170:56490d9c1a4d | mit | codeparrot/github-code | 56490d9c1a4d03a75d5270b438440b5ba55853584c69c1a5bafd5ebe09351968 | 0.85 | testing_debugging_repair_refactoring | 940 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Lex.Db.Indexing
{
using Serialization;
interface IDataIndex<T> : IIndex<T> where T : class
{
void Update(IKeyNode key, T item);
}
i... | churchs19/lex.db | lib/Lex.Db.Shared/Indexing/DataIndex.cs | https://github.com/churchs19/lex.db/blob/HEAD/lib/Lex.Db.Shared/Indexing/DataIndex.cs | ghcode:00170:ec7f11ad4ea4 | mit | codeparrot/github-code | ec7f11ad4ea44cf1606b54796fab2b628115bca0629b6097a332a92e4da1c6c3 | 0.85 | testing_debugging_repair_refactoring | 1,542 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//------------------------------------------------------------------------------
using System.Collections;
using ... | elijah6/corefx | src/System.Data.SqlClient/src/System/Data/SqlClient/SqlException.cs | https://github.com/elijah6/corefx/blob/HEAD/src/System.Data.SqlClient/src/System/Data/SqlClient/SqlException.cs | ghcode:00170:b9451cc0ef58 | mit | codeparrot/github-code | b9451cc0ef58120a7b936a78fbee8a9701e0e7d05de591a4ce513404341546b3 | 0.95 | testing_debugging_repair_refactoring | 1,410 | false | 2026-07-17 |
using Google.GData.Photos;
using NUnit.Framework;
using Google.GData.Client.UnitTests;
using Google.GData.Client;
namespace Google.GData.Client.UnitTests.Picasa
{
/// <summary>
///This is a test class for GPhotoExtensionsTest and is intended
///to contain all GPhotoExtensionsTest Unit... | michael-jia-sage/libgoogle | src/unittests/picasa/GPhotoExtensionsTest.cs | https://github.com/michael-jia-sage/libgoogle/blob/HEAD/src/unittests/picasa/GPhotoExtensionsTest.cs | ghcode:00170:86066352753b | apache-2.0 | codeparrot/github-code | 86066352753b0e77585431f9e6ae341d0098f1c5668afd0148d604592c50706e | 0.85 | testing_debugging_repair_refactoring | 420 | false | 2026-07-17 |
using NUnit.Framework;
using FSharpx.CSharpTests;
namespace FSharpx.IO.CSharpTests
{
[TestFixture]
public class IOTests
{
[Test]
public void WhenConvertingTextToWindowsLineBreaks()
{
IOPrimitives.convertTextToWindowsLineBreaks("\rMy text\n\ris from different os versions\... | sideeffffect/FSharpx.Extras | tests/FSharpx.CSharpTests/IOTests.cs | https://github.com/sideeffffect/FSharpx.Extras/blob/HEAD/tests/FSharpx.CSharpTests/IOTests.cs | ghcode:00170:6d64dbb02abe | unlicense | codeparrot/github-code | 6d64dbb02abe9acfb545aa6fbcca9f88cbacc43ec53374bda74933246c982792 | 0.68 | testing_debugging_repair_refactoring | 116 | false | 2026-07-17 |
// -----------------------------------------------------------------------
// <copyright file="AbstractBuilder.cs" company="OSharp开源团队">
// Copyright (c) 2014 OSharp. All rights reserved.
// </copyright>
// <last-editor>郭明锋</last-editor>
// <last-date>2014:07:05 3:24</last-date>
// ---------------------------... | xielongjiang/osharp | tests/OSharp.Utility.Tests/Filter/FilterHelperTests.cs | https://github.com/xielongjiang/osharp/blob/HEAD/tests/OSharp.Utility.Tests/Filter/FilterHelperTests.cs | ghcode:00170:ade9d84820d5 | apache-2.0 | codeparrot/github-code | ade9d84820d5b9c77a3f23991f6049ba020c95586c328b75fdd3f1e20a554cd7 | 0.85 | testing_debugging_repair_refactoring | 1,058 | false | 2026-07-17 |
using System.Linq;
using Shouldly;
using TestStack.BDDfy.Configuration;
using Xunit;
namespace TestStack.BDDfy.Tests.Scanner.ReflectiveScanner
{
public class WhenStepsAreDefinedInABaseClass
{
private Story _story;
class TheBaseClass
{
public void GivenInTheBaseClass(){}
... | mwhelan/TestStack.BDDfy | src/TestStack.BDDfy.Tests/Scanner/ReflectiveScanner/WhenStepsAreDefinedInABaseClass.cs | https://github.com/mwhelan/TestStack.BDDfy/blob/HEAD/src/TestStack.BDDfy.Tests/Scanner/ReflectiveScanner/WhenStepsAreDefinedInABaseClass.cs | ghcode:00170:9bb36b701673 | mit | codeparrot/github-code | 9bb36b701673dce889590358121947142e336c10409228e78d3c76b3553d31b8 | 0.75 | testing_debugging_repair_refactoring | 352 | 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.Net.Sockets;
using Xunit;
namespace System.Net.Primitives.Functiona... | BrennanConroy/corefx | src/System.Net.Primitives/tests/FunctionalTests/IPEndPointParsing.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Net.Primitives/tests/FunctionalTests/IPEndPointParsing.cs | ghcode:00170:373e27728a78 | mit | codeparrot/github-code | 373e27728a788140ca73ae5feb005423e1bd52b89de2476f8619e372f40a0f39 | 0.95 | testing_debugging_repair_refactoring | 6,208 | false | 2026-07-17 |
namespace FakeItEasy.Tests.ArgumentConstraintManagerExtensions
{
using System.Collections.Generic;
using NUnit.Framework;
[TestFixture]
internal class EqualToConstraintTests
: ArgumentConstraintTestBase<object>
{
protected override IEnumerable<object> InvalidValues
... | khellang/FakeItEasy | Source/FakeItEasy.Tests/ArgumentConstraintManagerExtensions/EqualToConstraintTests.cs | https://github.com/khellang/FakeItEasy/blob/HEAD/Source/FakeItEasy.Tests/ArgumentConstraintManagerExtensions/EqualToConstraintTests.cs | ghcode:00170:8334fe0fd557 | mit | codeparrot/github-code | 8334fe0fd557dc08e5340fadfbc0a49527f524222f9b37c3bfa364f32699a796 | 0.75 | testing_debugging_repair_refactoring | 163 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace Lucene.Net.Util.JunitCompat
{
/*
* 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... | apache/lucenenet | src/Lucene.Net.Tests/Util/JunitCompat/TestFailIfDirectoryNotClosed.cs | https://github.com/apache/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Util/JunitCompat/TestFailIfDirectoryNotClosed.cs | ghcode:00170:606c04900581 | apache-2.0 | codeparrot/github-code | 606c049005810d04e9152c7b8ef369ac5112b9d4a024c9d9bee64951b1adfac6 | 0.85 | testing_debugging_repair_refactoring | 500 | false | 2026-07-17 |
//
// Copyright (c) Microsoft. 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 applicable l... | oaastest/azure-sdk-for-net | src/ResourceManagement/HDInsightJob/HDInsightJob.Tests/ScenarioTests/SubmitJobTests.cs | https://github.com/oaastest/azure-sdk-for-net/blob/HEAD/src/ResourceManagement/HDInsightJob/HDInsightJob.Tests/ScenarioTests/SubmitJobTests.cs | ghcode:00170:b6356238862b | apache-2.0 | codeparrot/github-code | b6356238862b88a145be73810fa9cb21d68b837a28beef3e3a207bb79c490e8a | 0.85 | testing_debugging_repair_refactoring | 1,571 | false | 2026-07-17 |
#if !NOSERIALIZABLE
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using Google.ProtocolBuffers.TestProtos;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Google.Prot... | jskeet/protobuf-csharp-port | src/ProtocolBuffers.Test/SerializableTest.cs | https://github.com/jskeet/protobuf-csharp-port/blob/HEAD/src/ProtocolBuffers.Test/SerializableTest.cs | ghcode:00170:dcd86154e46c | bsd-3-clause | codeparrot/github-code | dcd86154e46cb82af6b345c3cc1258d4aaa28e135a5d4f64fa23e0695febd3a2 | 0.85 | testing_debugging_repair_refactoring | 1,553 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="FlowZipSpec.cs" company="Akka.NET Project">
// Copyright (C) 2015-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//--... | willieferguson/akka.net | src/core/Akka.Streams.Tests/Dsl/FlowZipSpec.cs | https://github.com/willieferguson/akka.net/blob/HEAD/src/core/Akka.Streams.Tests/Dsl/FlowZipSpec.cs | ghcode:00170:4fff5715a838 | apache-2.0 | codeparrot/github-code | 4fff5715a83844ebaaa0ca3e46670ea5979eb7b3a167dac90ea97963d1b5edda | 0.85 | testing_debugging_repair_refactoring | 861 | false | 2026-07-17 |
// Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Management.Automation;
using System.Text.RegularExpressions;
using TestPSSnapIn;
using NUnit.Framewor... | WimObiwan/Pash | Source/ReferenceTests/ReferenceTestBase.cs | https://github.com/WimObiwan/Pash/blob/HEAD/Source/ReferenceTests/ReferenceTestBase.cs | ghcode:00170:ceb9ee10dc28 | bsd-3-clause | codeparrot/github-code | ceb9ee10dc28ff076535306096caf205e381414171892e902b7a88964b6b4950 | 0.85 | testing_debugging_repair_refactoring | 1,790 | 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.Immutable;
using System.Diagnostics;
using System.Threading;
using Microsoft.CodeAnalysis.... | physhi/roslyn | src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.UsingsFromOptionsAndDiagnostics.cs | https://github.com/physhi/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.UsingsFromOptionsAndDiagnostics.cs | ghcode:00170:fefd5a6b9bf4 | apache-2.0 | codeparrot/github-code | fefd5a6b9bf44d18583989f3f2b093816369fdfef9ec2b7a677caaa2c7baa92a | 0.85 | testing_debugging_repair_refactoring | 1,213 | 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.Globalization;
using Xunit;
namespace System.Collections.Tests
{
... | nbarbettini/corefx | src/System.Collections.NonGeneric/tests/ComparerTests.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Collections.NonGeneric/tests/ComparerTests.cs | ghcode:00170:844ae8418e4f | mit | codeparrot/github-code | 844ae8418e4f69f1b2462926744188e9075869913c1700596b6b7792382eab6d | 0.95 | testing_debugging_repair_refactoring | 1,292 | 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.Linq;
using System.Linq.Expressions;
using Xunit;
namespace Tests.ExpressionCompiler.Binary
{
public static class BinaryOrTests
{
... | Yanjing123/corefx | src/System.Linq.Expressions/tests/BinaryOperators/Bitwise/BinaryOrTests.cs | https://github.com/Yanjing123/corefx/blob/HEAD/src/System.Linq.Expressions/tests/BinaryOperators/Bitwise/BinaryOrTests.cs | ghcode:00170:5593dc43438a | mit | codeparrot/github-code | 5593dc43438af46462beb556e5634f9e97763eb418c02c7353ca717c4b80ad5c | 0.95 | testing_debugging_repair_refactoring | 3,101 | false | 2026-07-17 |
using System.Xml.Linq;
using FluentAssertions.Formatting;
#if !OLD_MSTEST
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
#else
using Microsoft.VisualStudio.TestTools.UnitTesting;
#endif
namespace FluentAssertions.Specs
{
[TestClass]
public class XAttributeFormatterSpecs
{
[TestMetho... | rstam/fluentassertions | Tests/FluentAssertions.Shared.Specs/XAttributeFormatterSpecs.cs | https://github.com/rstam/fluentassertions/blob/HEAD/Tests/FluentAssertions.Shared.Specs/XAttributeFormatterSpecs.cs | ghcode:00170:413717d08187 | apache-2.0 | codeparrot/github-code | 413717d08187bfc7575bab783bf6a6c1c6a78524a4308e09ae6463fbe1d8ee2d | 0.85 | testing_debugging_repair_refactoring | 181 | false | 2026-07-17 |
using Abp.TestBase;
using Abp.WebApi.Controllers.Dynamic;
using Shouldly;
using Xunit;
namespace Abp.Web.Api.Tests.DynamicApiController.BatchBuilding
{
public class BatchDynamicApiControllerBuilder_Test : AbpIntegratedTestBase<AbpWebApiTestModule>
{
[Fact]
public void Test1()
{
... | abdllhbyrktr/aspnetboilerplate | test/Abp.Web.Api.Tests/DynamicApiController/BatchBuilding/BatchDynamicApiControllerBuilder_Test.cs | https://github.com/abdllhbyrktr/aspnetboilerplate/blob/HEAD/test/Abp.Web.Api.Tests/DynamicApiController/BatchBuilding/BatchDynamicApiControllerBuilder_Test.cs | ghcode:00170:d757e222bafb | mit | codeparrot/github-code | d757e222bafb44dee9daa637bc81fd27df8b6d0f8c40f2ac52aef8477773d65e | 0.75 | testing_debugging_repair_refactoring | 160 | 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.Globalization;
using Xunit;
namespace System.ComponentModel.Tests
{
public class ByteConverterTest... | ptoonen/corefx | src/System.ComponentModel.TypeConverter/tests/ByteConvertersTests.cs | https://github.com/ptoonen/corefx/blob/HEAD/src/System.ComponentModel.TypeConverter/tests/ByteConvertersTests.cs | ghcode:00170:d8e0cb9403ed | mit | codeparrot/github-code | d8e0cb9403ed915ebfafb09f5e164497766d81dcaea9e1c41de65e5b974eb032 | 0.95 | testing_debugging_repair_refactoring | 471 | 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.Globalization;
namespace System.Xml.Xsl.Runtime
{
/// <sum... | BrennanConroy/corefx | src/System.Private.Xml/src/System/Xml/Xsl/Runtime/XmlSortKey.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Private.Xml/src/System/Xml/Xsl/Runtime/XmlSortKey.cs | ghcode:00170:7dd6907a4c63 | mit | codeparrot/github-code | 7dd6907a4c634c13fe5769eeb0f30b6c41a14ee7ca6b0d038ba26a34f53cd9e2 | 0.95 | testing_debugging_repair_refactoring | 2,554 | 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.Xml;
using OLEDB.Test.ModuleCore;
namespace XmlReaderTest.Common
{
public partial class TCReadToDescendant : TCXMLReaderBaseGeneral
... | vs-team/corefx | src/System.Xml.ReaderWriter/tests/XmlReaderLib/TCReadToDescendant.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Xml.ReaderWriter/tests/XmlReaderLib/TCReadToDescendant.cs | ghcode:00170:01625e342e4e | mit | codeparrot/github-code | 01625e342e4ec950de98d507c93951b466f95f33e412e5bb04c47fc97efe4064 | 0.95 | testing_debugging_repair_refactoring | 1,273 | 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.Globalization;
using Xunit;
namespace System.Globalization.CalendarTests
{
// GregorianCalendar.IsLeapMonth(Int32, Int32, Int32, Int32)
... | vs-team/corefx | src/System.Globalization.Calendars/tests/GregorianCalendar/GregorianCalendarIsLeapMonth.cs | https://github.com/vs-team/corefx/blob/HEAD/src/System.Globalization.Calendars/tests/GregorianCalendar/GregorianCalendarIsLeapMonth.cs | ghcode:00170:0bb5d518d917 | mit | codeparrot/github-code | 0bb5d518d9178bfc0d8bfe82a49fc7aa1000d4fffccd1e4e647aec4dd83c5222 | 0.95 | testing_debugging_repair_refactoring | 1,840 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.IO;
using Microsoft.Xunit.Performance;
namespace System.Tests
{
public class Perf_Random
{
... | nbarbettini/corefx | src/System.Runtime.Extensions/tests/Performance/Perf.Random.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Runtime.Extensions/tests/Performance/Perf.Random.cs | ghcode:00170:223019ece573 | mit | codeparrot/github-code | 223019ece5736a8121389fe42076889f8a414a6f20251784ca64646e3ec624b9 | 0.95 | testing_debugging_repair_refactoring | 1,076 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.