text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
using UnityEngine;
using UnityEditor;
using NUnit.Framework;
using MenuStack;
using System.Reflection;
using System.Linq;
public class BasicTest
{
[Test]
public void DisableRuntimeMenuTagging_True()
{
var menuRoot = new GameObject();
var menu = menuRoot.AddComponent<MenuRoot>();
me... | bengreenier/Unity-MenuStack | Assets/Tests/Editor/BasicTest.cs | https://github.com/bengreenier/Unity-MenuStack/blob/HEAD/Assets/Tests/Editor/BasicTest.cs | ghcode:00167:c0f4b4fff989 | mit | codeparrot/github-code | c0f4b4fff98937dccef7d1fb669eed49de75a3ad28caf596992823c5e4379b23 | 0.85 | testing_debugging_repair_refactoring | 1,220 | false | 2026-07-17 |
namespace Digitus.Test
{
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using Digitus;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Ploeh.AutoFixture;
/// <summary>
/// The string builder exten... | ghostsquad/Digitus | Digitus.Test/StringBuilderExtensionTests.cs | https://github.com/ghostsquad/Digitus/blob/HEAD/Digitus.Test/StringBuilderExtensionTests.cs | ghcode:00167:0cb3e91bf3d4 | mit | codeparrot/github-code | 0cb3e91bf3d4717902e341492015bfcb9168c9b7bb6c15f98b4bb17661d2799b | 0.85 | testing_debugging_repair_refactoring | 551 | false | 2026-07-17 |
using Halforbit.DataStores.DocumentStores.CosmosDb.Implementation;
using Halforbit.DataStores.Tests;
using Halforbit.ObjectTools.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Halforbit.DataStores.DocumentStores.CosmosDb.Tests
{
p... | halforbit/data-stores | DocumentStores/CosmosDb/Halforbit.DataStores.DocumentStores.CosmosDb.Tests/CosmosDbDataStorePartitionedTests.cs | https://github.com/halforbit/data-stores/blob/HEAD/DocumentStores/CosmosDb/Halforbit.DataStores.DocumentStores.CosmosDb.Tests/CosmosDbDataStorePartitionedTests.cs | ghcode:00167:e33156d1c522 | mit | codeparrot/github-code | e33156d1c5222b0b12f5cc92daf861e48450330d494a1d03a2e6e830752dd8d1 | 0.75 | testing_debugging_repair_refactoring | 1,541 | false | 2026-07-17 |
using System.Linq;
using Xunit;
namespace Certes
{
public class CsrInfoTests
{
[Fact]
public void CanSetInfo()
{
var csr = new CsrInfo
{
CommonName = "CommonName",
Locality = "Locality",
CountryName = "CountryName"... | fszlin/certes | test/Certes.Tests/CsrInfoTests.cs | https://github.com/fszlin/certes/blob/HEAD/test/Certes.Tests/CsrInfoTests.cs | ghcode:00167:628de52c74df | mit | codeparrot/github-code | 628de52c74dfc5a6b33b568decd6b357ee6f9d8d44bf0ad702b41db0dea89e19 | 0.75 | testing_debugging_repair_refactoring | 215 | false | 2026-07-17 |
using System;
using Ardalis.GuardClauses;
using Xunit;
namespace GuardClauses.UnitTests
{
public class GuardAgainstOutOfRangeForFloat
{
[Theory]
[InlineData(1.0, 1.0, 1.0)]
[InlineData(1.0, 1.0, 3.0)]
[InlineData(2.0, 1.0, 3.0)]
[InlineData(3.0, 1.0, 3.0)]
publi... | ardalis/GuardClauses | test/GuardClauses.UnitTests/GuardAgainstOutOfRangeForFloat.cs | https://github.com/ardalis/GuardClauses/blob/HEAD/test/GuardClauses.UnitTests/GuardAgainstOutOfRangeForFloat.cs | ghcode:00167:3ae4583eef8c | mit | codeparrot/github-code | 3ae4583eef8cef6471597c8e686ee62138e67b7995e52ad30629bb65376100cd | 0.6 | testing_debugging_repair_refactoring | 753 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Kaos.Combinatorics;
namespace Kaos.Test.Combinatorics
{
[TestClass]
public class TestCombination
{
#region Test constructors
[TestMethod]
public void UnitCn... | kaosborn/KaosCombinatorics | Source/KaosTestCombinatorics/TestCombination.cs | https://github.com/kaosborn/KaosCombinatorics/blob/HEAD/Source/KaosTestCombinatorics/TestCombination.cs | ghcode:00167:a9f980b88ff4 | mit | codeparrot/github-code | a9f980b88ff4997896b13d70adebd67fc9618a86ae524da8125cbf0534ed9487 | 0.85 | testing_debugging_repair_refactoring | 5,457 | false | 2026-07-17 |
using System.Diagnostics;
using NDepend.CodeModel;
using NDepend.PowerTools.Base;
using NDepend.PowerTools.SharedUtils;
namespace NDepend.PowerTools.APIChanges {
class APIChangesPowerTool : IPowerTool {
public string Name {
get { return "Public API Changes (including API Breaking Changes)"; }
... | guibec/rpgcraft | tools/ndepend/NDepend.PowerTools.SourceCode/APIChanges/APIChangesPowerTool.cs | https://github.com/guibec/rpgcraft/blob/HEAD/tools/ndepend/NDepend.PowerTools.SourceCode/APIChanges/APIChangesPowerTool.cs | ghcode:00167:f4a23b746fc6 | mit | codeparrot/github-code | f4a23b746fc67d5a755503287d5463420fbe7e0685bfed3bd15c15a4706f1a8b | 0.75 | testing_debugging_repair_refactoring | 194 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OpenGamingLibrary.Json.Test.Documentation.Samples.Serializer
{
public class DeserializeObject
{
#region Types
public class Account
{
public string Email { get; set; }
... | extesla/OpenGamingLibrary | Source/test/OpenGamingLibrary.Json.Test/Documentation/Samples/Serializer/DeserializeObject.cs | https://github.com/extesla/OpenGamingLibrary/blob/HEAD/Source/test/OpenGamingLibrary.Json.Test/Documentation/Samples/Serializer/DeserializeObject.cs | ghcode:00167:939cc814fa26 | mit | codeparrot/github-code | 939cc814fa26172a477f61bc7e0a9a31a1746487de85e81aecc7f60e8ffcd107 | 0.85 | testing_debugging_repair_refactoring | 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.
#nullable enable
using System;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Diagnost... | diryboy/roslyn | src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_AssignmentOperator.cs | https://github.com/diryboy/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_AssignmentOperator.cs | ghcode:00167:c0f3c118a679 | mit | codeparrot/github-code | c0f3c118a67947b491aef2bca042fed5f81f847338d641a75649beff05982f2b | 0.85 | testing_debugging_repair_refactoring | 2,535 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Amadiere.Blog;
using Amadiere.Blog.Model;
using Amadiere.Blog.Repositories;
using Blog.Tests.Builders;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace Blog.Tests
{
[TestClass]
public class Arti... | Amadiere/AmadiereDotCom | Blog.Tests/ArticleReaderTests.cs | https://github.com/Amadiere/AmadiereDotCom/blob/HEAD/Blog.Tests/ArticleReaderTests.cs | ghcode:00167:157dc5889246 | mit | codeparrot/github-code | 157dc588924655c6536b9b3f9a33a4ebcf94784574b89bab888523d3017f2c75 | 0.85 | testing_debugging_repair_refactoring | 1,830 | false | 2026-07-17 |
using System;
using Moq;
using NUnit.Framework;
using SampleDomain.Domain;
using SeekU.Domain;
using SeekU.Sql;
using SeekU.Sql.Eventing;
using SeekU.Tests.Properties;
namespace SeekU.Tests.ProviderTests.SeekU.SqlTests
{
[TestFixture]
public class SqlSnapshotStoreFixture
{
[Test]
public vo... | TylerBrinks/SeekU | SeekU.Tests/ProviderTests/SeekU.SqlTests/SqlSnapshotStoreFixture.cs | https://github.com/TylerBrinks/SeekU/blob/HEAD/SeekU.Tests/ProviderTests/SeekU.SqlTests/SqlSnapshotStoreFixture.cs | ghcode:00167:ebb128c88351 | mit | codeparrot/github-code | ebb128c88351eb7e2d3e260ce6a78ab5508f3e219e6b2a680f08712565887883 | 0.6 | testing_debugging_repair_refactoring | 386 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using System.IO;
namespace NClang.Tests
{
[TestFixture]
public class ClangFileTest
{
Tuple<ClangIndex,ClangTranslationUnit> CreateTranslationUnit (string filename, string content = null)
{
content = content ?? @"#include <stdio.h> void main () { printf (""hello world"")... | atsushieno/nclang | NClang.Tests/ClangFileTest.cs | https://github.com/atsushieno/nclang/blob/HEAD/NClang.Tests/ClangFileTest.cs | ghcode:00167:9baf5fa66704 | mit | codeparrot/github-code | 9baf5fa6670477eefc1952c128cf61d1d2d8bb4f7101a32d8eb1443c4fd341c8 | 0.6 | testing_debugging_repair_refactoring | 371 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PokerLeagueManager.Commands.Domain.Exceptions;
using PokerLeagueManager.Commands.Tests.Infrastructure;
using PokerLeagueManager.Common.Commands;
using PokerLeagueManager.Common.Events;
using PokerLeagueManager.Com... | dylan-smith/pokerleaguemanager | src/PokerLeagueManager.Commands.Tests/KnockoutPlayer/KnockoutPlayerDeletedGameTest.cs | https://github.com/dylan-smith/pokerleaguemanager/blob/HEAD/src/PokerLeagueManager.Commands.Tests/KnockoutPlayer/KnockoutPlayerDeletedGameTest.cs | ghcode:00167:e207c1ff1813 | mit | codeparrot/github-code | e207c1ff18137640caf2cee8813a74cf16e43ccac0e2b8f15642b3fc88318594 | 0.6 | testing_debugging_repair_refactoring | 269 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ebIModels.Models;
using ebIModels.Schema;
using ebIViewModels.ViewModels;
using NUnit.Framework;
namespace ebIViewModels.ViewModels.Tests
{
[TestFixture]
public class MappingServiceTests
... | austriapro/ebinterface-word-plugin | eRechnungWordPlugIn/UnitTests/ebIViewModelsTests/Mapping/MappingServiceTests.cs | https://github.com/austriapro/ebinterface-word-plugin/blob/HEAD/eRechnungWordPlugIn/UnitTests/ebIViewModelsTests/Mapping/MappingServiceTests.cs | ghcode:00167:2a36c34fc007 | mit | codeparrot/github-code | 2a36c34fc007af9204620b41f65034f7d653427e75ec7f2154dec51af4952177 | 0.85 | testing_debugging_repair_refactoring | 264 | false | 2026-07-17 |
using AxoCover.Commands;
using AxoCover.Models.Editor;
using AxoCover.Models.Storage;
using AxoCover.Models.Telemetry;
using AxoCover.Models.Testing.Adapters;
using AxoCover.Models.Testing.Discovery;
using AxoCover.Models.Testing.Execution;
using AxoCover.Models.Testing.Results;
using AxoCover.Models.Updater;
using Mic... | axodox/AxoTools | AxoCover/Models/ContainerProvider.cs | https://github.com/axodox/AxoTools/blob/HEAD/AxoCover/Models/ContainerProvider.cs | ghcode:00167:9b0331140de4 | mit | codeparrot/github-code | 9b0331140de40f0313adb5ca3c66f9e5a3c6b2ef923a99572b98de35d937ec27 | 0.75 | testing_debugging_repair_refactoring | 540 | 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 Xunit;
namespace System.Buffers.Tests
{
public class BasicUnitTests
{
[Fact]
public void ByteSpanEmptyCreateArrayTest()
{
... | Vedin/corefxlab | tests/System.Buffers.Primitives.Tests/BasicUnitTests.cs | https://github.com/Vedin/corefxlab/blob/HEAD/tests/System.Buffers.Primitives.Tests/BasicUnitTests.cs | ghcode:00167:1d8f1e675a60 | mit | codeparrot/github-code | 1d8f1e675a6014a624c84e3ae9578f84ebc77337025176c289bd267b2e77e257 | 0.75 | testing_debugging_repair_refactoring | 3,810 | false | 2026-07-17 |
using Assembler.Parsing;
using NUnit.Framework;
namespace Assembler.Tests.Parsing
{
[TestFixture]
public class SymbolParserTests
{
[TestCase("i", "i")]
[TestCase("ii", "ii")]
[TestCase("BLORG", "BLORG")]
[TestCase("blorg", "blorg")]
[TestCase("END_PLOTZ", "END_PLOTZ... | FlaviusAetius/furry-octo-computing-machine | assembler/Assembler.Tests/Parsing/SymbolParserTests.cs | https://github.com/FlaviusAetius/furry-octo-computing-machine/blob/HEAD/assembler/Assembler.Tests/Parsing/SymbolParserTests.cs | ghcode:00167:d3743d190138 | mit | codeparrot/github-code | d3743d1901388a2c8b0c550dc6fbc911d142b0b3ed5990bd9f91b1e2a5b97b2c | 0.85 | testing_debugging_repair_refactoring | 449 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace LogMagic.Test
{
class TestWriter : ILogWriter
{
public string Message { get; private set; }
public LogEvent Event { get; private set; }
public void Dispose()
{
}
public void Write(IEnume... | aloneguid/logmagic | test/LogMagic.Test/TestWriter.cs | https://github.com/aloneguid/logmagic/blob/HEAD/test/LogMagic.Test/TestWriter.cs | ghcode:00167:5b3a41ba0ee5 | mit | codeparrot/github-code | 5b3a41ba0ee5b2c20f091aab784ae73ff61302f7ebf4e56fb0753c6f0d836e55 | 0.75 | testing_debugging_repair_refactoring | 106 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using MarkDown.Generator;
using MarkDown.Generator.Interfaces;
using MarkDown.Generator.Models;
using NUnit.Framework;
namespace UnitTest.MarkDown.Generator
{
/// <summary>
///
/// </summary>
[TestFixture]
p... | Fabiarm/markdownhermes | UnitTest.MarkDown.Generator/UnitTestMdBase.cs | https://github.com/Fabiarm/markdownhermes/blob/HEAD/UnitTest.MarkDown.Generator/UnitTestMdBase.cs | ghcode:00167:f183bfde473c | mit | codeparrot/github-code | f183bfde473cbe15dcc362f60c1c548a1750fba73757a98e48a765a58d367692 | 0.7 | testing_debugging_repair_refactoring | 1,061 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SelectionSort;
namespace SelectionSort.Tests
{
[TestClass]
public class BasicTest
{
private Selection.SelectionSort sorter;
[TestInitialize]
public void Setup()
{
sorter = new... | lijeffrey2013/AlgorithmCSharp | AlgorithmCS/SelectionSort.Tests/BasicTest.cs | https://github.com/lijeffrey2013/AlgorithmCSharp/blob/HEAD/AlgorithmCS/SelectionSort.Tests/BasicTest.cs | ghcode:00167:2e52271aeeaf | mit | codeparrot/github-code | 2e52271aeeafb71433b5e60dd829a3df9af7cfba0aed77e1ea181ae3c410d0a8 | 0.6 | testing_debugging_repair_refactoring | 339 | false | 2026-07-17 |
using System.IO;
namespace Memoria.Test
{
internal abstract partial class CommandMessage : IRemotingMessage
{
public abstract void Serialize(BinaryWriter bw);
public abstract void Deserialize(BinaryReader br);
}
} | Albeoris/Memoria | Assembly-CSharp/Memoria/Test/Commands/Shared/CommandMessage.cs | https://github.com/Albeoris/Memoria/blob/HEAD/Assembly-CSharp/Memoria/Test/Commands/Shared/CommandMessage.cs | ghcode:00167:2640b5a0b838 | mit | codeparrot/github-code | 2640b5a0b838507baaacfe9255f015f5f8a77c99e9eaabc82129e32d74b7bff9 | 0.85 | testing_debugging_repair_refactoring | 46 | false | 2026-07-17 |
using System;
using System.IO;
using Xunit;
using CollegeCoursePrerequisites;
public class CollegeCatalogueShould
{
[Fact]
public void CreateANewCollegueCatalogueObject()
{
//Arrange
CollegeCatalogue catalogue = new CollegeCatalogue();
Assert.NotNull(catalogue.CourseCatalogue);
}... | jenbennet/CollegeCoursePrerequisites | xUnit/CourseCatalogueTests.cs | https://github.com/jenbennet/CollegeCoursePrerequisites/blob/HEAD/xUnit/CourseCatalogueTests.cs | ghcode:00167:724641dced71 | mit | codeparrot/github-code | 724641dced71ce6fa127f180bc0e55f51ddd23cd529c1edd7763148ace0d0040 | 0.75 | testing_debugging_repair_refactoring | 655 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using FluentAssertions;
using NSaga;
using NSaga.SimpleInjector;
using SimpleInjector;
using Tests.Stubs;
using Xunit;
using System.Reflection;
namespace Tests.SimpleInjector
{
public class SimpleInjectorNSagaIntegrationTests
{
[Fact]
public void... | AMVSoftware/NSaga | src/Tests/SimpleInjector/SimpleInjectorNSagaIntegrationTests.cs | https://github.com/AMVSoftware/NSaga/blob/HEAD/src/Tests/SimpleInjector/SimpleInjectorNSagaIntegrationTests.cs | ghcode:00167:fd39005df063 | mit | codeparrot/github-code | fd39005df063edf745bea16969693570afca5eb6ac286d0163869bb11e99e914 | 0.95 | testing_debugging_repair_refactoring | 908 | false | 2026-07-17 |
using Sniper.Common;
using Sniper.TargetProcess.Routes;
using Xunit;
namespace Sniper.Tests.CRUD.Create.Common.TestCases
{
public class CreateTestCaseTests
{
[Fact]
public void CreateTestCaseThrowsError()
{
var client = CommonMethods.GetClientByRoute(TargetProcessRoutes.Rout... | bluetread/sniper | Sniper.Tests/CRUD/Create/Common/TestCases/CreateTestCaseTests.cs | https://github.com/bluetread/sniper/blob/HEAD/Sniper.Tests/CRUD/Create/Common/TestCases/CreateTestCaseTests.cs | ghcode:00167:1cde6a7ee4d7 | mit | codeparrot/github-code | 1cde6a7ee4d77ba97bcdcb246a905abad78c388220cef6fbad292eefbbc1072a | 0.75 | testing_debugging_repair_refactoring | 77 | false | 2026-07-17 |
/* Copyright (c) 2006-2008 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | david-mitchell/MonoMac-Demo | libgoogle-data-mono-1.7.0.1/src/unittests/gbase/attributehistogramtest.cs | https://github.com/david-mitchell/MonoMac-Demo/blob/HEAD/libgoogle-data-mono-1.7.0.1/src/unittests/gbase/attributehistogramtest.cs | ghcode:00167:bea7933dbce3 | mit | codeparrot/github-code | bea7933dbce3bbaf4ef885145865fa1a00e04d48a06a7cbce91f75919009ebf0 | 0.8 | testing_debugging_repair_refactoring | 784 | false | 2026-07-17 |
/*
Copyright (C) 2013-2015 MetaMorph Software, Inc
Permission is hereby granted, free of charge, to any person obtaining a
copy of this data, including any software or models in source or binary
form, as well as any drawings, specifications, and documentation
(collectively "the Data"), to deal in the Data witho... | pombredanne/metamorphosys-desktop | metamorphosys/META/test/ComponentAndArchitectureTeamTest/TestMetaAvmProject.cs | https://github.com/pombredanne/metamorphosys-desktop/blob/HEAD/metamorphosys/META/test/ComponentAndArchitectureTeamTest/TestMetaAvmProject.cs | ghcode:00167:98efd45683a8 | mit | codeparrot/github-code | 98efd45683a802f321888323b78ca206e41c749337eaeea521d38eb60b210728 | 0.85 | testing_debugging_repair_refactoring | 773 | false | 2026-07-17 |
namespace NServiceBus.AcceptanceTests.Sagas
{
using System;
using System.Linq;
using System.Threading.Tasks;
using AcceptanceTesting;
using AcceptanceTesting.Support;
using EndpointTemplates;
using NServiceBus.MongoDB;
using NUnit.Framework;
public class When_updatin... | sbmako/NServiceBus.MongoDB | src/NServiceBus.MongoDB.Acceptance.Tests/App_Packages/NSB.AcceptanceTests.6.0.0/Sagas/When_updating_existing_correlation_property.cs | https://github.com/sbmako/NServiceBus.MongoDB/blob/HEAD/src/NServiceBus.MongoDB.Acceptance.Tests/App_Packages/NSB.AcceptanceTests.6.0.0/Sagas/When_updating_existing_correlation_property.cs | ghcode:00167:4f79297e2d9c | mit | codeparrot/github-code | 4f79297e2d9cfff07c1fee70698231c44adff2a1c85d08e89d816443e1a21700 | 0.75 | testing_debugging_repair_refactoring | 602 | false | 2026-07-17 |
namespace IoCTesting.Tests.StructureMap
{
using global::StructureMap;
using TestingLibrary;
public class StructureMapUserMissingConfiguration
{
public IContainer CreateContainerWithMissingConfiguration()
{
return new Container(x =>
{
x.For<IBar>(... | vgaltes/IoCTesting | IoCTesting.Tests.StructureMap/StructureMapUserMissingConfiguration.cs | https://github.com/vgaltes/IoCTesting/blob/HEAD/IoCTesting.Tests.StructureMap/StructureMapUserMissingConfiguration.cs | ghcode:00167:7790b73c8a2d | mit | codeparrot/github-code | 7790b73c8a2d9371b0d1f133dcb58f30977e31ab6efb65965dbb78fba20ada5b | 0.75 | testing_debugging_repair_refactoring | 82 | false | 2026-07-17 |
// Patterns: 2
// Matches: Foo.cs,Bar.cs
// NotMatches: Baz.cs
using StructureMap;
using TestApplication.Types;
namespace TestApplication.StructureMap.ContainerTests
{
public class ForGenericAddGenericMultipleStatements
{
public ForGenericAddGenericMultipleStatements()
{
var... | hmemcpy/AgentMulder | src/Test/Data/StructureMap/ContainerTests/ForGenericAddGenericMultipleStatements.cs | https://github.com/hmemcpy/AgentMulder/blob/HEAD/src/Test/Data/StructureMap/ContainerTests/ForGenericAddGenericMultipleStatements.cs | ghcode:00167:33df975f7382 | mit | codeparrot/github-code | 33df975f738245d479e0a3c3d39491b20ad5c3e21b7219e350fa60288601d7b5 | 0.95 | testing_debugging_repair_refactoring | 104 | false | 2026-07-17 |
using System.Threading.Tasks;
using Xunit;
using static Amplified.CSharp.Units;
namespace Amplified.CSharp
{
// ReSharper disable once InconsistentNaming
public class AsyncMaybe__Match__Action_T__Action_None
{
[Fact]
public async Task NoneValue_WithLambdas()
{
... | Nillerr/Amplified.CSharp | Amplified.CSharp.Tests/AsyncMaybe/Match__Action_T__Action_None.cs | https://github.com/Nillerr/Amplified.CSharp/blob/HEAD/Amplified.CSharp.Tests/AsyncMaybe/Match__Action_T__Action_None.cs | ghcode:00167:6e7adfd7e3ed | mit | codeparrot/github-code | 6e7adfd7e3edab6bfe674a35ece230017a4c0dca6f771d7b451384b4a915cf54 | 0.6 | testing_debugging_repair_refactoring | 392 | false | 2026-07-17 |
using System;
using System.Linq.Expressions;
using System.Reflection;
using HyperMock.Core;
using Shouldly;
using Xunit;
// ReSharper disable UnusedMember.Local
// ReSharper disable MemberCanBeMadeStatic.Local
namespace HyperMock.UnitTests.Core
{
public class VisitListTests
{
private readonly VisitLi... | hypersolutions/hypermock | test/HyperMock.UnitTests/Core/VisitListTests.cs | https://github.com/hypersolutions/hypermock/blob/HEAD/test/HyperMock.UnitTests/Core/VisitListTests.cs | ghcode:00167:2c92f1bb6a73 | apache-2.0 | codeparrot/github-code | 2c92f1bb6a731e7475490c7dec8465a5b65823e36c93eee8d18b843aa19dd9c7 | 0.85 | testing_debugging_repair_refactoring | 1,657 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System;
using System.Diagnostics;
namespace Microsoft.Scripting.Debugging {
/// <summary>
///... | IronLanguages/dlr | Src/Microsoft.Dynamic/Debugging/VariableInfo.cs | https://github.com/IronLanguages/dlr/blob/HEAD/Src/Microsoft.Dynamic/Debugging/VariableInfo.cs | ghcode:00167:2d09e54fee5f | apache-2.0 | codeparrot/github-code | 2d09e54fee5f5cb3edacfcdc6e3bab860e98603604f128d7d0bf6abec2837d41 | 0.7 | testing_debugging_repair_refactoring | 479 | 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... | xuezhai/azure-sdk-tools | WindowsAzurePowershell/src/Management.CloudService/Utilities/General.cs | https://github.com/xuezhai/azure-sdk-tools/blob/HEAD/WindowsAzurePowershell/src/Management.CloudService/Utilities/General.cs | ghcode:00167:f654f9c71bcc | apache-2.0 | codeparrot/github-code | f654f9c71bcc91f772a8bd23e24de76f35adc8839ff2eeae201fc1df69fe2163 | 0.95 | testing_debugging_repair_refactoring | 3,790 | 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.Integration/Direct/NestedQueriesIT.cs | https://github.com/neo4j/neo4j-dotnet-driver/blob/HEAD/Neo4j.Driver/Neo4j.Driver.Tests.Integration/Direct/NestedQueriesIT.cs | ghcode:00167:be80bceaead4 | apache-2.0 | codeparrot/github-code | be80bceaead4c61f2bb7e6a08ce983cdaa4ef5a9a2438f220185ad6a456270c4 | 0.85 | testing_debugging_repair_refactoring | 2,296 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
namespace Hyperion.UnitTest.Biz
{
using Hyperion.BizAdapter.Protocol;
using Poseidon.Common;
/// <summary>
/// 登录测试
/// </su... | robertzml/Hyperion | Hyperion.UnitTest/Biz/LoginTest.cs | https://github.com/robertzml/Hyperion/blob/HEAD/Hyperion.UnitTest/Biz/LoginTest.cs | ghcode:00167:8e2b9398c2cd | apache-2.0 | codeparrot/github-code | 8e2b9398c2cd751113aa6754b8db19f554f50947269b81fde667eac530e44a47 | 0.7 | testing_debugging_repair_refactoring | 344 | false | 2026-07-17 |
using System;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Rikrop.Core.Threading.Test
{
[TestFixture]
public class ConcurrentExecutorSlimTest
{
private const int Timeout1 = 100;
private int _timeout2;
private async Task<TimeSpan> MainTest(... | rikrop/Rikrop.Core.Threading | Rikrop.Core.Threading.Test/ConcurrentExecutorSlimTest.cs | https://github.com/rikrop/Rikrop.Core.Threading/blob/HEAD/Rikrop.Core.Threading.Test/ConcurrentExecutorSlimTest.cs | ghcode:00167:eb2c6194804e | apache-2.0 | codeparrot/github-code | eb2c6194804e62721b5f9b1965ba750f24f7832eca5ae153626445499bd9cd59 | 0.6 | testing_debugging_repair_refactoring | 632 | false | 2026-07-17 |
namespace FunctionalSharp.DiscriminatedUnions.Test
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.ComponentModel;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
[TestClass]
public class DiscriminatedUnionTest
{
[TestMethod]
public... | Patrickkk/FunctionalSharp | FunctionalSharp/FunctionalSharp.Tests/DiscriminatedUnions/DiscriminatedUnionTest.cs | https://github.com/Patrickkk/FunctionalSharp/blob/HEAD/FunctionalSharp/FunctionalSharp.Tests/DiscriminatedUnions/DiscriminatedUnionTest.cs | ghcode:00167:5b2625fcc191 | apache-2.0 | codeparrot/github-code | 5b2625fcc1918c8717e6b232c78de2da96a31c8961d368b7401608e68f3c0120 | 0.6 | testing_debugging_repair_refactoring | 639 | false | 2026-07-17 |
using System;
using Bmz.Framework.Events.Bus.Handlers;
namespace Bmz.Framework.Tests.Events.Bus
{
public class MySimpleTransientEventHandler : IEventHandler<MySimpleEventData>, IDisposable
{
public static int HandleCount { get; set; }
public static int DisposeCount { get; set; }
publi... | blademasterzhang/Bmz.Framework | src/Tests/Bmz.Framework.Tests/Events/Bus/MySimpleTransientEventHandler.cs | https://github.com/blademasterzhang/Bmz.Framework/blob/HEAD/src/Tests/Bmz.Framework.Tests/Events/Bus/MySimpleTransientEventHandler.cs | ghcode:00167:bfa6e7118baa | apache-2.0 | codeparrot/github-code | bfa6e7118baa3decfcc012a326bab5b1fcc2d1daac08c8bc68a97f6d7519ec10 | 0.85 | testing_debugging_repair_refactoring | 101 | 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 ... | shurun19851206/ignite | modules/platform/src/test/dotnet/Apache.Ignite.Core.Tests/LoadDllTest.cs | https://github.com/shurun19851206/ignite/blob/HEAD/modules/platform/src/test/dotnet/Apache.Ignite.Core.Tests/LoadDllTest.cs | ghcode:00167:9c7d0141435e | apache-2.0 | codeparrot/github-code | 9c7d0141435e25e87719725139d859eeb1b0b6b0f0ad9156a432c39b769a3a52 | 0.95 | testing_debugging_repair_refactoring | 1,395 | false | 2026-07-17 |
using System.IO;
using Serilog.Events;
using Serilog.Sinks.LINQPad.Themes;
using Xunit;
namespace Serilog.Sinks.LINQPad.Formatting
{
public class ThemedDisplayValueFormatterTests
{
[Theory]
[InlineData("Hello", null, "\"Hello\"")]
[InlineData("Hello", "l", "Hello")]
public void... | lethek/Serilog.Sinks.LINQPad | tests/Serilog.Sinks.LINQPad.Tests/Formatting/ThemedDisplayValueFormatterTests.cs | https://github.com/lethek/Serilog.Sinks.LINQPad/blob/HEAD/tests/Serilog.Sinks.LINQPad.Tests/Formatting/ThemedDisplayValueFormatterTests.cs | ghcode:00167:0224f523e41e | apache-2.0 | codeparrot/github-code | 0224f523e41e6f156bf32abdc540523d4f0b788c88a9beeb6a8933e02a46ec43 | 0.75 | testing_debugging_repair_refactoring | 150 | false | 2026-07-17 |
//* Bobo Browse Engine - High performance faceted/parametric search implementation
//* that handles various types of semi-structured data. Originally written in Java.
//*
//* Ported and adapted for C# by Shad Storhaug.
//*
//* Copyright (C) 2015 Shad Storhaug
//*
//* Licensed under the Apache License, Version 2.0 (... | NightOwl888/BoboBrowse.Net | src/BoboBrowse.Net/BoboBrowse.Net.Tests/Support/TestApiConsistency.cs | https://github.com/NightOwl888/BoboBrowse.Net/blob/HEAD/src/BoboBrowse.Net/BoboBrowse.Net.Tests/Support/TestApiConsistency.cs | ghcode:00167:a51d1cf8aea6 | apache-2.0 | codeparrot/github-code | a51d1cf8aea620779d4766a1a1b0e5b714a91b34ba45836a54904531de3b8c38 | 0.85 | testing_debugging_repair_refactoring | 1,319 | false | 2026-07-17 |
using Moq;
using RazorLight.Caching;
using System;
using Xunit;
namespace RazorLight.Tests.Caching
{
public class DefaultCachingProviderTest
{
[Fact]
public void Throws_WhenCachingWithEmptyParams()
{
var cache = new MemoryCachingProvider();
Assert.Throws<ArgumentNullException>(() => cache.CacheTemplate... | toddams/RazorLight | tests/RazorLight.Tests/Caching/DefaultCachingProviderTest.cs | https://github.com/toddams/RazorLight/blob/HEAD/tests/RazorLight.Tests/Caching/DefaultCachingProviderTest.cs | ghcode:00167:046d72b9a5f8 | apache-2.0 | codeparrot/github-code | 046d72b9a5f8b15acb300c97e4d315e71e0d585072ec10d62f3958ca72ee3f02 | 0.75 | testing_debugging_repair_refactoring | 607 | false | 2026-07-17 |
using Microsoft.AspNetCore.Authentication;
namespace SimpleIdentityServer.Uma.Host.Tests.MiddleWares
{
public class TestAuthenticationOptions : AuthenticationSchemeOptions
{
}
}
| thabart/SimpleIdentityServer | SimpleIdentityServer/tests/SimpleIdentityServer.Uma.Host.Tests/MiddleWares/TestAuthenticationOptions.cs | https://github.com/thabart/SimpleIdentityServer/blob/HEAD/SimpleIdentityServer/tests/SimpleIdentityServer.Uma.Host.Tests/MiddleWares/TestAuthenticationOptions.cs | ghcode:00167:1f91856299c5 | apache-2.0 | codeparrot/github-code | 1f91856299c5b682340937de68a1600f44b2ce36a712944c3df1e586bd463109 | 0.85 | testing_debugging_repair_refactoring | 35 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Cassandra.Data.Linq;
using Cassandra.IntegrationTests.TestBase;
using Cassandra.Mapping;
using Cassandra.Tests.Mapping.Pocos;
using NUnit.Framework;
namespace Cassandra.IntegrationTests.Linq.LinqTable
{
[TestFixture, Category("short"), Categ... | mintsoft/csharp-driver | src/Cassandra.IntegrationTests/Linq/LinqTable/LinqUdtTests.cs | https://github.com/mintsoft/csharp-driver/blob/HEAD/src/Cassandra.IntegrationTests/Linq/LinqTable/LinqUdtTests.cs | ghcode:00167:b86bc32e26a2 | apache-2.0 | codeparrot/github-code | b86bc32e26a2d1149831969d0082065d9338dc040d4b29a123024e0bc2a4267a | 0.85 | testing_debugging_repair_refactoring | 1,127 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Xunit;
using Scripting.SSharp.Runtime;
using Scripting.SSharp.Runtime.Promotion;
using Scripting.SSharp;
using Scripting.SSharp.Execution.Compilers.Dom;
namespace ScriptNET.Execution.UnitTests
{
/// <summary>
/// Summary d... | PetroProtsyk/SSharp | Src/SSharp.Net.UnitTests/Execution/DomTests.cs | https://github.com/PetroProtsyk/SSharp/blob/HEAD/Src/SSharp.Net.UnitTests/Execution/DomTests.cs | ghcode:00167:0c8778f641a7 | apache-2.0 | codeparrot/github-code | 0c8778f641a792952463411fe090bae49e785cc40621f704c96d1faa2627a1bf | 0.85 | testing_debugging_repair_refactoring | 307 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using Autofac;
using Autofac.Extras.Ordering;
using Autofac.Features.Metadata;
using Xunit;
namespace Unit.Tests
{
public class ResolveOrderedEnumerableTests
{
public ResolveOrderedEnumerableTests()
{
_builder.RegisterSource(new ... | mthamil/Autofac.Extras.Ordering | src/Unit.Tests/ResolveOrderedEnumerableTests.cs | https://github.com/mthamil/Autofac.Extras.Ordering/blob/HEAD/src/Unit.Tests/ResolveOrderedEnumerableTests.cs | ghcode:00167:ecd633f092af | apache-2.0 | codeparrot/github-code | ecd633f092afbf188812166682130faf5c6bc1686b9dd2bb36869950ce7597fa | 0.85 | testing_debugging_repair_refactoring | 1,595 | false | 2026-07-17 |
namespace AdventureWorks.Repository.Test.Repository.Purchasing
{
using EntityClasses.Purchasing;
using Main;
using NUnit.Framework;
[TestFixture]
[Category("Purchasing")]
public class VendorAddressRepositoryTest : BaseRepositoryTest<VendorAddress, VendorAddressRepositoryTest>
{
pub... | krzysztofkolek/AdventureWorksAPI | Repository.Test/Repository/Purchasing/VendorAddressRepositoryTest.cs | https://github.com/krzysztofkolek/AdventureWorksAPI/blob/HEAD/Repository.Test/Repository/Purchasing/VendorAddressRepositoryTest.cs | ghcode:00167:d9520376261f | apache-2.0 | codeparrot/github-code | d9520376261fabac9433a0070e5cecf369f13da08529b0274583b1745492fa0e | 0.75 | testing_debugging_repair_refactoring | 271 | false | 2026-07-17 |
using System.ComponentModel;
using Moq;
using MvvmDialogs;
using MvvmDialogs.FrameworkDialogs.FolderBrowser;
using NUnit.Framework;
namespace Demo.CustomFolderBrowserDialog
{
[TestFixture]
public class MainWindowViewModelTest
{
[Test]
public void BrowseFolderSuccessful()
{
... | FantasticFiasco/mvvm-dialogs | samples/wpf/Demo.CustomFolderBrowserDialog.Test/MainWindowViewModelTest.cs | https://github.com/FantasticFiasco/mvvm-dialogs/blob/HEAD/samples/wpf/Demo.CustomFolderBrowserDialog.Test/MainWindowViewModelTest.cs | ghcode:00167:4936146145ad | apache-2.0 | codeparrot/github-code | 4936146145ad4e2200a34c3e89ffe989e449510e1a44412390513f8f70d5f3d7 | 0.7 | testing_debugging_repair_refactoring | 282 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="HostInheritsMethodsMixinBaseClassMethodsSpecTest.cs" company="Copacetic Software">
// Copyright (c) Copacetic Software.
// <author>Philip Pittle</author>
// <date>Friday, October 11, 2013 5:18:09 PM</date>
// Licensed u... | ppittle/pMixins | pMixins.TheorySandbox/COVERED/HostInheritsMethodsMixinBaseClassMethods/HostInheritsMethodsMixinBaseClassMethodsSpecTest.cs | https://github.com/ppittle/pMixins/blob/HEAD/pMixins.TheorySandbox/COVERED/HostInheritsMethodsMixinBaseClassMethods/HostInheritsMethodsMixinBaseClassMethodsSpecTest.cs | ghcode:00167:f181a4c348a4 | apache-2.0 | codeparrot/github-code | f181a4c348a4fd73755ff26b642dcd1066cda125c3c492e254e9422c04f691a0 | 0.85 | testing_debugging_repair_refactoring | 442 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Text;
using Cassandra.Data.Linq;
using Cassandra.Mapping;
using Cassandra.Tests.Mapping.Pocos;
using NUnit.Framework;
namespace Cassandra.Tests.Mapping.Linq
{
public class LinqToCq... | aNutForAJarOfTuna/csharp-driver | src/Cassandra.Tests/Mapping/Linq/LinqToCqlUpdateUnitTests.cs | https://github.com/aNutForAJarOfTuna/csharp-driver/blob/HEAD/src/Cassandra.Tests/Mapping/Linq/LinqToCqlUpdateUnitTests.cs | ghcode:00167:6a411324063a | apache-2.0 | codeparrot/github-code | 6a411324063a96f96148e80008237768ab57c7a5f3722c34db0926d258cf9204 | 0.75 | testing_debugging_repair_refactoring | 2,024 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using NSubstitute;
using NuGet.Packaging.Core;
using NuGet.Versioning;
using NuKeeper.Abstractions.Logging;
using NuKeeper.Inspection.Sort;
using NuKeeper.Inspection.RepositoryInspection;
using NUnit.Framework;
using NuKeeper.Abstractio... | AnthonySteele/NuKeeper | NuKeeper.Tests/Engine/Sort/PackageUpdateSortDependencyTests.cs | https://github.com/AnthonySteele/NuKeeper/blob/HEAD/NuKeeper.Tests/Engine/Sort/PackageUpdateSortDependencyTests.cs | ghcode:00167:0d7bcb372220 | apache-2.0 | codeparrot/github-code | 0d7bcb3722208d3c75b8e2e61210adda401ca21b69aa0774da535ec02d19e419 | 0.85 | testing_debugging_repair_refactoring | 1,514 | false | 2026-07-17 |
// Copyright © 2012 onwards, Andrew Whewell
// All rights reserved.
//
// Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must retain the above copyright notice, th... | wiseman/virtual-radar-server | Test/Test.VirtualRadar.Library/AutoConfigPictureFolderCacheTests.cs | https://github.com/wiseman/virtual-radar-server/blob/HEAD/Test/Test.VirtualRadar.Library/AutoConfigPictureFolderCacheTests.cs | ghcode:00167:4ddcacaccd72 | bsd-3-clause | codeparrot/github-code | 4ddcacaccd72fe8cd7f4f27e9ebfa7e52a929559d864973991ca866f0869b67e | 0.85 | testing_debugging_repair_refactoring | 929 | false | 2026-07-17 |
//Copyright (c) 2007. Clarius Consulting, Manas Technology Solutions, InSTEDD
//http://code.google.com/p/moq/
//All rights reserved.
//Redistribution and use in source and binary forms,
//with or without modification, are permitted provided
//that the following conditions are met:
// * Redistributions of source... | mbrit/MoqForWinRT | Source/Interceptor.cs | https://github.com/mbrit/MoqForWinRT/blob/HEAD/Source/Interceptor.cs | ghcode:00167:7e6fc483faee | bsd-3-clause | codeparrot/github-code | 7e6fc483faeea2c7d29be588846940fe1e1aa29cb1e684662eda6233eba92a63 | 0.85 | testing_debugging_repair_refactoring | 2,883 | false | 2026-07-17 |
using Microsoft.Azure.CognitiveServices.Vision.Face;
using Microsoft.Azure.CognitiveServices.Vision.Face.Models;
using Microsoft.Azure.Test.HttpRecorder;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using System.Collections.Generic;
using System.IO;
using Xunit;
namespace FaceSDK.Tests
{
public class Fa... | DheerendraRathor/azure-sdk-for-net | src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face.Tests/FaceDetectionTests.cs | https://github.com/DheerendraRathor/azure-sdk-for-net/blob/HEAD/src/SDKs/CognitiveServices/dataPlane/Vision/Face/Face.Tests/FaceDetectionTests.cs | ghcode:00167:5c1ed44066dd | mit | codeparrot/github-code | 5c1ed44066dd2446810b08a56211688c78cccaff6732a1cee982b2170bc3d20e | 0.85 | testing_debugging_repair_refactoring | 1,713 | false | 2026-07-17 |
using System.Diagnostics.Contracts;
using System;
class A
{
public void Foo(string s)
{
Console.WriteLine("Hello");
Contract.EndContractBlock();
}
} | Diagonactic/ReSharperContractExtensions | ReSharper.ContractExtensions.Tests/test/data/Daemon/PreconditionAnalyzers/MalformedContracts/WarningOnConsoleWriteLineBeforeEndContractBlock.cs | https://github.com/Diagonactic/ReSharperContractExtensions/blob/HEAD/ReSharper.ContractExtensions.Tests/test/data/Daemon/PreconditionAnalyzers/MalformedContracts/WarningOnConsoleWriteLineBeforeEndContractBlock.cs | ghcode:00167:4d0c3b126942 | mit | codeparrot/github-code | 4d0c3b1269428a592dcdfcd9c07777009dc5f63d1e6638d2210309388e600b6e | 0.6 | testing_debugging_repair_refactoring | 36 | false | 2026-07-17 |
using System;
using System.Linq;
using NUnit.Framework;
namespace Nvelope.Tests
{
[TestFixture]
class IntervalTests
{
DateTime A = new DateTime(2011, 1, 1);
DateTime B = new DateTime(2011, 2, 2);
DateTime C = new DateTime(2011, 3, 3);
DateTime D = new DateTime(2... | TrinityWestern/Nvelope | test/Nvelope.Tests/IntervalTests.cs | https://github.com/TrinityWestern/Nvelope/blob/HEAD/test/Nvelope.Tests/IntervalTests.cs | ghcode:00167:d9236142c10a | mit | codeparrot/github-code | d9236142c10a997842d9a16aca61e4580c449523f5f84899ba3ea3e96e9d4dac | 0.75 | testing_debugging_repair_refactoring | 1,114 | false | 2026-07-17 |
// ****************************************************************
// Copyright 2009, Charlie Poole
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org
// ****************************************************************
using System;
using NUn... | acken/AutoTest.Net | lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitFramework/tests/Syntax/OperatorOverrides.cs | https://github.com/acken/AutoTest.Net/blob/HEAD/lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitFramework/tests/Syntax/OperatorOverrides.cs | ghcode:00167:8b09fcd51b7a | mit | codeparrot/github-code | 8b09fcd51b7a7ae9ed1c76f10b208357fc6fd17558d347b1dcd80ba45a132602 | 0.95 | testing_debugging_repair_refactoring | 518 | false | 2026-07-17 |
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Exporters;
using BenchmarkDotNet.Exporters.Csv;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Order;
using BenchmarkDotNet.Reports;
using BenchmarkDotNet.Toolchai... | roman-kozachenko/MsgPack.Light | src/msgpack.light.benchmark/BenchmarkConfig.cs | https://github.com/roman-kozachenko/MsgPack.Light/blob/HEAD/src/msgpack.light.benchmark/BenchmarkConfig.cs | ghcode:00167:fc70a0ba915b | mit | codeparrot/github-code | fc70a0ba915b11e9d2aa58a7b22173c53d02b96675f6507208c820a339d5933c | 0.7 | testing_debugging_repair_refactoring | 361 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FakeItEasy;
using FluentAssertions;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.AutoFakeItEasy;
using Xunit;
using F2F.ReactiveNavigation.ViewModel;
using Microsoft.Reactive.Testing;
using Reac... | F-2-F/F2F.ReactiveNavigation | tests/F2F.ReactiveNavigation.UnitTests/ScopedLifetime_Test.cs | https://github.com/F-2-F/F2F.ReactiveNavigation/blob/HEAD/tests/F2F.ReactiveNavigation.UnitTests/ScopedLifetime_Test.cs | ghcode:00167:3d63e862a11b | mit | codeparrot/github-code | 3d63e862a11b32ddb85434309282d024d82d2a369fa745a015737edb2c76d3a8 | 0.6 | testing_debugging_repair_refactoring | 282 | 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;
namespace System.Runtime
{
///////////////////... | schellap/corert | src/Runtime.Base/src/System/Runtime/TypeCast.cs | https://github.com/schellap/corert/blob/HEAD/src/Runtime.Base/src/System/Runtime/TypeCast.cs | ghcode:00167:8ccbf0a4c759 | mit | codeparrot/github-code | 8ccbf0a4c759aa6fdb6eb0728b987c579bf93cdecccf310c1802d8de53468d42 | 0.95 | testing_debugging_repair_refactoring | 9,154 | 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.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Thre... | KirillOsenkov/roslyn | src/Features/LanguageServer/ProtocolUnitTests/Completion/CompletionTests.cs | https://github.com/KirillOsenkov/roslyn/blob/HEAD/src/Features/LanguageServer/ProtocolUnitTests/Completion/CompletionTests.cs | ghcode:00167:90bf2acde142 | mit | codeparrot/github-code | 90bf2acde14203d3c5b015d429a14763d6763d81b8c7d7ede730e40cb7461ad7 | 0.85 | testing_debugging_repair_refactoring | 1,633 | false | 2026-07-17 |
using MbUnit.Framework;
using Moq;
using Subtext.Framework.Components;
using Subtext.Framework.Data;
using Subtext.Framework.Services;
namespace UnitTests.Subtext.Framework.Components.CommentTests
{
[TestFixture]
public class CommentSettingsTests
{
[Test]
public void ApproveThrowsArgumentNu... | jeuvin/Subtext | src/UnitTests.Subtext/Framework/Components/CommentTests/CommentSettingsTests.cs | https://github.com/jeuvin/Subtext/blob/HEAD/src/UnitTests.Subtext/Framework/Components/CommentTests/CommentSettingsTests.cs | ghcode:00167:f7f815f760e7 | mit | codeparrot/github-code | f7f815f760e782c51a072640b0639e63fa2c08f1453bcdcde17a51837a0029cd | 0.75 | testing_debugging_repair_refactoring | 115 | false | 2026-07-17 |
using System.Xml.Serialization;
using ArtZilla.Net.Core.Serialization;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ArtZilla.Net.Core.Tests.Serialization {
[TestClass]
public class SpecialSerializerTests {
private interface IWaifu {
[XmlAttribute]
string Name { get; set; }
int Charm { ge... | RuBeArtZilla/ArtZilla.Net.Core | artzilla.sharp.lib/artzilla.sharp.lib.test/Serialization/SpecialSerializerTests.cs | https://github.com/RuBeArtZilla/ArtZilla.Net.Core/blob/HEAD/artzilla.sharp.lib/artzilla.sharp.lib.test/Serialization/SpecialSerializerTests.cs | ghcode:00167:aa552a6917d6 | mit | codeparrot/github-code | aa552a6917d6d4e9cced913951c1818bf7c6854a35fc24d24804ff3dff2a6bd9 | 0.75 | testing_debugging_repair_refactoring | 268 | false | 2026-07-17 |
using Google.Apis.JSON;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace TestJSonReader
{
/// <summary>
///This is a test class for JSONTokenTest and is intended
///to contain all JSONTokenTest Unit Tests
///</summary>
[TestClass()]
public class JSONTokenTest {
private ... | MarcWeb/google-api-dotnet-client | Tools/TestJSonReader/JSONTokenTest.cs | https://github.com/MarcWeb/google-api-dotnet-client/blob/HEAD/Tools/TestJSonReader/JSONTokenTest.cs | ghcode:00167:d73836557c46 | apache-2.0 | codeparrot/github-code | d73836557c46fc02f3c376e406d7afc0324b4232653dca2c12507871a7d82afa | 0.85 | testing_debugging_repair_refactoring | 368 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="TestSerializers.cs" company="Akka.NET Project">
// Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyright>
... | simonlaroche/akka.net | src/core/Akka.Persistence.Tests/Serialization/TestSerializers.cs | https://github.com/simonlaroche/akka.net/blob/HEAD/src/core/Akka.Persistence.Tests/Serialization/TestSerializers.cs | ghcode:00167:c29ca18e9edf | apache-2.0 | codeparrot/github-code | c29ca18e9edfa27de57cc0fceb8f23db95392b9420bf82b4b17c3ac8c5b41b8b | 0.85 | testing_debugging_repair_refactoring | 305 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Core.TestFramework;
namespace Azure.Extensions.AspNetCore.Configuration.Secrets.Tests
{
public class ConfigurationTestEnvironment: TestEnvironment
{
public ConfigurationTestEnvironment() : base... | stankovski/azure-sdk-for-net | sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/tests/ConfigurationTestEnvironment.cs | https://github.com/stankovski/azure-sdk-for-net/blob/HEAD/sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/tests/ConfigurationTestEnvironment.cs | ghcode:00167:6d1eda7fab5b | apache-2.0 | codeparrot/github-code | 6d1eda7fab5b9bd9f5e9df0b62cca660bc492dfa2a2ae42efb350132b35f30af | 0.85 | testing_debugging_repair_refactoring | 99 | false | 2026-07-17 |
namespace StripeTests
{
using Newtonsoft.Json;
using Stripe;
using Xunit;
public class TransferTest : BaseStripeTest
{
public TransferTest(StripeMockFixture stripeMockFixture)
: base(stripeMockFixture)
{
}
[Fact]
public void Deserialize()
... | richardlawley/stripe.net | src/StripeTests/Entities/Transfers/TransferTest.cs | https://github.com/richardlawley/stripe.net/blob/HEAD/src/StripeTests/Entities/Transfers/TransferTest.cs | ghcode:00167:9ebefcc976df | apache-2.0 | codeparrot/github-code | 9ebefcc976df7a5585008b2ec93770ed8f7c0062599072dab437197f51184206 | 0.75 | testing_debugging_repair_refactoring | 318 | false | 2026-07-17 |
using Lucene.Net.Store;
using Lucene.Net.Util;
using NUnit.Framework;
using System;
using System.IO;
using Assert = Lucene.Net.TestFramework.Assert;
namespace Lucene.Net.Index
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file ... | jeme/lucenenet | src/Lucene.Net.Tests/Index/TestPersistentSnapshotDeletionPolicy.cs | https://github.com/jeme/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Index/TestPersistentSnapshotDeletionPolicy.cs | ghcode:00167:8d7472e6e291 | apache-2.0 | codeparrot/github-code | 8d7472e6e291ee0a8f3940bb27bb7ad4b492b6754cc8635ae4ae9546532124c6 | 0.85 | testing_debugging_repair_refactoring | 1,829 | 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... | elbaloo/nunit | src/NUnitFramework/framework/Compatibility/AttributeHelper.cs | https://github.com/elbaloo/nunit/blob/HEAD/src/NUnitFramework/framework/Compatibility/AttributeHelper.cs | ghcode:00167:b51bb03ffac9 | mit | codeparrot/github-code | b51bb03ffac91a3085e277e69dc15833dbaec0abb39e796738c795acfff6a683 | 0.85 | testing_debugging_repair_refactoring | 652 | false | 2026-07-17 |
using System;
namespace fwdWild
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
} | mconnew/wcf | src/dotnet-svcutil/lib/tests/Baselines/CommandOptionsFilePaths/fwdWild/fwdWild.cs | https://github.com/mconnew/wcf/blob/HEAD/src/dotnet-svcutil/lib/tests/Baselines/CommandOptionsFilePaths/fwdWild/fwdWild.cs | ghcode:00167:f5cff73c3824 | mit | codeparrot/github-code | f5cff73c3824e893d266d3571d4a1555361f21ce06cdcb364e9ad074fbb22be5 | 0.6 | testing_debugging_repair_refactoring | 36 | false | 2026-07-17 |
#region Copyright (c) 2002-2003, James W. Newkirk, Michael C. Two, Alexei A. Vorontsov, Charlie Poole, Philip A. Craig
/************************************************************************************
'
' Copyright © 2002-2003 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov, Charlie Poole
' Copyright © 2000-2... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/nunit20/framework/SuiteAttribute.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/nunit20/framework/SuiteAttribute.cs | ghcode:00167:7f936517ba94 | mit | codeparrot/github-code | 7f936517ba942058d6878bb153f3ef1e23aa9a815d17b60fb6960f6baee33527 | 0.95 | testing_debugging_repair_refactoring | 392 | false | 2026-07-17 |
// LUCENENET specific - Factored out NLS so end users can elect to use .NET localization or not
// rather than forcing them to use it.
//using Lucene.Net.Util;
//using NUnit.Framework;
//using System;
//using System.Globalization;
//namespace Lucene.Net.QueryParsers.Flexible.Messages
//{
// /*
// * Licensed t... | apache/lucenenet | src/Lucene.Net.Tests.QueryParser/Flexible/Messages/TestNLS.cs | https://github.com/apache/lucenenet/blob/HEAD/src/Lucene.Net.Tests.QueryParser/Flexible/Messages/TestNLS.cs | ghcode:00167:a645121bdca2 | apache-2.0 | codeparrot/github-code | a645121bdca29812ef55f05d14a404670ae7f19951da9b859d46e13cd86d47e8 | 0.85 | testing_debugging_repair_refactoring | 1,281 | false | 2026-07-17 |
using CodeCracker.CSharp.Style;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Testing;
using System.Threading.Tasks;
using Xunit;
namespace CodeCracker.Test.CSharp.Style
{
public class TernaryOperatorWithAssignmentTests : CodeFixVerifier<TernaryOperatorAnalyzer, TernaryOperatorWithAssignmentCodeFixPr... | jwooley/code-cracker | test/CSharp/CodeCracker.Test/Style/TernaryOperatorTests.cs | https://github.com/jwooley/code-cracker/blob/HEAD/test/CSharp/CodeCracker.Test/Style/TernaryOperatorTests.cs | ghcode:00167:937f36cbadc2 | apache-2.0 | codeparrot/github-code | 937f36cbadc2e930dd743a7fdeb2b344aab4ba9673c3b8036f17dbf978d7c439 | 0.85 | testing_debugging_repair_refactoring | 7,685 | false | 2026-07-17 |
using System;
#if NET20
using System.Collections.Generic;
#endif
#if !NET20
using System.Linq;
#endif
namespace AggregateSource.Testing
{
class TestSpecificationBuilder : IScenarioGivenStateBuilder, IScenarioGivenNoneStateBuilder, IScenarioWhenStateBuilder, IScenarioThenStateBuilder, IScenarioThenNoneStateBuilder... | yreynhout/AggregateSource | src/Testing/AggregateSource.Testing/TestSpecificationBuilder.cs | https://github.com/yreynhout/AggregateSource/blob/HEAD/src/Testing/AggregateSource.Testing/TestSpecificationBuilder.cs | ghcode:00167:ab3db39d4a4f | bsd-3-clause | codeparrot/github-code | ab3db39d4a4f33a0a37fcbc1fc9c9a4c20ed07edb025bac9fd586dcfa289f1fd | 0.75 | testing_debugging_repair_refactoring | 665 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Nimbus.IntegrationTests.Tests.SimpleRequestResponseTests.MessageContracts;
using NUnit.Framework;
using Shouldly;
namespace Nimbus.IntegrationTests.Tests.SimpleRequestResponseTests
{
[TestFixture]
public class WhenSendingARequestOnTheBus : TestForBus
{
... | rebase42/Anubus | src/Tests/Nimbus.IntegrationTests/Tests/SimpleRequestResponseTests/WhenSendingARequestOnTheBus.cs | https://github.com/rebase42/Anubus/blob/HEAD/src/Tests/Nimbus.IntegrationTests/Tests/SimpleRequestResponseTests/WhenSendingARequestOnTheBus.cs | ghcode:00167:55a6d8d2c8fa | mit | codeparrot/github-code | 55a6d8d2c8faa9b2b977abef207f6119d0ef665f461b413e24b7655683d0617e | 0.85 | testing_debugging_repair_refactoring | 145 | false | 2026-07-17 |
using System;
using Shouldly.Tests.Strings;
using Xunit;
namespace Shouldly.Tests.ShouldNotBe.WithTolerance
{
public class TimeSpanScenario
{
[Fact]
public void TimeSpanScenarioShouldFail()
{
var timeSpan = TimeSpan.FromHours(1);
Verify.ShouldFail(() =>
timeSpan... | ankurMalhotra/shouldly | src/Shouldly.Tests/ShouldNotBe/WithTolerance/TimeSpanScenario.cs | https://github.com/ankurMalhotra/shouldly/blob/HEAD/src/Shouldly.Tests/ShouldNotBe/WithTolerance/TimeSpanScenario.cs | ghcode:00167:f124ae6745f0 | bsd-3-clause | codeparrot/github-code | f124ae6745f0a28ab23a1f1da09a20ac435ee3a7dbbf57fb8335d66134dab1e8 | 0.6 | testing_debugging_repair_refactoring | 258 | 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.Buffers;
using System.Diagnostics;
using System.IO;
using Internal.Cryptography;
using Microsoft.Win32.... | zhenlan/corefx | src/Common/src/System/Security/Cryptography/ECDsaOpenSsl.cs | https://github.com/zhenlan/corefx/blob/HEAD/src/Common/src/System/Security/Cryptography/ECDsaOpenSsl.cs | ghcode:00167:93b655897afe | mit | codeparrot/github-code | 93b655897afe15b5f6b2f5984d9320c56e76e9cb53f677f89644ce351a300966 | 0.95 | testing_debugging_repair_refactoring | 1,745 | false | 2026-07-17 |
// Copyright (c) .NET Foundation. 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.Globalization;
using System.Linq;
using Microsoft.TestUtilities;
using Xunit;
namespace M... | ToanNN/WebHooks | test/Microsoft.AspNet.WebHooks.Custom.Test/WebHooks/NotificationDictionaryTests.cs | https://github.com/ToanNN/WebHooks/blob/HEAD/test/Microsoft.AspNet.WebHooks.Custom.Test/WebHooks/NotificationDictionaryTests.cs | ghcode:00167:a15efc736ada | apache-2.0 | codeparrot/github-code | a15efc736ada93a19f3846e8623fdbbe2b502b449d4f112778b1ed73d4bfa2c2 | 0.85 | testing_debugging_repair_refactoring | 828 | 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 System.Collections.ObjectModel;
using System.Diagnostics;
usi... | jmarolf/roslyn | src/Compilers/Core/CodeAnalysisTest/Collections/IdentifierCollectionTests.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/Compilers/Core/CodeAnalysisTest/Collections/IdentifierCollectionTests.cs | ghcode:00167:3539185cfc62 | mit | codeparrot/github-code | 3539185cfc62070a20145993c4a28661d9c73a76e8a4090033d3d6ddeb5e586d | 0.85 | testing_debugging_repair_refactoring | 772 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2007 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, inclu... | Therzok/nunit | src/NUnitFramework/framework/Attributes/SetCultureAttribute.cs | https://github.com/Therzok/nunit/blob/HEAD/src/NUnitFramework/framework/Attributes/SetCultureAttribute.cs | ghcode:00167:99ad6ec1ded1 | mit | codeparrot/github-code | 99ad6ec1ded1565d544d7e826c4ffe01e92486f7c8b53e75b4e71c4a465908de | 0.85 | testing_debugging_repair_refactoring | 441 | false | 2026-07-17 |
using System;
using System.Linq;
using Models;
using NUnit.Framework;
using Services;
using Services.Interfaces;
namespace AcceptanceTests.ClusterCoordinatorFeature
{
[TestFixture]
public class A_person_can_be_unassigned_as_a_cluster_coordinator_for_a_disaster : With_an_empty_database_environment
... | RyanBetker/crisischeckinUpdates | crisischeckin/AcceptanceTests/ClusterCoordinatorFeature/A_person_can_be_unassigned_as_a_cluster_coordinator_for_a_disaster.cs | https://github.com/RyanBetker/crisischeckinUpdates/blob/HEAD/crisischeckin/AcceptanceTests/ClusterCoordinatorFeature/A_person_can_be_unassigned_as_a_cluster_coordinator_for_a_disaster.cs | ghcode:00167:f350e5654b97 | apache-2.0 | codeparrot/github-code | f350e5654b97a8e5a1a058d9957676f737fffe31a739c4fc88c0fa0032890131 | 0.75 | testing_debugging_repair_refactoring | 371 | 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 Microsoft.CodeAnalysis... | paulvanbrenk/roslyn | src/Compilers/CSharp/Portable/Binder/Binder_Symbols.cs | https://github.com/paulvanbrenk/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Binder/Binder_Symbols.cs | ghcode:00167:04e8fdd1ec13 | apache-2.0 | codeparrot/github-code | 04e8fdd1ec13697ac63de29d7cf1523822a259c8d401093a9dcc19f66c5264bc | 0.72 | testing_debugging_repair_refactoring | 18,517 | 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... | rohmano/azure-sdk-for-net | src/ResourceManagement/OperationalInsights/OperationalInsights.Tests/Helpers/TestHelper.cs | https://github.com/rohmano/azure-sdk-for-net/blob/HEAD/src/ResourceManagement/OperationalInsights/OperationalInsights.Tests/Helpers/TestHelper.cs | ghcode:00167:8df2a6e54fef | apache-2.0 | codeparrot/github-code | 8df2a6e54fef5216d2bf89dd2dbee8d5e74c459f4e557c87d6b1f146c27a91dc | 0.85 | testing_debugging_repair_refactoring | 1,904 | false | 2026-07-17 |
// ******************************************************************************
//
// Copyright (c) 2016 Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING B... | pradipd/WinObjC | tools/xib2xaml/xib2xaml/Handlers/WebViewHandler.cs | https://github.com/pradipd/WinObjC/blob/HEAD/tools/xib2xaml/xib2xaml/Handlers/WebViewHandler.cs | ghcode:00167:9d9ff58d3df5 | mit | codeparrot/github-code | 9d9ff58d3df5e3d5cbbdeb37db6b44735c5b4adb2d28c4e507d0199f6f42d952 | 0.7 | testing_debugging_repair_refactoring | 343 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Completion;
using Microsoft.CodeAnalysis.CSharp.Completion.Providers;
using Microsoft.CodeAnalysis... | robinsedlaczek/roslyn | src/EditorFeatures/CSharpTest/Completion/CompletionProviders/EnumAndCompletionListTagCompletionProviderTests.cs | https://github.com/robinsedlaczek/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Completion/CompletionProviders/EnumAndCompletionListTagCompletionProviderTests.cs | ghcode:00167:68117a638734 | apache-2.0 | codeparrot/github-code | 68117a638734897c0686efeea0fd16176ba5e6644843854ba787bba741ec6dbc | 0.85 | testing_debugging_repair_refactoring | 3,345 | false | 2026-07-17 |
#region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy,... | oschwald/Newtonsoft.Json | Src/Newtonsoft.Json.Tests/Schema/PerformanceTests.cs | https://github.com/oschwald/Newtonsoft.Json/blob/HEAD/Src/Newtonsoft.Json.Tests/Schema/PerformanceTests.cs | ghcode:00167:31e7c87eb31a | mit | codeparrot/github-code | 31e7c87eb31a05211005894c52f41396a3485e6027a507c2295d9bf36eaebc15 | 0.85 | testing_debugging_repair_refactoring | 1,188 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="AkkaSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//------... | tillr/akka.net | src/core/Akka.Tests.Shared.Internals/AkkaSpec.cs | https://github.com/tillr/akka.net/blob/HEAD/src/core/Akka.Tests.Shared.Internals/AkkaSpec.cs | ghcode:00167:5fcb8db11ffc | apache-2.0 | codeparrot/github-code | 5fcb8db11ffc74e6047bd748caae9447d15c7fe73e53fb259bc461a94a80edca | 0.85 | testing_debugging_repair_refactoring | 1,095 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Newtonsoft.Json.Linq;
using Umbraco.Core.Manifest;
using Umbraco.Web.UI.JavaScript;
namespace Umbraco.Tests.AngularIntegration
{
[TestFixture]
public cl... | Nicholas-Westby/Umbraco-CMS | src/Umbraco.Tests/AngularIntegration/JsInitializationTests.cs | https://github.com/Nicholas-Westby/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/AngularIntegration/JsInitializationTests.cs | ghcode:00167:7e6cc2a7c33b | mit | codeparrot/github-code | 7e6cc2a7c33b02d42234e963792b6eae5e83b7831a5abc02cd7b6fa2e18cf35a | 0.75 | testing_debugging_repair_refactoring | 194 | 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... | stone-li/corefx | src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/UnaOpSig.cs | https://github.com/stone-li/corefx/blob/HEAD/src/Microsoft.CSharp/src/Microsoft/CSharp/RuntimeBinder/Semantics/UnaOpSig.cs | ghcode:00167:5a02749a05cb | mit | codeparrot/github-code | 5a02749a05cbd521127f54797a6bd017b9c72902ad30d59da9765d3b742a467c | 0.95 | testing_debugging_repair_refactoring | 697 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
namespace UnitTests.StorageTests.Relational.TestDataSets
{
/// <summary>
/// A state used to test if saving, reading and clearing of the storage functions as expected.
/// </summary>
[Serializable]
public class TestState1: IEquatable<TestState1>
... | gabikliot/orleans | test/TesterInternal/StorageTests/TestDataSets/TestState1.cs | https://github.com/gabikliot/orleans/blob/HEAD/test/TesterInternal/StorageTests/TestDataSets/TestState1.cs | ghcode:00167:f9f064b93560 | mit | codeparrot/github-code | f9f064b93560eaced47dd058ce69682d032eb52ead7a9e2160bddd7e00df102c | 0.85 | testing_debugging_repair_refactoring | 249 | false | 2026-07-17 |
using Appium.Samples.Helpers;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Appium.PageObjects;
using OpenQA.Selenium.Appium.PageObjects.Attributes;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Support.PageObjects;
using System;
using System.Collections.Generic;
namespace Appium.Samples... | suryarend/appium-dotnet-driver | samples/PageObjectTests/TimeOutManagement/TimeOutManagementTest.cs | https://github.com/suryarend/appium-dotnet-driver/blob/HEAD/samples/PageObjectTests/TimeOutManagement/TimeOutManagementTest.cs | ghcode:00167:3e85c25a6274 | apache-2.0 | codeparrot/github-code | 3e85c25a6274215105a9dda6ec4acb5be6c9d27f3384c6a9f42349bce0df32d7 | 0.6 | testing_debugging_repair_refactoring | 776 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Roslyn.Test.Utilities;
using System.Collections.Immutable;
using System.Linq;
using Xunit;
namespa... | tvand7093/roslyn | src/ExpressionEvaluator/Core/Test/FunctionResolver/ParsingTestBase.cs | https://github.com/tvand7093/roslyn/blob/HEAD/src/ExpressionEvaluator/Core/Test/FunctionResolver/ParsingTestBase.cs | ghcode:00167:5534654324ae | apache-2.0 | codeparrot/github-code | 5534654324ae6b0041646297551454b7e5bccb06e79bfe1f64291fa4d1203c8f | 0.85 | testing_debugging_repair_refactoring | 658 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Net.Sockets.Tests
{
public class CreateSocket
{
public static object[... | Ermiar/corefx | src/System.Net.Sockets/tests/FunctionalTests/CreateSocketTests.cs | https://github.com/Ermiar/corefx/blob/HEAD/src/System.Net.Sockets/tests/FunctionalTests/CreateSocketTests.cs | ghcode:00167:b853b5d83b15 | mit | codeparrot/github-code | b853b5d83b15595dbd969a8764319cd37dc84a2ba49fce2a12a7af7033de87b4 | 0.95 | testing_debugging_repair_refactoring | 948 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.ComponentModel.Composition.Factories;
using System.ComponentModel.Composition.Primitives;
using Xunit;
... | shimingsg/corefx | src/System.ComponentModel.Composition/tests/System/ComponentModel/Composition/Hosting/ScopeExtensionsTests.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.ComponentModel.Composition/tests/System/ComponentModel/Composition/Hosting/ScopeExtensionsTests.cs | ghcode:00167:b89f680ebfcd | mit | codeparrot/github-code | b89f680ebfcdecd87e06f82f95a003eb616202b5a2fe8057a4fa553af2b8a5de | 0.95 | testing_debugging_repair_refactoring | 1,605 | 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;
using System.Linq;
using Microsoft.Build.Framework;
using Microsoft.Build.BackEnd;
using Microsoft.Build.Shared;
using TaskItem ... | mono/msbuild | src/Build.UnitTests/BackEnd/NodePackets_Tests.cs | https://github.com/mono/msbuild/blob/HEAD/src/Build.UnitTests/BackEnd/NodePackets_Tests.cs | ghcode:00167:676202bc4de9 | mit | codeparrot/github-code | 676202bc4de9b02a4bf4a452e766fda4c49243051d930fefe050d4c641e24547 | 0.85 | testing_debugging_repair_refactoring | 4,575 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2014-2016, Institute for Software & Systems Engineering
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including wi... | cubeme/ssharp | Tests/Execution/Faults/Binding/inherited fault.cs | https://github.com/cubeme/ssharp/blob/HEAD/Tests/Execution/Faults/Binding/inherited fault.cs | ghcode:00167:38346050e047 | mit | codeparrot/github-code | 38346050e0479e60c71a21a22f8a8bd4b872404b42f234c8613fde6f0d675da7 | 0.85 | testing_debugging_repair_refactoring | 406 | false | 2026-07-17 |
using System.Collections.Generic;
using NUnit.Framework;
[TestFixture]
public class GradeSchoolTest
{
private School school;
[SetUp]
public void Setup()
{
school = new School();
}
[Test]
public void New_school_has_an_empty_roster()
{
Assert.That(school.Roster, Has.Coun... | Zero-man/exercism | csharp/grade-school/GradeSchoolTest.cs | https://github.com/Zero-man/exercism/blob/HEAD/csharp/grade-school/GradeSchoolTest.cs | ghcode:00167:d3d6948fc494 | mit | codeparrot/github-code | d3d6948fc494cb489c05847fd1e58cc4ba83774dba9d5edc2ae53a815e4bfae4 | 0.6 | testing_debugging_repair_refactoring | 578 | false | 2026-07-17 |
using System;
using System.Globalization;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text.RegularExpressions;
using System.Threading;
using ApprovalTests;
using ApprovalTests.Reporters;
using NUnit.Framework;
using TestStack.BDDfy.Configuration;
using TestStack.BDDfy.R... | MehdiK/TestStack.BDDfy | TestStack.BDDfy.Tests/Reporters/Html/HtmlReportBuilderTests.cs | https://github.com/MehdiK/TestStack.BDDfy/blob/HEAD/TestStack.BDDfy.Tests/Reporters/Html/HtmlReportBuilderTests.cs | ghcode:00167:23e76a177325 | mit | codeparrot/github-code | 23e76a17732500c6c29a75ed5fff19420da41465acd5f173d6e9c514880fb14f | 0.85 | testing_debugging_repair_refactoring | 350 | false | 2026-07-17 |
using System;
using System.Linq;
using Marten.Services;
using Marten.Testing.Harness;
using Xunit;
namespace Marten.Testing.Linq
{
public class BoolNotVisitorTests : IntegrationContext
{
public class TestClass
{
public TestClass()
{
Id = Guid.NewGuid();
... | mdissel/Marten | src/Marten.Testing/Linq/BoolNotVisitorTests.cs | https://github.com/mdissel/Marten/blob/HEAD/src/Marten.Testing/Linq/BoolNotVisitorTests.cs | ghcode:00167:287c906ed5c2 | mit | codeparrot/github-code | 287c906ed5c21c75efead38ce7fc8e71c5b0864643dafbfd9912937f561478aa | 0.75 | testing_debugging_repair_refactoring | 371 | false | 2026-07-17 |
// ReSharper disable UnusedVariable
namespace Goldenacre.Test.Core
{
using Goldenacre.Extensions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class StringExtensionsTest
{
[TestMethod]
public void Test_Truncate()
{
var long_string = "T... | fallenidol/Goldenacre | Goldenacre.Test/Core/StringExtensionsTest.cs | https://github.com/fallenidol/Goldenacre/blob/HEAD/Goldenacre.Test/Core/StringExtensionsTest.cs | ghcode:00167:4e67894604c1 | mit | codeparrot/github-code | 4e67894604c1dfca17849d3defcf92b9615b653b809598dbc8c950ee3a826dc6 | 0.6 | testing_debugging_repair_refactoring | 667 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.