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 System.Threading.Tasks;
using Xunit;
// ReSharper disable CheckNamespace
namespace ProGet.Net.Tests
{
public partial class ProGetClientShould
{
[Fact]
public async Task EventOccurrences_GetOccurrenceAsync()
{
var result = await _client.EventOccurrences_GetOccurrenceA... | lvermeulen/ProGet.Net | test/ProGet.Net.Tests/Native/EventOccurrences/ProGetClientShould.cs | https://github.com/lvermeulen/ProGet.Net/blob/HEAD/test/ProGet.Net.Tests/Native/EventOccurrences/ProGetClientShould.cs | ghcode:00163:50434824bec2 | mit | codeparrot/github-code | 50434824bec2598323abe7518bdccd96931aeab097b9500832eba12637f14cca | 0.6 | testing_debugging_repair_refactoring | 168 | false | 2026-07-17 |
using System;
using System.IO;
using System.Text;
using FileReplacer;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTest
{
[TestClass]
public class FileHelperTest
{
[TestMethod]
public void ReplaceContent_UTF8()
{
ReplaceContent("Replac... | sakapon/Tools-2016 | FileReplacer/UnitTest/FileHelperTest.cs | https://github.com/sakapon/Tools-2016/blob/HEAD/FileReplacer/UnitTest/FileHelperTest.cs | ghcode:00163:fb70389d51b0 | mit | codeparrot/github-code | fb70389d51b027c3e316639932e7939b6e3c65002ad419d65c7c66db6a38b8d5 | 0.6 | testing_debugging_repair_refactoring | 258 | false | 2026-07-17 |
using System;
using System.Numerics;
using System.Threading.Tasks;
using Nethereum;
using Nethereum.Hex.HexTypes;
using Nethereum.JsonRpc.Client;
using Nethereum.RPC;
using Nethereum.RPC.Eth.DTOs;
using Nethereum.RPC.UnitTests;
using Nethereum.RPC.UnitTests;
using Nethereum.RPC.UnitTests.InterceptorTests;
using Nether... | Nethereum/Nethereum | tests/Nethereum.RPC.UnitTests/ExtensionTests.cs | https://github.com/Nethereum/Nethereum/blob/HEAD/tests/Nethereum.RPC.UnitTests/ExtensionTests.cs | ghcode:00163:7bc20d25c77d | mit | codeparrot/github-code | 7bc20d25c77d849ea8845c4dab497aebc22e6fc2ff01d8e6e591da176b086182 | 0.75 | testing_debugging_repair_refactoring | 2,096 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.IO;
using System.Text;
using bitwz.CodeGenerator.Bitwise;
using bitwz.CodeGenerator.UnitTest;
using JetBrains.Annotations;
namespace bitwz.CodeGenerator
{
/// <summary>
/// Meta program I use to generate unit tests code for <see cref="BitwzMath" /> clas... | OmegaExtern/bitwz | src/bitwz.UnitTestCodeGenerator/MetaUnitTestGeneratorProgram.cs | https://github.com/OmegaExtern/bitwz/blob/HEAD/src/bitwz.UnitTestCodeGenerator/MetaUnitTestGeneratorProgram.cs | ghcode:00163:9b94d14adcfd | mit | codeparrot/github-code | 9b94d14adcfd36c5bc404aa8a284abc81174b291f7de6bf1be8e78e37f0ad758 | 0.7 | testing_debugging_repair_refactoring | 610 | false | 2026-07-17 |
using System;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Zergatul.Security.Tests.MessageDigest
{
[TestClass]
public class Groestl384Tests
{
private static SecurityProvider[] _providers = new SecurityProvider[]
{
new DefaultSecurityProvider(... | Zergatul/ZergatulLib | Zergatul.Security.Tests/MessageDigest/Groestl384Tests.cs | https://github.com/Zergatul/ZergatulLib/blob/HEAD/Zergatul.Security.Tests/MessageDigest/Groestl384Tests.cs | ghcode:00163:c51ea45d50ce | mit | codeparrot/github-code | c51ea45d50ce44a4afc362fba7144a57afd12ff9d53eb51954850be61afe030c | 0.75 | testing_debugging_repair_refactoring | 510 | false | 2026-07-17 |
namespace NServiceBus.AcceptanceTests.Routing
{
using System;
using System.Threading.Tasks;
using AcceptanceTesting;
using EndpointTemplates;
using Features;
using NUnit.Framework;
using ScenarioDescriptors;
public class When_publishing_using_root_type : NServiceBusAcceptance... | sbmako/NServiceBus.MongoDB | src/NServiceBus.MongoDB.Acceptance.Tests/App_Packages/NSB.AcceptanceTests.6.0.0/Routing/When_publishing_using_root_type.cs | https://github.com/sbmako/NServiceBus.MongoDB/blob/HEAD/src/NServiceBus.MongoDB.Acceptance.Tests/App_Packages/NSB.AcceptanceTests.6.0.0/Routing/When_publishing_using_root_type.cs | ghcode:00163:6d7727fa9505 | mit | codeparrot/github-code | 6d7727fa950529de3d0f9df45f5385a49ec283c5bdec5f858aa1681a0bfcab98 | 0.75 | testing_debugging_repair_refactoring | 568 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using System.Collections;
namespace StringParsingLibrary.Tests
{
[TestFixture]
public class ParseIntegersTests
{
[Test, Combinatorial]
pu... | james-e-crandall/lps | Phase2/StringParsingLibrary.Tests/ParseIntegersTests.cs | https://github.com/james-e-crandall/lps/blob/HEAD/Phase2/StringParsingLibrary.Tests/ParseIntegersTests.cs | ghcode:00163:4ebad17a0d52 | mit | codeparrot/github-code | 4ebad17a0d523706862829eacc59a4a11be20a3464fe2523774e91066970cb64 | 0.75 | testing_debugging_repair_refactoring | 966 | false | 2026-07-17 |
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
#pragma warning disable CS0618 // Type or member is obsolete
#pragma warning disable S3963 // "static" fields should be initialized inline
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using ... | CodeCavePro/revit-toolkit | tests/TypeCatalogFileTests.cs | https://github.com/CodeCavePro/revit-toolkit/blob/HEAD/tests/TypeCatalogFileTests.cs | ghcode:00163:b0cc95bc9d27 | mit | codeparrot/github-code | b0cc95bc9d27ee0a9f442bababdea6da02283c975f987a1801c2f05a9bac5d20 | 0.85 | testing_debugging_repair_refactoring | 1,508 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using ShogiCore.Notation;
namespace ShogiCore {
/// <summary>
/// Move[]とか用ヘルパメソッド。
/// </summary>
public static unsafe class MoveUtility {
/// <summary>
/// クイックソート内でInsertionSortる最大個数
... | ak110/ShogiCore | ShogiCore/MoveUtility.cs | https://github.com/ak110/ShogiCore/blob/HEAD/ShogiCore/MoveUtility.cs | ghcode:00163:66632e6edd2a | mit | codeparrot/github-code | 66632e6edd2a97c4b4b3788a0209a5b5ae1a7f3acd87b10c54f31ebaf3d9ea72 | 0.7 | testing_debugging_repair_refactoring | 2,198 | false | 2026-07-17 |
namespace Aliencube.Azure.Insights.WebTests.Models.Options
{
/// <summary>
/// This specifies the web test kind value.
/// </summary>
public class TestKind
{
/// <summary>
/// Indicates "ping".
/// </summary>
public const string Ping = "ping";
}
} | aliencube/Application-Insights-WebTests-SDK | src/Insights.WebTests.Models/Options/TestKind.cs | https://github.com/aliencube/Application-Insights-WebTests-SDK/blob/HEAD/src/Insights.WebTests.Models/Options/TestKind.cs | ghcode:00163:d66d7e187a7d | mit | codeparrot/github-code | d66d7e187a7d213260cfe4a4aadf752be96435e71ddf86c69222540dd0aa50fc | 0.85 | testing_debugging_repair_refactoring | 70 | false | 2026-07-17 |
using Aspose.Words;
using NUnit.Framework;
namespace DocsExamples.Programming_with_Documents.Protect_or_Encrypt_Document
{
class DocumentProtection : DocsExamplesBase
{
[Test]
public void Protect()
{
//ExStart:ProtectDocument
Document doc = new Document(MyDir + ... | asposewords/Aspose_Words_NET | Examples/DocsExamples/DocsExamples/Programming with Documents/Protect or Encrypt Document/Document protection.cs | https://github.com/asposewords/Aspose_Words_NET/blob/HEAD/Examples/DocsExamples/DocsExamples/Programming with Documents/Protect or Encrypt Document/Document protection.cs | ghcode:00163:0a29695db1ba | mit | codeparrot/github-code | 0a29695db1bac5a57269ee09e8f8d80b04bafed7e6b7cc571911b959cd4a657f | 0.7 | testing_debugging_repair_refactoring | 208 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using NUnit.Framework;
namespace Plugin.Clipboard.Tests.Android
{
[TestFixture]
public class ClipboardTests
{
[Test]
public void SetGetClipboard_RoundtripCase_ResultIsCorrect()
{
// Arrange
var text = "tes... | AkiraGTX/XamarinClipboardPlugin | Clipboard/Tests/Plugin.Clipboard.Tests.Android/ClipboardTests.cs | https://github.com/AkiraGTX/XamarinClipboardPlugin/blob/HEAD/Clipboard/Tests/Plugin.Clipboard.Tests.Android/ClipboardTests.cs | ghcode:00163:9baf7e10f64c | mit | codeparrot/github-code | 9baf7e10f64c98eab3d9330d4b73bbbbde71f8c7f32d991a1e8480c3d380a289 | 0.95 | testing_debugging_repair_refactoring | 106 | false | 2026-07-17 |
namespace Space3D
{
using System;
using System.Collections.Generic;
public class Testing
{
public static void Main()
{
Path path = new Path();
Point3D point = new Point3D(10, 5, 5);
path.AddPoint(point);
path.AddPoint(new Point3D(6, 6, 6)... | aleksandra992/TelerikAcademy | Object-Oriented-Programming/Defining Classes -Part 2/1.Structure/Testing.cs | https://github.com/aleksandra992/TelerikAcademy/blob/HEAD/Object-Oriented-Programming/Defining Classes -Part 2/1.Structure/Testing.cs | ghcode:00163:da7a2b86f24a | mit | codeparrot/github-code | da7a2b86f24a60cead2a9cc4f25f2dfc48da1febf33243edccc26c1a9d307342 | 0.75 | testing_debugging_repair_refactoring | 182 | false | 2026-07-17 |
using Chaser.Game;
using NUnit.Framework;
namespace Chaser.PatternExamples
{
[TestFixture]
public class PatternExamples
{
[Test]
public void SingletonPatternExample()
{
var starterState = GameStateSingleton.Instance.State.GameRunning;
GameStateSingleton.In... | Avokadas/chaser | Chaser.PatternExamples/Class1.cs | https://github.com/Avokadas/chaser/blob/HEAD/Chaser.PatternExamples/Class1.cs | ghcode:00163:fd0926250580 | mit | codeparrot/github-code | fd09262505800142af625e68fe6a11eb75bbc49091c33d1b4095181eb48a7ca0 | 0.6 | testing_debugging_repair_refactoring | 92 | false | 2026-07-17 |
using BitSharp.Common;
using BitSharp.Common.Test;
using BitSharp.Core.Builders;
using BitSharp.Core.Domain;
using BitSharp.Core.Storage;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
usin... | ArsenShnurkov/BitSharp | BitSharp.Core.Test/Builders/TxLoaderTest.cs | https://github.com/ArsenShnurkov/BitSharp/blob/HEAD/BitSharp.Core.Test/Builders/TxLoaderTest.cs | ghcode:00163:448666b9fdfb | unlicense | codeparrot/github-code | 448666b9fdfb821a7440336c48ac60bc53d8a794774c6722c448cd2a6ed1fc0c | 0.63 | testing_debugging_repair_refactoring | 1,030 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Recipes.DiscoverTablesAndColumns;
namespace Recipes.Chain.DiscoverTablesAndColumns
{
[TestClass]
public class DiscoverTablesAndColumnsTests : Recipes.DiscoverTablesAndColumns.DiscoverTablesAndColumnsTests
{
protected override IDiscoverTable... | Grauenwolf/DotNet-ORM-Cookbook | ORM Cookbook/Recipes.Tortuga.Chain/DiscoverTablesAndColumns/DiscoverTablesAndColumnsTests.cs | https://github.com/Grauenwolf/DotNet-ORM-Cookbook/blob/HEAD/ORM Cookbook/Recipes.Tortuga.Chain/DiscoverTablesAndColumns/DiscoverTablesAndColumnsTests.cs | ghcode:00163:df609bac621e | unlicense | codeparrot/github-code | df609bac621e22729bef7a1a77b3d1ea0dfd04c4cf6d14736340280c1058ffff | 0.68 | testing_debugging_repair_refactoring | 85 | false | 2026-07-17 |
using YogUILibrary;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Globalization;
using System.Resources;
namespace UnitTests
{
/// <summary>
///This is a test class for Resource1Test and is intended
///to contain all Resource1Test Unit Tests
///</summary>
... | YogurtFP/YogUI | YogUILibrary/UnitTests/Resource1Test.cs | https://github.com/YogurtFP/YogUI/blob/HEAD/YogUILibrary/UnitTests/Resource1Test.cs | ghcode:00163:eff45d04578a | unlicense | codeparrot/github-code | eff45d04578a2779c721d83398b0283881d5e46752fe9ffd30a32f2d382122d0 | 0.63 | testing_debugging_repair_refactoring | 1,016 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace Sentrio.Tests
{
[TestClass]
public class CryptoWorksTests
{
/// <summary>
/// Tests if <see c... | SergeantSerk/Sentrio | SentrioTests/CryptoWorksTests.cs | https://github.com/SergeantSerk/Sentrio/blob/HEAD/SentrioTests/CryptoWorksTests.cs | ghcode:00163:51001343bc95 | apache-2.0 | codeparrot/github-code | 51001343bc9504eec50686629427f35133a3772e8971c5b469062d304070895c | 0.85 | testing_debugging_repair_refactoring | 767 | false | 2026-07-17 |
// Copyright (c) Microsoft Open Technologies, Inc. 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.Linq;
using System.Runtime.CompilerServices;
using Microsoft.CodeAnalysis... | binsys/roslyn_java | Src/Compilers/CSharp/Source/Syntax/InternalSyntax/CSharpSyntaxNode.cs | https://github.com/binsys/roslyn_java/blob/HEAD/Src/Compilers/CSharp/Source/Syntax/InternalSyntax/CSharpSyntaxNode.cs | ghcode:00163:0aa2c201f86f | apache-2.0 | codeparrot/github-code | 0aa2c201f86fa730c7ef9e9b35cc375894668273498a8365e5a1a6fe077a2a7f | 0.85 | testing_debugging_repair_refactoring | 2,005 | false | 2026-07-17 |
using BeeEngine.Common;
using BeeEngine.Exports;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace BeeEngine.Position
{
// Instances of this class can be shared between diff... | maksimbulva/chesshive | BeeEngine/Position/PlayerPieceSet.cs | https://github.com/maksimbulva/chesshive/blob/HEAD/BeeEngine/Position/PlayerPieceSet.cs | ghcode:00163:27befdbd6925 | apache-2.0 | codeparrot/github-code | 27befdbd6925e3d49307b300fa68d93e810cf81a9efbe8e6929966c4488a3188 | 0.85 | testing_debugging_repair_refactoring | 4,105 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TRL.Connect.Smartcom.Test.Mocks;
using TRL.Connect.Smartcom.Data;
using SmartCOM3Lib;
using TRL.Common.Data;
using TRL.Logging;
namespace TRL.Connect.Smartcom.Test.Data
{
... | wouldyougo/TRx | TRL.Connect.Smartcom.Test/Data/SmartComSubscriberTests.cs | https://github.com/wouldyougo/TRx/blob/HEAD/TRL.Connect.Smartcom.Test/Data/SmartComSubscriberTests.cs | ghcode:00163:2cf51df76c56 | apache-2.0 | codeparrot/github-code | 2cf51df76c56c81ff6e691691c9503f233751ea8b0225315b14fd3ff9127c731 | 0.75 | testing_debugging_repair_refactoring | 528 | false | 2026-07-17 |
using System;
using Xunit;
using System.Linq;
using System.Collections.Generic;
using System.Reflection;
using System.Linq.Expressions;
using SF.Core.ServiceManagement;
using SF.Core.DI;
using SF.Core.ServiceManagement.Storages;
namespace SF.UT.DI
{
public class FeatureTest
{
interface IInterface<T>
{
s... | etechi/ServiceFramework | Projects/Server/Test/SF.UT.Common/Core/DI/FeatureTest.cs | https://github.com/etechi/ServiceFramework/blob/HEAD/Projects/Server/Test/SF.UT.Common/Core/DI/FeatureTest.cs | ghcode:00163:541502730f80 | apache-2.0 | codeparrot/github-code | 541502730f80314b752228e271e14653fb8f3e20aa6c239c800247c33f9d7f52 | 0.85 | testing_debugging_repair_refactoring | 2,848 | false | 2026-07-17 |
using System;
using System.Collections;
using NUnit.Framework;
using NUnit.Framework.Interfaces;
using NUnit.Framework.Internal;
namespace UnityEngine.TestTools
{
internal class TestEnumerator
{
private readonly ITestExecutionContext m_Context;
private static IEnumerator m_TestEnumerator;
... | IanFMartin/Character-Creator | Character creator/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs | https://github.com/IanFMartin/Character-Creator/blob/HEAD/Character creator/Library/PackageCache/com.unity.test-framework@1.0.13/UnityEngine.TestRunner/NUnitExtensions/Attributes/TestEnumerator.cs | ghcode:00163:d62a8383f4f8 | apache-2.0 | codeparrot/github-code | d62a8383f4f8177b99d7a575f7c2cb0c4aabcd2f8bac391bf7f6813a8b05814c | 0.75 | testing_debugging_repair_refactoring | 216 | false | 2026-07-17 |
// Copyright 2015, 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 applicab... | stevemanderson/googleads-dotnet-lib | tests/AdXBuyer/v201502/ErrorHandlingTest.cs | https://github.com/stevemanderson/googleads-dotnet-lib/blob/HEAD/tests/AdXBuyer/v201502/ErrorHandlingTest.cs | ghcode:00163:e89921e47c99 | apache-2.0 | codeparrot/github-code | e89921e47c99c00d85cb4b81044e35b71d293644719c3c5a47aa2fdc0cae9114 | 0.85 | testing_debugging_repair_refactoring | 638 | false | 2026-07-17 |
using System.Collections.Generic;
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;
using Microsoft.Practices.EnterpriseLibrary.Validation;
using Microsoft.Practices.EnterpriseLibrary.Validation.Configuration;
using ESRI.ArcLogistics.BreaksHelpers;
using System.Diagnostics;
namespace ESRI.ArcLogistics... | Esri/route-planner-csharp | RoutePlanner_DeveloperTools/Source/ArcLogistics/DomainObjects/Validation/TimeIntervalValidator.cs | https://github.com/Esri/route-planner-csharp/blob/HEAD/RoutePlanner_DeveloperTools/Source/ArcLogistics/DomainObjects/Validation/TimeIntervalValidator.cs | ghcode:00163:51dc61f5bedf | apache-2.0 | codeparrot/github-code | 51dc61f5bedfc1f0fefab8fc7ddd495562b0abeba8bdbbd1a1d12dd0b283c4ba | 0.7 | testing_debugging_repair_refactoring | 1,259 | false | 2026-07-17 |
using BeeEngine.Position;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using BeeEngine.Exports;
namespace BeeEngine.Position
{
internal class ChessboardArray : Exports.IChessboar... | maksimbulva/chesshive | BeeEngine/Position/ChessboardArray.cs | https://github.com/maksimbulva/chesshive/blob/HEAD/BeeEngine/Position/ChessboardArray.cs | ghcode:00163:8715f089cc23 | apache-2.0 | codeparrot/github-code | 8715f089cc235c4f911bed17da80a3eda01c5f5bf4fe3f20aea4f88f43d77fc3 | 0.85 | testing_debugging_repair_refactoring | 940 | false | 2026-07-17 |
using System;
using AutoMapper;
using Sample02.Models;
namespace Sample02.AutoMapperConfig
{
public class TestProfile1 : Profile
{
public TestProfile1()
{
// اين تنظيم سراسري هست و به تمام خواص زماني اعمال ميشود
this.CreateMap<DateTime, string>().ConvertUsing(new DateT... | VahidN/AutoMapperSamples | Sample02/AutoMapperConfig/TestProfile1.cs | https://github.com/VahidN/AutoMapperSamples/blob/HEAD/Sample02/AutoMapperConfig/TestProfile1.cs | ghcode:00163:fdd56c9bea78 | apache-2.0 | codeparrot/github-code | fdd56c9bea7879ceafb16b5579bce5d4eaff60f51b7fc20cc9b72fbd23ece58c | 0.85 | testing_debugging_repair_refactoring | 166 | false | 2026-07-17 |
using System.Configuration;
namespace DocaLabs.Utils.Tests.Configuration._Utils
{
public class TestConfigurationSection : ConfigurationSection
{
[ConfigurationProperty("testValue", IsRequired = true)]
public string TestValue
{
get { return (string)this["testValue"]... | alexey-kadyrov/DocaLabs-Utils | tests/DocaLabs.Utils.Tests/Configuration/_Utils/TestConfigurationSection.cs | https://github.com/alexey-kadyrov/DocaLabs-Utils/blob/HEAD/tests/DocaLabs.Utils.Tests/Configuration/_Utils/TestConfigurationSection.cs | ghcode:00163:f721079407c8 | apache-2.0 | codeparrot/github-code | f721079407c88e0eab73aa3dfd04bdb232e9871655f8f0fe134cc3561ad06aa3 | 0.75 | testing_debugging_repair_refactoring | 78 | false | 2026-07-17 |
using MeTLLib.DataTypes;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace MeTLLibTests
{
/// <summary>
///This is a test class for MeTLStanzas_LiveWindowTest and is intended
///to contain all MeTLStanzas_LiveWindowTest Unit Tests
///</summary>
[Test... | StackableRegiments/metl2011 | MeTLMeeting/MeTLLibTests/MeTLStanzas_LiveWindowTest.cs | https://github.com/StackableRegiments/metl2011/blob/HEAD/MeTLMeeting/MeTLLibTests/MeTLStanzas_LiveWindowTest.cs | ghcode:00163:e54e63b0eca4 | apache-2.0 | codeparrot/github-code | e54e63b0eca4e2bfeab31784799906325318196f11a7b30b56e6172039f98b8d | 0.85 | testing_debugging_repair_refactoring | 636 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Box.V2.Auth;
using Box.V2.Config;
using Box.V2.Exceptions;
using Box.V2.JWTAuth;
using Box.V2.Request;
using Box.V2.Services;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace Box.V2.Test
{
[TestClass]
public class BoxJWTAuthTest : BoxRes... | box/box-windows-sdk-v2 | Box.V2.Test/BoxJWTAuthTest.cs | https://github.com/box/box-windows-sdk-v2/blob/HEAD/Box.V2.Test/BoxJWTAuthTest.cs | ghcode:00163:5d040c1a720f | apache-2.0 | codeparrot/github-code | 5d040c1a720f896ce5ac544c63cd6fca4d738edb36bbb55f936f73b0a0313fdd | 0.85 | testing_debugging_repair_refactoring | 1,177 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using CoolNameGenerator.GA.Chromosomes;
using CoolNameGenerator.GA.Crossovers;
using NUnit.Framework;
using Rhino.Mocks;
using TestSharp;
namespace Test.GA.Crossovers
{
[TestFixture]
[Category("Crossovers")]
public class CrossoverBaseTest
{
[Test]... | Behzadkhosravifar/CoolNameGenerator | src/Test/GA/Crossovers/CrossoverBaseTest.cs | https://github.com/Behzadkhosravifar/CoolNameGenerator/blob/HEAD/src/Test/GA/Crossovers/CrossoverBaseTest.cs | ghcode:00163:f2ce414f50cb | apache-2.0 | codeparrot/github-code | f2ce414f50cb5aea59da07f58ccac4f72cbac166567b857ab9bf9e2b17be75d9 | 0.85 | testing_debugging_repair_refactoring | 254 | false | 2026-07-17 |
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// 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... | roend83/FluentValidation | src/FluentValidation.Tests/CollectionValidatorWithParentTests.cs | https://github.com/roend83/FluentValidation/blob/HEAD/src/FluentValidation.Tests/CollectionValidatorWithParentTests.cs | ghcode:00163:a18473b7648a | apache-2.0 | codeparrot/github-code | a18473b7648a78ad75e4f5ab6fd5f6d0689a12de5fdd3d12c3af60f44f884adb | 0.85 | testing_debugging_repair_refactoring | 1,269 | 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... | amirakhmedov/ignite | modules/platforms/dotnet/Apache.Ignite.Core/Impl/Client/IgniteClient.cs | https://github.com/amirakhmedov/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core/Impl/Client/IgniteClient.cs | ghcode:00163:a7649868eaba | apache-2.0 | codeparrot/github-code | a7649868eabade76eefec48cc987d67244d5f1cc3c0ff72887adac5db8f3bad1 | 0.7 | testing_debugging_repair_refactoring | 1,674 | false | 2026-07-17 |
//
// Copyright (c) 2014 Piotr Fusik <piotr@fusik.info>
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of source code must retain the above copyright no... | pfusik/sooda | tests/TestCases/TransactionTest.cs | https://github.com/pfusik/sooda/blob/HEAD/tests/TestCases/TransactionTest.cs | ghcode:00163:38dce02a70bf | bsd-2-clause | codeparrot/github-code | 38dce02a70bfe8a2943f07f889302c14fafa4b7cf319fb1eb1c52bdb0f377509 | 0.63 | testing_debugging_repair_refactoring | 515 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using GuardClaws;
using GuardClaws.Exceptions;
using NUnit.Framework;
// ReSharper disable InconsistentNaming
namespace NotNullNotEmpty
{
[TestFixture]
public class when_called_with_a_not_null_not_empty_value
{
[Test]
public vo... | brendanjerwin/guard_claws | specs/NotNullNotEmpty.cs | https://github.com/brendanjerwin/guard_claws/blob/HEAD/specs/NotNullNotEmpty.cs | ghcode:00163:8ded61d9117b | bsd-3-clause | codeparrot/github-code | 8ded61d9117b530109ee5fdd4e27ac5ca00079dbf2d20f756a7d7abcba5393e2 | 0.7 | testing_debugging_repair_refactoring | 233 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Collections.Immutable;
using nJocLogic.data;
using Wintellect.PowerCollections;
using System.Diagnostics;
namespace nJocLogic.util.gdl.model
{
public class ImmutableSentenceFormModel : ISentenceFormModel
{
struct FactSignature
{
public... | druzil/nggp-base | nJocLogic/util/gdl/model/ImmutableSentenceFormModel.cs | https://github.com/druzil/nggp-base/blob/HEAD/nJocLogic/util/gdl/model/ImmutableSentenceFormModel.cs | ghcode:00163:576a52e59ca8 | bsd-3-clause | codeparrot/github-code | 576a52e59ca8595309837cccd8e225dd28d4ed18accfbc4f84421b90535000ed | 0.7 | testing_debugging_repair_refactoring | 952 | false | 2026-07-17 |
namespace prefSQL.SQLSkylineTest
{
using System;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SQLSkyline;
using SQLSkyline.SkylineSampling;
[TestClass]
public class Sk... | taschnue/prefSQL | SQLSkylineTest/SkylineSamplingUtilityTests.cs | https://github.com/taschnue/prefSQL/blob/HEAD/SQLSkylineTest/SkylineSamplingUtilityTests.cs | ghcode:00163:33585038fb22 | bsd-3-clause | codeparrot/github-code | 33585038fb22dbe30925550e173ae8bbf3d5aa6609b04c8a7c1151a8498f1751 | 0.75 | testing_debugging_repair_refactoring | 1,282 | false | 2026-07-17 |
using System.Xml.Serialization;
namespace XSerializer.Tests
{
[XmlInclude(typeof(OneWithInterface))]
public interface IOne
{
string Id { get; set; }
ITwo Two { get; set; }
}
[XmlInclude(typeof(OneWithAbstract))]
public abstract class OneBase
{
public string Id { ge... | rlyczynski/XSerializer | XSerializer.Tests/TestClasses.cs | https://github.com/rlyczynski/XSerializer/blob/HEAD/XSerializer.Tests/TestClasses.cs | ghcode:00163:8014e401cdb4 | mit | codeparrot/github-code | 8014e401cdb4c5249bb639ad4c0523e50f2c3605f71a55c974499652ed6c9378 | 0.75 | testing_debugging_repair_refactoring | 667 | false | 2026-07-17 |
using GitVersion.BuildAgents;
using GitVersion.Core.Tests.Helpers;
using GitVersion.Helpers;
using GitVersion.VersionCalculation;
using Microsoft.Extensions.DependencyInjection;
using NUnit.Framework;
using Shouldly;
namespace GitVersion.Core.Tests.BuildAgents;
[TestFixture]
public sealed class CodeBuildTests : TestB... | asbjornu/GitVersion | src/GitVersion.Core.Tests/BuildAgents/CodeBuildTests.cs | https://github.com/asbjornu/GitVersion/blob/HEAD/src/GitVersion.Core.Tests/BuildAgents/CodeBuildTests.cs | ghcode:00163:847618dda5d7 | mit | codeparrot/github-code | 847618dda5d795cf6359da7d6836aa60c8038ff6db2bb93c2c03013b3297597e | 0.75 | testing_debugging_repair_refactoring | 689 | false | 2026-07-17 |
using System.IO;
using NUnit.Framework;
using NationalInstruments.Tdms;
namespace Tests
{
[TestFixture]
public abstract class ReaderTestsBase
{
private Stream _stream;
protected Reader Reader;
[SetUp]
public void Setup()
{
_stream = Const... | mikeobrien/TDMSReader | src/Tests/ReaderTestsBase.cs | https://github.com/mikeobrien/TDMSReader/blob/HEAD/src/Tests/ReaderTestsBase.cs | ghcode:00163:2f531c557e80 | mit | codeparrot/github-code | 2f531c557e80ee9d2b423fe6c4a18c8a2f93b5089deacf0cebc8bf1b8fbcd262 | 0.85 | testing_debugging_repair_refactoring | 98 | 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.Immutable;
using System.Linq;
using System... | sharwell/roslyn | src/Features/Core/Portable/Diagnostics/EngineV2/DiagnosticIncrementalAnalyzer_IncrementalAnalyzer.cs | https://github.com/sharwell/roslyn/blob/HEAD/src/Features/Core/Portable/Diagnostics/EngineV2/DiagnosticIncrementalAnalyzer_IncrementalAnalyzer.cs | ghcode:00163:b7f50de4799b | mit | codeparrot/github-code | b7f50de4799b14d57d244370ae770ec96727eb2f0f55d531df7fbdab9f1dcf0c | 0.85 | testing_debugging_repair_refactoring | 5,165 | false | 2026-07-17 |
using System.Diagnostics;
using System.Net.Sockets;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Renci.SshNet.Common;
using Renci.SshNet.Messages.Transport;
using Renci.SshNet.Tests.Common;
namespace Renci.SshNet.Tests.Classes
{
[TestClass]
public class SessionTest_Connect... | miniter/SSH.NET | src/Renci.SshNet.Tests/Classes/SessionTest_Connected_ServerSendsBadPacket.cs | https://github.com/miniter/SSH.NET/blob/HEAD/src/Renci.SshNet.Tests/Classes/SessionTest_Connected_ServerSendsBadPacket.cs | ghcode:00163:2740c0156762 | mit | codeparrot/github-code | 2740c01567622d44fab504f5a2ce7b09f42146a2a82cdbbc176f15ff1a9e1d3e | 0.6 | testing_debugging_repair_refactoring | 962 | false | 2026-07-17 |
namespace BenchmarkDotNet.Jobs
{
public enum Mode
{
SingleRun,
Throughput
}
} | adamsitnik/BenchmarkDotNet | BenchmarkDotNet/Jobs/Mode.cs | https://github.com/adamsitnik/BenchmarkDotNet/blob/HEAD/BenchmarkDotNet/Jobs/Mode.cs | ghcode:00163:0ab9c1d1865d | mit | codeparrot/github-code | 0ab9c1d1865d95393c4f679988d2243c6194e4ca7c6209f7a87760a82fecdfb9 | 0.35 | testing_debugging_repair_refactoring | 26 | false | 2026-07-17 |
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="David Srbeck�" email="dsrbecky@gmail.com"/>
// <version>$Revision$</version>
// </file>
using System;
using System.Collections.Generic;
namespace Debugger.Tests.TestPrograms
{
public c... | swi-to-yap/swicli | src/Debugger.Core.JDWP/Debugger.Tests/TestPrograms/AstEval.cs | https://github.com/swi-to-yap/swicli/blob/HEAD/src/Debugger.Core.JDWP/Debugger.Tests/TestPrograms/AstEval.cs | ghcode:00163:c586e724ca8a | cc0-1.0 | codeparrot/github-code | c586e724ca8ae9f406fb89a5fda33325cc0214b1f21ed059818db2790ea197ec | 0.63 | testing_debugging_repair_refactoring | 1,192 | false | 2026-07-17 |
using Bari.Core.Commands;
using Bari.Core.Model;
namespace Bari.Core.Test.Commands
{
public class DummyCommand: ICommand
{
/// <summary>
/// Gets the name of the command. This is the string which can be used on the command line interface
/// to access the particular command.
... | vigoo/bari | src/core/tests/Bari.Core.Test/cs/Commands/DummyCommand.cs | https://github.com/vigoo/bari/blob/HEAD/src/core/tests/Bari.Core.Test/cs/Commands/DummyCommand.cs | ghcode:00163:f3829cde8f52 | apache-2.0 | codeparrot/github-code | f3829cde8f52463e17fa46cfa0388f6c7a0015c846a8f044559df271f99a3085 | 0.95 | testing_debugging_repair_refactoring | 255 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using System;
using Telerik.Data.Core;
namespace Telerik.UI.Xaml.Controls.Grid.Tests
{
[TestClass]
public class PropertyGroupDescriptionTests
{
#region DefaultValues
[TestMethod]
public void PropertyGroupDescription_Defau... | geotinc/UI-For-UWP | UnitTests/UAP.Tests/Grid.Tests/Data/PropertyGroupDescriptionTests.cs | https://github.com/geotinc/UI-For-UWP/blob/HEAD/UnitTests/UAP.Tests/Grid.Tests/Data/PropertyGroupDescriptionTests.cs | ghcode:00163:f70a022f27f3 | apache-2.0 | codeparrot/github-code | f70a022f27f38c5640b053c485d513ecf91a98dc3ef14dea9a6eda7cd23a2b9d | 0.85 | testing_debugging_repair_refactoring | 2,296 | false | 2026-07-17 |
using System.Linq;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Xunit;
namespace Tests.Cluster.NodesHotThreads
{
public class NodesHotThreadsApiTests : ApiIntegrationTestBase<ReadOnlyC... | CSGOpenSource/elasticsearch-net | src/Tests/Cluster/NodesHotThreads/NodesHotThreadsApiTests.cs | https://github.com/CSGOpenSource/elasticsearch-net/blob/HEAD/src/Tests/Cluster/NodesHotThreads/NodesHotThreadsApiTests.cs | ghcode:00163:6761296a9b2f | apache-2.0 | codeparrot/github-code | 6761296a9b2fb197373151e624aa76b90b1052a7e7c569a6b7d7572f63a43cc6 | 0.85 | testing_debugging_repair_refactoring | 310 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Interactions;
using Riganti.Utils.Testing.Selenium.Core;
using System;
using System.Globalization;
using System.Linq;
using System.Threading;
using Dotvvm.Samples.Tests;
namespace DotVVM.Samples.Tests.Feature
{
[TestC... | darilek/dotvvm | src/DotVVM.Samples.Tests/Feature/ViewModelProtectionTests.cs | https://github.com/darilek/dotvvm/blob/HEAD/src/DotVVM.Samples.Tests/Feature/ViewModelProtectionTests.cs | ghcode:00163:10e93f59f426 | apache-2.0 | codeparrot/github-code | 10e93f59f4264b9f1087ed6f9dcd638c2f9b802c98618daf3f81326cb5500e92 | 0.85 | testing_debugging_repair_refactoring | 252 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using System.Text;
namespace Shouldly.Internals
{
internal static class StackTraceHelpers
{
public static string GetStackTrace(Exception exception, [NotNull] ref string? cachedValue)
{
... | JoeMighty/shouldly | src/Shouldly/Internals/StackTraceHelpers.cs | https://github.com/JoeMighty/shouldly/blob/HEAD/src/Shouldly/Internals/StackTraceHelpers.cs | ghcode:00163:36febfb3d77f | bsd-3-clause | codeparrot/github-code | 36febfb3d77f14b9f2314a924e3fda4ca4dc5c59cdeeb0835b2d801ee47a30ac | 0.75 | testing_debugging_repair_refactoring | 341 | false | 2026-07-17 |
using System;
using System.Data;
using System.Data.Common;
using NUnit.Framework;
namespace Paramol.Tests
{
[TestFixture]
public class SqlNonQueryCommandTests
{
[Test]
public void TextCanNotBeNull()
{
Assert.Throws<ArgumentNullException>(() => SutFactory((string)null));... | robvdlv/Projac | src/Paramol.Tests/SqlNonQueryCommandTests.cs | https://github.com/robvdlv/Projac/blob/HEAD/src/Paramol.Tests/SqlNonQueryCommandTests.cs | ghcode:00163:5ec480212ffb | bsd-3-clause | codeparrot/github-code | 5ec480212ffb7296e8b43f1deb0a08f3722f21384688e3c2a4792afc764d823f | 0.75 | testing_debugging_repair_refactoring | 455 | false | 2026-07-17 |
//
// Copyright (c) 2004-2017 Jaroslaw Kowalski <jaak@jkowalski.net>, Kim Christensen, Julian Verdurmen
//
// 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 s... | ie-zero/NLog | tests/NLog.UnitTests/LayoutRenderers/RegistryTests.cs | https://github.com/ie-zero/NLog/blob/HEAD/tests/NLog.UnitTests/LayoutRenderers/RegistryTests.cs | ghcode:00163:ddc58279a1ac | bsd-3-clause | codeparrot/github-code | ddc58279a1ac3db129fb9ee962c14f915e9f2c329fe606c293273dee37042bb9 | 0.85 | testing_debugging_repair_refactoring | 2,361 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Scrumfish.OData.Client.Common;
using Scrumfish.OData.Client.Tests.TestObjects;
using Scrumfish.OData.Client.v4;
namespace Scrumfish.OData.Client.Tests.v4
{
[TestClass]
public class Query_Select_Tests
{
[TestMethod]
publ... | SteveReece/ODataTools | ODataToolsSolution/src/OData.Client.Tests/v4/Query_Select_Tests.cs | https://github.com/SteveReece/ODataTools/blob/HEAD/ODataToolsSolution/src/OData.Client.Tests/v4/Query_Select_Tests.cs | ghcode:00163:9b7e7e4123e6 | mit | codeparrot/github-code | 9b7e7e4123e6d8c5304b6f35081a225eb53937c2ab8e92e6c65053d82632b7e4 | 0.85 | testing_debugging_repair_refactoring | 328 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using NUnit.Framework;
using ReactNative.Bridge;
using System;
namespace ReactNative.Tests.Bridge
{
[TestFixture]
public class ReactContextNativeModuleBaseTests
{
[Test]
public void ReactContex... | bluejeans/react-native-windows | ReactWindows/ReactNative.Shared.Tests/Bridge/ReactContextNativeModuleBaseTests.cs | https://github.com/bluejeans/react-native-windows/blob/HEAD/ReactWindows/ReactNative.Shared.Tests/Bridge/ReactContextNativeModuleBaseTests.cs | ghcode:00163:a63e758f5acc | mit | codeparrot/github-code | a63e758f5acc592231c0453dd89b17b45df58051a477eefb7c8b6f512d1d4d46 | 0.75 | testing_debugging_repair_refactoring | 195 | false | 2026-07-17 |
// Copyright 2017 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using BenchmarkDotNet.Attributes;
using NodaTime.TimeZones;
namespace NodaTime.Benchmarks.NodaTimeTests
{
public class ZoneYearOffsetBenchmarks
... | malcolmr/nodatime | src/NodaTime.Benchmarks/NodaTimeTests/ZoneYearOffsetBenchmarks.cs | https://github.com/malcolmr/nodatime/blob/HEAD/src/NodaTime.Benchmarks/NodaTimeTests/ZoneYearOffsetBenchmarks.cs | ghcode:00163:06943ee58eb8 | apache-2.0 | codeparrot/github-code | 06943ee58eb80a0c7df461c6c7f96e14ae9d559b13eefbf58416e5df32ba2e4c | 0.7 | testing_debugging_repair_refactoring | 201 | false | 2026-07-17 |
using Nest;
using Tests.Framework.Integration;
using Tests.Framework.MockData;
namespace Tests.QueryDsl.Joining.SpanNot
{
public class SpanNotUsageTests : QueryDslUsageTestsBase
{
public SpanNotUsageTests(ReadOnlyCluster i, EndpointUsage usage) : base(i, usage) { }
protected override object QueryJson => new
... | azubanov/elasticsearch-net | src/Tests/QueryDsl/Span/Not/SpanNotQueryUsageTests.cs | https://github.com/azubanov/elasticsearch-net/blob/HEAD/src/Tests/QueryDsl/Span/Not/SpanNotQueryUsageTests.cs | ghcode:00163:a5183e1e9731 | apache-2.0 | codeparrot/github-code | a5183e1e9731611f54918d21e16b76efd7e8bb8aca8f61e92fe3cd328bd39016 | 0.85 | testing_debugging_repair_refactoring | 516 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Nest;
using Tests.Framework.Integration;
using Tests.Framework.MockData;
using static Nest.Infer;
namespace Tests.Aggregations.Bucket.Range
{
public class RangeAggregationUsageTests : AggregationUsageTestBase
{
public... | UdiBen/elasticsearch-net | src/Tests/Aggregations/Bucket/Range/RangeAggregationUsageTests.cs | https://github.com/UdiBen/elasticsearch-net/blob/HEAD/src/Tests/Aggregations/Bucket/Range/RangeAggregationUsageTests.cs | ghcode:00163:f9fb4adf37e0 | apache-2.0 | codeparrot/github-code | f9fb4adf37e0d17af51940c7ec5f2d75f31c232df65eac45de7d30be02930849 | 0.85 | testing_debugging_repair_refactoring | 580 | false | 2026-07-17 |
using NUnit.Framework;
namespace TestSandbox3
{
[TestFixture]
public class Class1
{
[Test]
public void Test()
{
}
}
}
| elv1s42/Sandbox | TestSandbox3/TestSandbox3/Class1.cs | https://github.com/elv1s42/Sandbox/blob/HEAD/TestSandbox3/TestSandbox3/Class1.cs | ghcode:00163:aa2bd72fd727 | mit | codeparrot/github-code | aa2bd72fd727c27ffec379dc0cab1398e6ee86be26e9610e8b84af416a04347a | 0.35 | testing_debugging_repair_refactoring | 39 | false | 2026-07-17 |
using System;
using System.Linq;
using Moq;
using NUnit.Framework;
using Umbraco.Core.Logging;
using Umbraco.Core.Models.Rdbms;
using Umbraco.Core.Persistence;
using Umbraco.Core.Persistence.DatabaseModelDefinitions;
using Umbraco.Core.Persistence.Migrations;
using Umbraco.Core.Persistence.SqlSyntax;
using Umbraco.Test... | kasperhhk/Umbraco-CMS | src/Umbraco.Tests/Persistence/SyntaxProvider/MySqlSyntaxProviderTests.cs | https://github.com/kasperhhk/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Persistence/SyntaxProvider/MySqlSyntaxProviderTests.cs | ghcode:00163:2125616d4262 | mit | codeparrot/github-code | 2125616d4262db9056efb719d76e57c6e52adf27d8eaf730c1b50bd9bcc95f13 | 0.85 | testing_debugging_repair_refactoring | 579 | false | 2026-07-17 |
namespace Poker.Tests.PokerHandsChecker
{
using NUnit.Framework;
using Poker;
using Poker.Tests.Fakes;
[TestFixture]
public class IsTwoPairTests
{
[Test]
public void IsTwoPair_HandHasTwoCardsOfTheSameFaceValueAndTheOtherThreeCardsHaveDifferentFaceValues_ShouldReturnFalse()
... | shakuu/Homework | [C#]-04-Unit-Testing/homework-02/Poker.Tests/PokerHandsChecker/IsTwoPairTests.cs | https://github.com/shakuu/Homework/blob/HEAD/[C#]-04-Unit-Testing/homework-02/Poker.Tests/PokerHandsChecker/IsTwoPairTests.cs | ghcode:00163:34d829408b21 | mit | codeparrot/github-code | 34d829408b2191dbab51239996c7dda1632b23289f07e1ba26c023fa4ec3dac4 | 0.85 | testing_debugging_repair_refactoring | 328 | false | 2026-07-17 |
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// 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:... | mterwoord/mbunit-v3 | src/Gallio/Gallio.Tests/Framework/TestInconclusiveExceptionTest.cs | https://github.com/mterwoord/mbunit-v3/blob/HEAD/src/Gallio/Gallio.Tests/Framework/TestInconclusiveExceptionTest.cs | ghcode:00163:ab543771090f | apache-2.0 | codeparrot/github-code | ab543771090ff7ad4d1d962ae9cd89f4bcfd9cc677940b24fe1f0c6e53aae589 | 0.85 | testing_debugging_repair_refactoring | 286 | 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.Diagnostics;
namespace Microsoft.CodeAnalysis.Syntax
{
internal c... | jmarolf/roslyn | src/Compilers/Core/Portable/Syntax/SyntaxTokenListBuilder.cs | https://github.com/jmarolf/roslyn/blob/HEAD/src/Compilers/Core/Portable/Syntax/SyntaxTokenListBuilder.cs | ghcode:00163:bda402679bfc | mit | codeparrot/github-code | bda402679bfc8e37ee2de93f08ecd69cdb2df8f0f43ea9edc0fd968d0b9d28d3 | 0.85 | testing_debugging_repair_refactoring | 707 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Composition;
using System.Diagnostics;
using System.Linq;
using System.Thr... | swaroop-sridhar/roslyn | src/Features/CSharp/Portable/EditAndContinue/CSharpEditAndContinueAnalyzer.cs | https://github.com/swaroop-sridhar/roslyn/blob/HEAD/src/Features/CSharp/Portable/EditAndContinue/CSharpEditAndContinueAnalyzer.cs | ghcode:00163:d6da0feeb352 | apache-2.0 | codeparrot/github-code | d6da0feeb35298f193a27c47b86bf2fb158177fa15923a6451b94872f0cc5f18 | 0.72 | testing_debugging_repair_refactoring | 23,975 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace CoreLib.Tests.RuntimeLibraryTests {
[TestFixture]
public class CallBaseTests {
[Test]
public void SimpleBaseCallWorks() {
SourceVerifier.AssertSourceCorrect(@"
using System;
public class B {... | drysart/SaltarelleCompiler | Runtime/CoreLib.Tests/RuntimeLibraryTests/CallBaseTests.cs | https://github.com/drysart/SaltarelleCompiler/blob/HEAD/Runtime/CoreLib.Tests/RuntimeLibraryTests/CallBaseTests.cs | ghcode:00163:10d1f55f401f | apache-2.0 | codeparrot/github-code | 10d1f55f401f11b316cec7eadb131af839ee6706897fe4c410feeb4b6a73d57e | 0.85 | testing_debugging_repair_refactoring | 2,020 | false | 2026-07-17 |
namespace Examples
{
using System.Diagnostics;
using Bond;
using Bond.Protocols;
using Bond.IO.Unsafe;
using Examples.Common;
using Examples.Common.Protocol;
static class Program
{
static void Main()
{
var src = new Message
{
... | gencer/bond | examples/cs/core/import/program.cs | https://github.com/gencer/bond/blob/HEAD/examples/cs/core/import/program.cs | ghcode:00163:db25d5ae3f49 | mit | codeparrot/github-code | db25d5ae3f496f1a6b31a4f787654240a4433c4aaeb2919a93e91adbdf06b123 | 0.75 | testing_debugging_repair_refactoring | 175 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using NUnit.Framework;
using ServiceStack.Common.Expressions;
namespace ServiceStack.Common.Tests.Expressions
{
[TestFixture]
public class DelegateFactoryTests
{
const string TextValue = "Hello, World!";
private const int Times = 10000;
[Test]
public void String_test... | mangra/ServiceStack | tests/ServiceStack.Common.Tests/Expressions/DelegateFactoryTests.cs | https://github.com/mangra/ServiceStack/blob/HEAD/tests/ServiceStack.Common.Tests/Expressions/DelegateFactoryTests.cs | ghcode:00163:26c7014d2645 | bsd-3-clause | codeparrot/github-code | 26c7014d2645eb1ddbdac052345352caf5cc17f4463e1ced6b89cd2ab7c51cfc | 0.75 | testing_debugging_repair_refactoring | 446 | 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... | tmeschter/roslyn | src/EditorFeatures/CSharpTest/Completion/CompletionProviders/XmlDocumentationCommentCompletionProviderTests.cs | https://github.com/tmeschter/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Completion/CompletionProviders/XmlDocumentationCommentCompletionProviderTests.cs | ghcode:00163:926e7deb8bd0 | apache-2.0 | codeparrot/github-code | 926e7deb8bd0bfa072bf7570a0f91c590401d9f5b11c4b657be5ec8df4a7a398 | 0.85 | testing_debugging_repair_refactoring | 6,243 | 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.Collections;
using System.Collections.Generic;
using System.Data.SqlTypes;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using Sys... | gregg-miskelly/corefx | src/System.Data.SqlClient/src/System/Data/Common/AdapterUtil.cs | https://github.com/gregg-miskelly/corefx/blob/HEAD/src/System.Data.SqlClient/src/System/Data/Common/AdapterUtil.cs | ghcode:00163:1b9c4964f909 | mit | codeparrot/github-code | 1b9c4964f9096ca01fa92cff7163d997b550fbe850a01ba26cfbfac0ecc6ed07 | 0.95 | testing_debugging_repair_refactoring | 8,016 | 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.Diagnostics;
using System.Linq;
using System.Reflection;
using System... | BrennanConroy/corefx | src/System.Collections.Immutable/tests/ImmutableListBuilderTest.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Collections.Immutable/tests/ImmutableListBuilderTest.cs | ghcode:00163:8f913b482ed6 | mit | codeparrot/github-code | 8f913b482ed6b8f7564568eb393a6ae087ea2ef23639ab69ec4d92c5114fed12 | 0.95 | testing_debugging_repair_refactoring | 3,702 | false | 2026-07-17 |
using System;
using System.Linq;
using Merchello.Core;
using Merchello.Core.Gateways.Payment;
using Merchello.Tests.Base.TestHelpers;
using Merchello.Tests.IntegrationTests.TestHelpers;
using Merchello.Web.Models.ContentEditing;
using NUnit.Framework;
namespace Merchello.Tests.IntegrationTests.DisplayClasses
{
[T... | MindfireTechnology/Merchello | test/Merchello.Tests.IntegrationTests/DisplayClasses/GatewayProviderDisplayTests.cs | https://github.com/MindfireTechnology/Merchello/blob/HEAD/test/Merchello.Tests.IntegrationTests/DisplayClasses/GatewayProviderDisplayTests.cs | ghcode:00163:16cbb9405679 | mit | codeparrot/github-code | 16cbb940567904b516cc8ebeba924d95311f8ba3ccc541d98bd4d8b9d3dbcf8c | 0.85 | testing_debugging_repair_refactoring | 910 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Symbols.Metadata.PE;
using Microsoft.CodeAnalysis.PooledObjects;
using Syste... | OmarTawfik/roslyn | src/Compilers/CSharp/Portable/Symbols/Source/CustomModifierUtils.cs | https://github.com/OmarTawfik/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Source/CustomModifierUtils.cs | ghcode:00163:afc30c5aa4c4 | apache-2.0 | codeparrot/github-code | afc30c5aa4c487a880efe621e9001ef8364a2a3e3ea61455483d8f1879b4ab3c | 0.85 | testing_debugging_repair_refactoring | 1,505 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="StandardOutWriterMemoryBenchmark.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net... | willieferguson/akka.net | src/core/Akka.Tests.Performance/Util/StandardOutWriterMemoryBenchmark.cs | https://github.com/willieferguson/akka.net/blob/HEAD/src/core/Akka.Tests.Performance/Util/StandardOutWriterMemoryBenchmark.cs | ghcode:00163:5db87947fb8a | apache-2.0 | codeparrot/github-code | 5db87947fb8a8dd7caf0be0272ae0092140b54da3ebce053821ccb8b131b5412 | 0.85 | testing_debugging_repair_refactoring | 482 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
namespace Xunit.Sdk
{
/// <summary>
/// The base assert exception class
/// </summary>
public class AssertException : Exception
{
readonly string stackTrace;
/// <summary>
/// Initializes a new instance of the <see cref="Asser... | breyed/moq4 | Lib/xUnit/XunitLight.Silverlight/Source/Xunit/Sdk/Exceptions/AssertException.cs | https://github.com/breyed/moq4/blob/HEAD/Lib/xUnit/XunitLight.Silverlight/Source/Xunit/Sdk/Exceptions/AssertException.cs | ghcode:00163:65a0818e4141 | bsd-3-clause | codeparrot/github-code | 65a0818e4141bd1eea5cc0369e86b9528a4bb1a39feb1781c3a055bee9f57391 | 0.7 | testing_debugging_repair_refactoring | 685 | 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.Security.Cryptography;
using Internal.NativeCrypto;
namespace ... | adamralph/corefx | src/System.Security.Cryptography.Cng/src/Internal/Cryptography/CngSymmetricAlgorithmCore.cs | https://github.com/adamralph/corefx/blob/HEAD/src/System.Security.Cryptography.Cng/src/Internal/Cryptography/CngSymmetricAlgorithmCore.cs | ghcode:00163:4129499ae99a | mit | codeparrot/github-code | 4129499ae99adf1b6545f68fbe23e98f9f12f4206b266923093e35a349bc7813 | 0.95 | testing_debugging_repair_refactoring | 1,576 | 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.Net.Sockets;
using System.Threading.Tasks;
using Xunit;
namespace System.N... | nbarbettini/corefx | src/System.Net.Ping/tests/FunctionalTests/UnixPingUtilityTests.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Net.Ping/tests/FunctionalTests/UnixPingUtilityTests.cs | ghcode:00163:04fdbbfe8b26 | mit | codeparrot/github-code | 04fdbbfe8b261f71ecc363f7ab459243c1ed1f17a8af075186952de1e4dae1d9 | 0.95 | testing_debugging_repair_refactoring | 728 | 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... | cwickham3/azure-sdk-for-net | src/ResourceManagement/WebSite/WebSites.Tests/ScenarioTests/WebHostingPlan.ScenarioTests.cs | https://github.com/cwickham3/azure-sdk-for-net/blob/HEAD/src/ResourceManagement/WebSite/WebSites.Tests/ScenarioTests/WebHostingPlan.ScenarioTests.cs | ghcode:00163:02430453ac83 | apache-2.0 | codeparrot/github-code | 02430453ac830d82a8a3d32168087fd9199064095b1a33454b3643877299666f | 0.85 | testing_debugging_repair_refactoring | 1,868 | 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 OLEDB.Test.ModuleCore;
using XmlCoreTest.Common;
namespace System.Xml.Tests
{
public partial class TCFlus... | alphonsekurian/corefx | src/System.Xml.ReaderWriter/tests/Writers/XmlWriterApi/TCFlushClose.cs | https://github.com/alphonsekurian/corefx/blob/HEAD/src/System.Xml.ReaderWriter/tests/Writers/XmlWriterApi/TCFlushClose.cs | ghcode:00163:c74f2d5bbfd7 | mit | codeparrot/github-code | c74f2d5bbfd75ad58407da830bcb6b88f0fcef96208b39a34eac66311ccefa27 | 0.95 | testing_debugging_repair_refactoring | 296 | 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.Security.Cryptography.Asn1;
namespace System.Security.Cryptography.Pkcs
{
... | shimingsg/corefx | src/System.Security.Cryptography.Pkcs/src/System/Security/Cryptography/Pkcs/Pkcs12SafeContentsBag.cs | https://github.com/shimingsg/corefx/blob/HEAD/src/System.Security.Cryptography.Pkcs/src/System/Security/Cryptography/Pkcs/Pkcs12SafeContentsBag.cs | ghcode:00163:368b72597c2c | mit | codeparrot/github-code | 368b72597c2c900298803d722ad2566ba1de3cc79e1de8fc3c7a40ec9ea3343b | 0.95 | testing_debugging_repair_refactoring | 290 | false | 2026-07-17 |
using LrNet.Lucene.Fluent;
using Lucene.Net.Analysis.Standard;
using Lucene.Net.Util;
using NUnit.Framework;
namespace LrNet.Lucene.Fluent.Tests
{
[TestFixture]
class QueryBuilderTests
{
[TestFixtureSetUp]
public void TestFixtureSetUp()
{
QueryBuilder.Version = Version.... | lelandrichardson/lucene-fluent-query-builder | LrNet.Lucene.Fluent.Tests/QueryBuilderTests.cs | https://github.com/lelandrichardson/lucene-fluent-query-builder/blob/HEAD/LrNet.Lucene.Fluent.Tests/QueryBuilderTests.cs | ghcode:00163:4d22853d5587 | mit | codeparrot/github-code | 4d22853d55875a8f1fc9e5f1cbc335e404b2588fddcc3632f10f3185ed7cb8fa | 0.75 | testing_debugging_repair_refactoring | 937 | false | 2026-07-17 |
using DataCleaningTool.BaseVM;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataCleaningTool.ViewModels
{
public class TestWindowViewModel : BaseViewModel
{
}
}
| Jacwing/DataCleaningTool | DataCleaningTool/DataCleaningTool/ViewModels/TestWindowViewModel.cs | https://github.com/Jacwing/DataCleaningTool/blob/HEAD/DataCleaningTool/DataCleaningTool/ViewModels/TestWindowViewModel.cs | ghcode:00163:55fa87e5d401 | mit | codeparrot/github-code | 55fa87e5d401e40ab5695faacc1f651068c44364904309d8174ed14ea2faafa2 | 0.75 | testing_debugging_repair_refactoring | 50 | false | 2026-07-17 |
using System;
using KLibrary.Labs;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTest
{
[TestClass]
public class MaybeTest
{
[TestMethod]
public void Equals()
{
Assert.IsTrue(Maybe<int>.None == default(Maybe<int>));
Assert.IsTrue(0.ToMayb... | sakapon/KLibrary-Labs | CoreLab/UnitTest/MaybeTest.cs | https://github.com/sakapon/KLibrary-Labs/blob/HEAD/CoreLab/UnitTest/MaybeTest.cs | ghcode:00163:454cdb716b5f | mit | codeparrot/github-code | 454cdb716b5fa4db72707a2c03d2d235f32a1a3f2684b7619eb0858ce9fb4930 | 0.6 | testing_debugging_repair_refactoring | 655 | false | 2026-07-17 |
using System;
using System.Threading;
using FlitBit.Wireup;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FlitBit.IoC.Tests
{
[TestClass]
public class CopyConstructTests
{
public TestContext TestContext { get; set; }
[TestMethod]
public void Container_CanCopyConstructA2A()
{
var rand =... | flitbit-org/fbioc | FlitBit.IoC/FlitBit.IoC.Tests/CopyConstructTests.cs | https://github.com/flitbit-org/fbioc/blob/HEAD/FlitBit.IoC/FlitBit.IoC.Tests/CopyConstructTests.cs | ghcode:00163:673112271c69 | mit | codeparrot/github-code | 673112271c695fe27f2b35543e25abb75e303ea486d1b0babf620819317b243f | 0.75 | testing_debugging_repair_refactoring | 570 | false | 2026-07-17 |
using System.Collections.Generic;
using IniParser.Model;
using NUnit.Framework;
namespace IniFileParser.Tests.Unit.Model
{
[TestFixture, Category("Test of data structures used to hold information retrieved for an INI file")]
public class SectionDataCollectionTests
{
[Test]
public void check... | davidgrupp/ini-parser | src/IniFileParser.Tests/Unit/Model/SectionDataCollectionTests.cs | https://github.com/davidgrupp/ini-parser/blob/HEAD/src/IniFileParser.Tests/Unit/Model/SectionDataCollectionTests.cs | ghcode:00163:94ed82235112 | mit | codeparrot/github-code | 94ed82235112226d2ca2f31ae41fcb520d7eacda317faa592b6f41de5648821e | 0.85 | testing_debugging_repair_refactoring | 832 | false | 2026-07-17 |
using System.Reactive.Subjects;
using Microsoft.Reactive.Testing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Reactive.Bindings.Extensions;
namespace ReactiveProperty.Tests.Extensions;
[TestClass]
public class InverseObservableExtensionsTest : ReactiveTest
{
[TestMethod]
public void Inverse()
... | runceel/ReactiveProperty | Test/ReactiveProperty.NETStandard.Tests/Extensions/InverseObservableExtensionsTest.cs | https://github.com/runceel/ReactiveProperty/blob/HEAD/Test/ReactiveProperty.NETStandard.Tests/Extensions/InverseObservableExtensionsTest.cs | ghcode:00163:1aa41bd87117 | mit | codeparrot/github-code | 1aa41bd87117cc9687dd75a5200cfc2f7366ee7ee5c2b0fb92ab12012188f863 | 0.6 | testing_debugging_repair_refactoring | 123 | false | 2026-07-17 |
using System;
using System.Threading;
using ReactiveDomain.Messaging.Bus;
using ReactiveDomain.Testing;
using Xunit;
namespace ReactiveDomain.Messaging.Tests {
public class TestCommandBusFixture :
IHandleCommand<TestCommands.AckedCommand>,
IHandleCommand<TestCommands.Command1>,
IHandleComm... | PKI-InVivo/reactive-domain | src/ReactiveDomain.Messaging.Tests/when_sending_commands.cs | https://github.com/PKI-InVivo/reactive-domain/blob/HEAD/src/ReactiveDomain.Messaging.Tests/when_sending_commands.cs | ghcode:00163:7498d7fd5bb1 | mit | codeparrot/github-code | 7498d7fd5bb1dc0b2e709a0e071b6449d29c87c0a63b0be1dd19990e124227a6 | 0.85 | testing_debugging_repair_refactoring | 6,469 | false | 2026-07-17 |
#region Includes
using System.Collections.Generic;
using System.Data;
using NUnit.Framework;
#endregion
namespace Daishi.SQLBuilder.UnitTests {
[TestFixture]
internal class SQLParameterFormatterTest {
[Test]
public void SQLParameterFormatterFormatsSelectStatementWithParameters() {
... | daishisystems/Daishi.SQLBuilder | Daishi.SQLBuilder.UnitTests/SQLParameterFormatterTest.cs | https://github.com/daishisystems/Daishi.SQLBuilder/blob/HEAD/Daishi.SQLBuilder.UnitTests/SQLParameterFormatterTest.cs | ghcode:00163:0fa4d2ecc384 | mit | codeparrot/github-code | 0fa4d2ecc384e3c0019086852750c4118221e2b818a37e4ab2365a925e0f10d9 | 0.6 | testing_debugging_repair_refactoring | 138 | false | 2026-07-17 |
using System.IO;
using System.Text;
using SharpCompress.Common;
using SharpCompress.Writers.Tar;
using Xunit;
namespace SharpCompress.Test.Tar
{
public class TarWriterTests : WriterTests
{
public TarWriterTests()
: base(ArchiveType.Tar)
{
UseExtensionInsteadOfNameToVeri... | adamhathcock/sharpcompress | tests/SharpCompress.Test/Tar/TarWriterTests.cs | https://github.com/adamhathcock/sharpcompress/blob/HEAD/tests/SharpCompress.Test/Tar/TarWriterTests.cs | ghcode:00163:ba8ba88915df | mit | codeparrot/github-code | ba8ba88915df96df2aa443634bb2961a844bd9d59c0008d1b6fc4ab1fe1f0589 | 0.75 | testing_debugging_repair_refactoring | 451 | false | 2026-07-17 |
using CharacterGen.Alignments;
using CharacterGen.CharacterClasses;
using CharacterGen.Domain.Tables;
using NUnit.Framework;
using System;
namespace CharacterGen.Tests.Integration.Tables.CharacterClasses
{
[TestFixture]
public class ProhibitedFieldsTests : CollectionTests
{
protected override stri... | DnDGen/CharacterGen | CharacterGen.Tests.Integration.Tables/CharacterClasses/ProhibitedFieldsTests.cs | https://github.com/DnDGen/CharacterGen/blob/HEAD/CharacterGen.Tests.Integration.Tables/CharacterClasses/ProhibitedFieldsTests.cs | ghcode:00163:b6c743eb32a9 | mit | codeparrot/github-code | b6c743eb32a9b26acb6d19cfcb85192b4a9fc1a7d6ce8ced6f3dca7b816c34ac | 0.75 | testing_debugging_repair_refactoring | 796 | false | 2026-07-17 |
using NUnit.Framework;
namespace Resourceful.Test.Acceptance
{
[TestFixture]
public class MappingSpecialCases
{
[Test]
public void MappingAThingWithANullReference()
{
var thing = new SampleTypes.Simple { Name = null };
var result = ResourceMapper.Map(thing);
Assert.That(((string)result["Name"]), I... | AaronTorgerson/Resourceful | src/Resourceful.Test/Acceptance/MappingSpecialCases.cs | https://github.com/AaronTorgerson/Resourceful/blob/HEAD/src/Resourceful.Test/Acceptance/MappingSpecialCases.cs | ghcode:00163:edd6788cf338 | mit | codeparrot/github-code | edd6788cf3383c1ed85acb6c4be4c9e62b4fab4ddabf9ff954b1088cf766b273 | 0.6 | testing_debugging_repair_refactoring | 84 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace CSharpViaTest.Collections._10_EnumerablePractices
{
/*
* Description
* ===========
*
* This test is the basic practice to manually create a IEnumerator<T>. This can
* help... | AxeDotNet/AxePractice.CSharpViaTest | src/CSharpViaTest.Collections/10_EnumerablePractices/SkippedEnumeratorPractice.cs | https://github.com/AxeDotNet/AxePractice.CSharpViaTest/blob/HEAD/src/CSharpViaTest.Collections/10_EnumerablePractices/SkippedEnumeratorPractice.cs | ghcode:00163:52691369a4d1 | mit | codeparrot/github-code | 52691369a4d1534f37cca09dc5e9f02f73024a2f06dafa5e688df1b63f183ca6 | 0.6 | testing_debugging_repair_refactoring | 498 | false | 2026-07-17 |
namespace OffByOne.Qls.Tests.Ast.Style.Statements
{
using System;
using OffByOne.Qls.Ast.Style.Statements;
using Xunit;
public class SectionTests
{
[Theory]
[InlineData(null)]
[InlineData("")]
[InlineData(" ")]
public void CreatingNewObject_Should... | Teodor92/QL-DSL | test/OffByOne.Qls.Tests/Ast/Style/Statements/SectionTests.cs | https://github.com/Teodor92/QL-DSL/blob/HEAD/test/OffByOne.Qls.Tests/Ast/Style/Statements/SectionTests.cs | ghcode:00163:1dd6dcb574d4 | mit | codeparrot/github-code | 1dd6dcb574d4ad70f4e67a613b65e159d28873943451bad73cd21af3220a6f21 | 0.75 | testing_debugging_repair_refactoring | 104 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Mirage.Urbanization.GrowthPathFinding;
using Mirage.Urbanization.ZoneConsumption;
using Mirage.Urbanization.ZoneConsumption.Base;
namespace Mirage.Urbanization.Test
{
... | Miragecoder/Urbanization | src/Mirage.Urbanization.Test/PathfindingTest.cs | https://github.com/Miragecoder/Urbanization/blob/HEAD/src/Mirage.Urbanization.Test/PathfindingTest.cs | ghcode:00163:eb5b4c29b5da | mit | codeparrot/github-code | eb5b4c29b5da967af19bb08650d66cb9127651a6ab59f6f293eeb8ca29092c1a | 0.6 | testing_debugging_repair_refactoring | 1,470 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Objects.Get.Seasons.Json.Writer
{
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Traits;
using TraktApiSharp.Extensions;
using TraktApiSharp.Objects.Get.Episodes;
using TraktApiSharp.Objects.Get.S... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Objects/Get/Seasons/Json/Writer/SeasonArrayJsonWriter/SeasonArrayJsonWriter_Object_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Objects/Get/Seasons/Json/Writer/SeasonArrayJsonWriter/SeasonArrayJsonWriter_Object_Tests.cs | ghcode:00163:e6aec0ae9cb8 | mit | codeparrot/github-code | e6aec0ae9cb8fa06ae97e6c8b1f0ffb02ce1deff395c2d018e7fc4d6a246b4f5 | 0.85 | testing_debugging_repair_refactoring | 4,609 | false | 2026-07-17 |
namespace Potassium.MemoryTests
{
using Potassium.Core;
using NUnit.Framework;
[TestFixture]
public class MemoryTest5
{
[TestCase(1000000000)]
public void Test(int iterations)
{
var sink = new FirableEvent<int>();
var obserable = sink.Hold(0);
... | jerometerry/potassium | tests/MemoryTests/MemoryTest5.cs | https://github.com/jerometerry/potassium/blob/HEAD/tests/MemoryTests/MemoryTest5.cs | ghcode:00163:b4d91a122202 | mit | codeparrot/github-code | b4d91a12220297ee052c7ff57aba1d1ffe86d8858fe84be7d98da42f6b0a0472 | 0.6 | testing_debugging_repair_refactoring | 127 | false | 2026-07-17 |
using Bedrock.Modularity;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bedrock.Tests.Modularity
{
[TestClass]
public class ConfigurationStoreFixture
{
[TestMethod]
public void ShouldRetrieveModuleConfiguration()
{
ConfigurationStore store = new Configura... | jackhuclan/bedrock | source/Bedrock/Bedrock.Tests/Modularity/ConfigurationStoreFixture.Desktop.cs | https://github.com/jackhuclan/bedrock/blob/HEAD/source/Bedrock/Bedrock.Tests/Modularity/ConfigurationStoreFixture.Desktop.cs | ghcode:00163:4b74d7e44152 | mit | codeparrot/github-code | 4b74d7e44152a0dde07cb766a71fcd5313d7b041ff00140f84d940b451675c90 | 0.6 | testing_debugging_repair_refactoring | 194 | false | 2026-07-17 |
using NMetrics.Util;
using NUnit.Framework;
using System;
namespace NMetrics.Tests.Util
{
class UtilsTest
{
[Test]
public void UnixTimeCorrect()
{
Assert.AreEqual(1, new DateTime(1970, 1, 1, 0, 0, 1, DateTimeKind.Utc).ToUnixTime());
Assert.AreEqual(6... | thattolleyguy/nmetrics | NMetrics.Tests/Util/UtilsTest.cs | https://github.com/thattolleyguy/nmetrics/blob/HEAD/NMetrics.Tests/Util/UtilsTest.cs | ghcode:00163:4a6cb79ce460 | mit | codeparrot/github-code | 4a6cb79ce460e7a460f82144c7db397c29b408326ff3bad4106e90237282f3fb | 0.75 | testing_debugging_repair_refactoring | 291 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Extensions.TypeExtensions;
using ... | smoogipooo/osu-framework | osu.Framework/Testing/TestScene.cs | https://github.com/smoogipooo/osu-framework/blob/HEAD/osu.Framework/Testing/TestScene.cs | ghcode:00163:ba3271f9a591 | mit | codeparrot/github-code | ba3271f9a591b5b570cced08d1b8b2e6cff26dd7382885601ba04802504673d4 | 0.85 | testing_debugging_repair_refactoring | 2,694 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using NUnit.Framework;
// ReSharper disable InvokeAsExtensionMethod
namespace BitFn.Core.Tests.Extensions.ForIDictionary
{
[TestFixture]
public class Increment
{
[ExcludeFromCodeCoverage]
private static TestDelegate TestDel... | BitFn/Core | Tests/Extensions/ForIDictionary/Increment.cs | https://github.com/BitFn/Core/blob/HEAD/Tests/Extensions/ForIDictionary/Increment.cs | ghcode:00163:4fecb7246898 | mit | codeparrot/github-code | 4fecb7246898a1d2f374b717973c948aeb2a42df699fb8da8b435cafa7fc726a | 0.7 | testing_debugging_repair_refactoring | 1,385 | 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/DynamicsTeamTest/CyPhySoTRunner.cs | https://github.com/pombredanne/metamorphosys-desktop/blob/HEAD/metamorphosys/META/test/DynamicsTeamTest/CyPhySoTRunner.cs | ghcode:00163:00b6f50a14f8 | mit | codeparrot/github-code | 00b6f50a14f8aef3e59a02a9c9470b58c42549955769e84185ca7736462ea2ff | 0.95 | testing_debugging_repair_refactoring | 1,147 | false | 2026-07-17 |
using System;
using System.Threading;
using System.Threading.Tasks;
using FeatureToggle;
using FluentAssertions;
using MediatR;
using Moq;
using NUnit.Framework;
using SFA.DAS.NLog.Logger;
using SFA.DAS.ProviderApprenticeshipsService.Application.Queries.GetProvider;
using SFA.DAS.ProviderApprenticeshipsService.Applica... | SkillsFundingAgency/das-providerapprenticeshipsservice | src/SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests/Orchestrators/Account/WhenGettingAccountHomeViewModel.cs | https://github.com/SkillsFundingAgency/das-providerapprenticeshipsservice/blob/HEAD/src/SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests/Orchestrators/Account/WhenGettingAccountHomeViewModel.cs | ghcode:00163:dcbd42814338 | mit | codeparrot/github-code | dcbd428143382d087b2af0502ed993b9bca7e7cb8cc8496f125b47d2bfbd5363 | 0.6 | testing_debugging_repair_refactoring | 722 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Objects.Basic.Json.Writer
{
using FluentAssertions;
using System;
using System.Threading.Tasks;
using Traits;
using TraktApiSharp.Objects.Basic;
using TraktApiSharp.Objects.Basic.Json.Writer;
using Xunit;
[Category("Objects.Basic.JsonWriter")]
public p... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Objects/Basic/Json/Writer/ImageObjectJsonWriter/ImageObjectJsonWriter_Object_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Objects/Basic/Json/Writer/ImageObjectJsonWriter/ImageObjectJsonWriter_Object_Tests.cs | ghcode:00163:2e757946fb5a | mit | codeparrot/github-code | 2e757946fb5aa1ee820f0b8f2623b56b96fdcb05faaae8db3ee32b416148ddbe | 0.85 | testing_debugging_repair_refactoring | 237 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.