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;
using System.Collections.Generic;
using System.Linq;
using CherrySeed.EntityDataProvider;
using CherrySeed.Test.Asserts;
using CherrySeed.Test.Base.Repositories;
using CherrySeed.Test.Infrastructure;
using CherrySeed.Test.Mocks;
using CherrySeed.Test.Models;
using Microsoft.VisualStudio.TestTools.UnitTes... | altmann/CherrySeed | src/CherrySeed.Test/IntegrationTests/EntityReferenceTests.cs | https://github.com/altmann/CherrySeed/blob/HEAD/src/CherrySeed.Test/IntegrationTests/EntityReferenceTests.cs | ghcode:00172:3374897b66a0 | mit | codeparrot/github-code | 3374897b66a069b864514fd6a254221be6a6feed318a5df3dbd85b7de4718713 | 0.85 | testing_debugging_repair_refactoring | 2,821 | false | 2026-07-17 |
using System;
using System.Linq;
using MavenThought.Commons.Extensions;
using NUnit.Framework;
using SharpTestsEx;
namespace BowlingKata.Unit.Tests
{
public class When_frame_keeper_registers_strike_on_last_frame : FrameKeeperSpecification
{
public override void When()
{
10.Times(() ... | amirci/bowling_game | tests/BowlingKata.Unit.Tests/When_frame_keeper_registers_strike_on_last_frame.cs | https://github.com/amirci/bowling_game/blob/HEAD/tests/BowlingKata.Unit.Tests/When_frame_keeper_registers_strike_on_last_frame.cs | ghcode:00172:b90d5958c19b | mit | codeparrot/github-code | b90d5958c19b555bdfe8b781bfcecd30fd17fe895313f9295f0b5095dcfaf854 | 0.6 | testing_debugging_repair_refactoring | 185 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using DlxLib;
using NUnit.Framework;
namespace DlxLibTests
{
[TestFixture]
public class DlxLibSolveTests
{
[Test]
public void NullMatrixThrowsArgumentNullException()
{
var dlx = new Dlx();
As... | taylorjg/DlxLib | DlxLibTests/DlxLibSolveTests.cs | https://github.com/taylorjg/DlxLib/blob/HEAD/DlxLibTests/DlxLibSolveTests.cs | ghcode:00172:c02724bf9f97 | mit | codeparrot/github-code | c02724bf9f974db6b427f8e0d983c3e97d602c435094f8d035d2288bd0876a80 | 0.85 | testing_debugging_repair_refactoring | 3,144 | false | 2026-07-17 |
using Nethereum.Generators.Core;
using Nethereum.Generators.Net;
using Nethereum.Generators.Tests.Common.TestData;
using System.IO;
using System.Threading;
using Xunit;
namespace Nethereum.Generators.UnitTests.Tests
{
public class GeneratedFileWriterTests
{
[Fact]
public void WillNotOverwriteE... | Nethereum/Nethereum | generators/Nethereum.Generators.UnitTests/Tests/GeneratedFileWriterTests.cs | https://github.com/Nethereum/Nethereum/blob/HEAD/generators/Nethereum.Generators.UnitTests/Tests/GeneratedFileWriterTests.cs | ghcode:00172:2834bcd4a224 | mit | codeparrot/github-code | 2834bcd4a2240807614d1d95eed2b5382cdcdd6232f4d0e3216d579d6bb2169d | 0.85 | testing_debugging_repair_refactoring | 569 | false | 2026-07-17 |
using System.Collections;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using JudoPayDotNet;
using JudoPayDotNet.Http;
using JudoPayDotNet.Models;
using JudoPayDotNetDotNet.Logging;
using NSubstitute;
using NUnit.Framework;
namespace JudoPayDotNetTests.Clients
{... | ChrisRowtcliff/JudoPayDotNet4 | JudoPayDotNetTests/Clients/ThreeDsTests.cs | https://github.com/ChrisRowtcliff/JudoPayDotNet4/blob/HEAD/JudoPayDotNetTests/Clients/ThreeDsTests.cs | ghcode:00172:0aa8bc94080c | mit | codeparrot/github-code | 0aa8bc94080c03ac4d9af15d707ed62bf69de7434b6e67c997643244b4cdc91b | 0.85 | testing_debugging_repair_refactoring | 1,550 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Objects.Get.Watched.Implementations
{
using FluentAssertions;
using System;
using System.Linq;
using System.Threading.Tasks;
using Traits;
using TraktApiSharp.Enums;
using TraktApiSharp.Objects.Get.Watched;
using TraktApiSharp.Objects.Get.Watched.Json.Reade... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Objects/Get/Watched/Implementations/TraktWatchedShow_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Objects/Get/Watched/Implementations/TraktWatchedShow_Tests.cs | ghcode:00172:e84baf57b2e9 | mit | codeparrot/github-code | e84baf57b2e9f09e5feed9872903f34cf9c40711fc49415a2fa32f51e2d4ad9b | 0.95 | testing_debugging_repair_refactoring | 4,806 | 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/RootDiscovery/inherited model.cs | https://github.com/cubeme/ssharp/blob/HEAD/Tests/Execution/RootDiscovery/inherited model.cs | ghcode:00172:7d6bd6f8b904 | mit | codeparrot/github-code | 7d6bd6f8b904bbb9723b1c908695389f4c23ad613319b6e237988e4df322ab97 | 0.85 | testing_debugging_repair_refactoring | 547 | false | 2026-07-17 |
using Xunit;
using Rabbit.WeiXin.MP.Api.TemplateMessage;
namespace Rabbit.WeiXin.Tests
{
public class TemplateMessageServiceTest : ApiTestBase
{
#region Field
private readonly ITemplateMessageService _templateMessageService;
#endregion Field
#region Constructor
... | RabbitTeam/WeiXinSDK | test/Rabbit.WeiXin.Tests/TemplateMessageServiceTest.cs | https://github.com/RabbitTeam/WeiXinSDK/blob/HEAD/test/Rabbit.WeiXin.Tests/TemplateMessageServiceTest.cs | ghcode:00172:0207b2a57ceb | apache-2.0 | codeparrot/github-code | 0207b2a57ceb9bf61b89b00268e745664a1a1f6e7edff305d1dfcb112f2e2bc3 | 0.6 | testing_debugging_repair_refactoring | 290 | false | 2026-07-17 |
using System;
using ConnectFour.Core;
using NUnit.Framework;
namespace ConnectFour.Tests.Core
{
[TestFixture]
public class PlayingBoardViewTests
{
/// <summary>
/// Does an empty board render as expected?
/// </summary>
[Test]
public void PlayingBoardViewShowsCorre... | shannon-morahan/Connect-Four-Console | ConnectFour.Tests/Core/PlayingBoardViewTests.cs | https://github.com/shannon-morahan/Connect-Four-Console/blob/HEAD/ConnectFour.Tests/Core/PlayingBoardViewTests.cs | ghcode:00172:ec4b57145677 | apache-2.0 | codeparrot/github-code | ec4b57145677baca883322df9f8f330a67f7812e8b5aea22bb39c682c4ddfb82 | 0.85 | testing_debugging_repair_refactoring | 660 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
namespace Microsoft.CodeAnalysis.CSharp
{
/// <summary>
/// Synced with Ramp.Aspects.Features
/// </summary>
[Flags]
interna... | Inverness/roslyn | src/Compilers/CSharp/Portable/Lowering/AspectRewriters/AspectRewriter.cs | https://github.com/Inverness/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/AspectRewriters/AspectRewriter.cs | ghcode:00172:3443b7713670 | apache-2.0 | codeparrot/github-code | 3443b77136702207e0fc771ea472809fd622cb6b7bd430711ff67d97ef765e75 | 0.85 | testing_debugging_repair_refactoring | 6,883 | false | 2026-07-17 |
#region License
/*
* 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
... | apache/incubator-tinkerpop | gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/IgnoreException.cs | https://github.com/apache/incubator-tinkerpop/blob/HEAD/gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Gherkin/IgnoreException.cs | ghcode:00172:74fbf042ed2b | apache-2.0 | codeparrot/github-code | 74fbf042ed2b209cdecb6bb57633496ef6c8aa9c649488ef7641586e1b56329c | 0.95 | testing_debugging_repair_refactoring | 510 | 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 Microsoft.CodeAnalysis.CSharp.Emit;
using... | xasx/roslyn | src/Compilers/CSharp/Portable/Symbols/Retargeting/RetargetingMethodSymbol.cs | https://github.com/xasx/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Retargeting/RetargetingMethodSymbol.cs | ghcode:00172:0c19f4c3bc9b | apache-2.0 | codeparrot/github-code | 0c19f4c3bc9bb4c64e0c95195453021c16cf2db61e26b76daca462ddea620c15 | 0.85 | testing_debugging_repair_refactoring | 1,893 | false | 2026-07-17 |
using MpdBaileyTechnology.Shared.Maths;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace MpdBaileyTechnology.Shared.UnitTests.Maths
{
/// <summary>
///This is a test class for ChecksumTest and is intended
///to contain all ChecksumTest Unit Tests
///</summary>
... | PigDogBay/MpdbSharedLibrary | MpdbSharedLibraryUnitTests/Maths/ChecksumTest.cs | https://github.com/PigDogBay/MpdbSharedLibrary/blob/HEAD/MpdbSharedLibraryUnitTests/Maths/ChecksumTest.cs | ghcode:00172:eacb9512782e | apache-2.0 | codeparrot/github-code | eacb9512782e39f09c6978437a4534b704aa743920816a5e3163cd5fe557384d | 0.85 | testing_debugging_repair_refactoring | 1,025 | false | 2026-07-17 |
using BigBook.Reflection;
using Fast.Activator;
using ObjectCartographer;
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Dynamic;
using System.Linq;
using System.Text;
names... | JaCraig/BigBookOfDataTypes | BigBook.Benchmarks/Tests/TestClasses/NewDynamo.cs | https://github.com/JaCraig/BigBookOfDataTypes/blob/HEAD/BigBook.Benchmarks/Tests/TestClasses/NewDynamo.cs | ghcode:00172:4bc308243617 | apache-2.0 | codeparrot/github-code | 4bc3082436176089fb6adff433bf322e0530ad367c3255c826d5a91f383facd9 | 0.95 | testing_debugging_repair_refactoring | 5,284 | false | 2026-07-17 |
using UnityEngine;
using JetBrains.Annotations;
public class Base : MonoBehaviour
{
protected virtual void Update()
{
}
}
public class Derived : Base
{
Up{caret}
}
| JetBrains/resharper-unity | resharper/resharper-unity/test/data/Unity/CSharp/CodeCompletion/List/DoNotListVirtualFunctions.cs | https://github.com/JetBrains/resharper-unity/blob/HEAD/resharper/resharper-unity/test/data/Unity/CSharp/CodeCompletion/List/DoNotListVirtualFunctions.cs | ghcode:00172:e37ec2b9466e | apache-2.0 | codeparrot/github-code | e37ec2b9466ea68fe1ca82ea2dabd24386fde75b9264eb28f957bab99be0d12a | 0.6 | testing_debugging_repair_refactoring | 38 | false | 2026-07-17 |
// -------------------------------------------------------------------------------------------------
// <copyright file="ConditionTests.cs" author="Christopher Sellers">
// Copyright (C) 2017. All rights reserved.
// https://github.com/cjdsellers/FuzzyLogic
// the use of this source code is governed by the Apach... | cjdsellers/FuzzyLogic.NET | Source/FuzzyLogic.UnitTests/LogicTests/ConditionTests.cs | https://github.com/cjdsellers/FuzzyLogic.NET/blob/HEAD/Source/FuzzyLogic.UnitTests/LogicTests/ConditionTests.cs | ghcode:00172:16fdddea2071 | apache-2.0 | codeparrot/github-code | 16fdddea20712c5592935c6ce6c2c9e194f2cfc5ce33779433a8d74e1e1687be | 0.85 | testing_debugging_repair_refactoring | 570 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Moq;
using NuGet.Test.Mocks;
using Xunit;
namespace NuGet.Test
{
public class DataServicePackageTest
{
[Fact]
public void EmptyDependenciesStringReturnsEmptyDependenciesCollection()
{
// ... | xero-github/Nuget | test/Core.Test/DataServicePackageTest.cs | https://github.com/xero-github/Nuget/blob/HEAD/test/Core.Test/DataServicePackageTest.cs | ghcode:00172:1d4f12068b21 | apache-2.0 | codeparrot/github-code | 1d4f12068b21217039c50be176091a6f02fd544d61ccd260abeed20e810cd941 | 0.85 | testing_debugging_repair_refactoring | 1,656 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Dypo.Attributes;
namespace Dypo.Tests.Attributes
{
[TestFixture]
class ColumnNameAttributeTests
{
[Test]
public void ColumnName_Is_As_Expected()
... | jweber/Dypo | source/Dypo.Tests/Attributes/ColumnNameAttributeTests.cs | https://github.com/jweber/Dypo/blob/HEAD/source/Dypo.Tests/Attributes/ColumnNameAttributeTests.cs | ghcode:00172:b3ae844ccfab | apache-2.0 | codeparrot/github-code | b3ae844ccfab6807a708f2412023e4de22096b35e321f9e511a93413c052b867 | 0.75 | testing_debugging_repair_refactoring | 100 | false | 2026-07-17 |
using System;
using Microsoft.IdentityModel.Tokens;
using System.IdentityModel.Tokens.Jwt;
using System.Threading.Tasks;
using D2L.Security.OAuth2.Keys.Default;
using D2L.Security.OAuth2.TestUtilities;
using D2L.Security.OAuth2.TestUtilities.Mocks;
using D2L.Security.OAuth2.Validation.AccessTokens;
using D2L.S... | Brightspace/D2L.Security.OAuth2 | test/D2L.Security.OAuth2.UnitTests/Validation/AccessTokenValidatorTests.cs | https://github.com/Brightspace/D2L.Security.OAuth2/blob/HEAD/test/D2L.Security.OAuth2.UnitTests/Validation/AccessTokenValidatorTests.cs | ghcode:00172:03b6c97fd616 | apache-2.0 | codeparrot/github-code | 03b6c97fd616148d9dfe77a9dfa7293ee16c8dafe13ddfd6aa85badc4d4ef970 | 0.75 | testing_debugging_repair_refactoring | 906 | false | 2026-07-17 |
#region Copyright
// Copyright 2014 Myrcon Pty. Ltd.
//
// 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 appl... | phogue/Potato | src/Potato.Core.Shared.Test/ExecutableCommands/TestCommandData.cs | https://github.com/phogue/Potato/blob/HEAD/src/Potato.Core.Shared.Test/ExecutableCommands/TestCommandData.cs | ghcode:00172:3bd040ac0c3a | apache-2.0 | codeparrot/github-code | 3bd040ac0c3a1418738fbac5c2fff2b24a8956d499990876bcf8c365ff16b6ba | 0.85 | testing_debugging_repair_refactoring | 519 | false | 2026-07-17 |
using Concise.Core.Performance;
using Concise.Core.CommonExtensions;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Runtime.Remoting.Messaging;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
using Concise.Core.TestFramewo... | toddlindsey/Concise.Core | Concise.Core/Steps/TestStepContext.cs | https://github.com/toddlindsey/Concise.Core/blob/HEAD/Concise.Core/Steps/TestStepContext.cs | ghcode:00172:7852369ed419 | apache-2.0 | codeparrot/github-code | 7852369ed419bfb78496fc939513c22d0647e087c888b684c3d131c862fe59ae | 0.85 | testing_debugging_repair_refactoring | 1,731 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Antlr.Runtime;
using InWorldz.Phlox.VM;
namespace CompilerTests.ByteCompilerTests
{
[TestFixture]
class FuncCalls : BaseTest
{
[Test]
public void TestCallFwdRef()
{
... | zwagoth/phlox | CompilerRuntime/CompilerTests/ByteCompilerTests/FuncCalls.cs | https://github.com/zwagoth/phlox/blob/HEAD/CompilerRuntime/CompilerTests/ByteCompilerTests/FuncCalls.cs | ghcode:00172:b399134016f2 | apache-2.0 | codeparrot/github-code | b399134016f2cea4f8001b374c9af2d831f4de4d6dbce8474fc4b9da9d10caf3 | 0.6 | testing_debugging_repair_refactoring | 529 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
using NUnit.Framework;
using SeleniumTasksProject1;
using SeleniumTasksProject1.Records;
namespace SeleniumTasksProject1.Pages
{
... | oleksandrp1/SeleniumTasks | SeleniumTasksProject1.1/SeleniumTasksProject1.1/Pages/AdminCreateNewUserPage.cs | https://github.com/oleksandrp1/SeleniumTasks/blob/HEAD/SeleniumTasksProject1.1/SeleniumTasksProject1.1/Pages/AdminCreateNewUserPage.cs | ghcode:00172:a7b735aa2880 | apache-2.0 | codeparrot/github-code | a7b735aa288026fa992ce5508ba8f45ff02396a4a932fb08bdc37bdb76ec8798 | 0.75 | testing_debugging_repair_refactoring | 274 | false | 2026-07-17 |
using Console2.G_Code;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
namespace CareerCupTest
{
/// <summary>
///This is a test class for G_018_MixStringsTest and is intended
///to contain all G_018_MixStringsTest Unit Tests
///</summary>
... | zduan001/BusAroundMe | Console/CareerCupTest/G_018_MixStringsTest.cs | https://github.com/zduan001/BusAroundMe/blob/HEAD/Console/CareerCupTest/G_018_MixStringsTest.cs | ghcode:00172:2db1667a2aa5 | apache-2.0 | codeparrot/github-code | 2db1667a2aa571b35bb576db7f2c618db4ccd1e7b303f28b63bacb0bad4826cd | 0.85 | testing_debugging_repair_refactoring | 516 | false | 2026-07-17 |
using System;
using DynamicCodeGeneration.Proxy;
using NUnit.Framework;
namespace DynamicCodeGeneration.Tests.Proxy
{
[TestFixture]
public class ProxyTests
{
[Test]
public void SimpleProxy()
{
ITest test = new Test();
Console.WriteLine("== {0} =... | weeniearms/dynamiccodegeneration | src/DynamicCodeGeneration.Tests/Proxy/ProxyTests.cs | https://github.com/weeniearms/dynamiccodegeneration/blob/HEAD/src/DynamicCodeGeneration.Tests/Proxy/ProxyTests.cs | ghcode:00172:f9a865193242 | apache-2.0 | codeparrot/github-code | f9a865193242e75908661e336d2192c139832ae9c273026f2b7181ed096e402e | 0.75 | testing_debugging_repair_refactoring | 570 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using Lucene.Net.Randomized.Generators;
using NUnit.Framework;
namespace Lucene.Net.Facet
{
using Document = Lucene.Net.Documents.Document;
using Store = Lucene.Net.Documents.Field.Store;
using StringField = Lucene.Net.Documents.StringField;
using MatchingDocs ... | laimis/lucenenet | src/Lucene.Net.Tests.Facet/TestRandomSamplingFacetsCollector.cs | https://github.com/laimis/lucenenet/blob/HEAD/src/Lucene.Net.Tests.Facet/TestRandomSamplingFacetsCollector.cs | ghcode:00172:0a6201c2e674 | apache-2.0 | codeparrot/github-code | 0a6201c2e674d620fa6cdd853057146359a2c6c769d3b44ee90673a67fef816b | 0.85 | testing_debugging_repair_refactoring | 1,633 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Wa1gon.RigClientLib;
using Wa1gon.Models.Common;
using System.Collections.Generic;
using Wa1gon.Models;
namespace IntergrationTest.FlexTest
{
[TestClass]
public class FlexAudioTest
{
static private Connection server;
[... | wa1gon/RigGate | RigClients/IntergrationTest/FlexTest/FlexAudioTest.cs | https://github.com/wa1gon/RigGate/blob/HEAD/RigClients/IntergrationTest/FlexTest/FlexAudioTest.cs | ghcode:00172:4300d852d402 | apache-2.0 | codeparrot/github-code | 4300d852d4026685a45dd83661f38bb1add302b74fbd199f82166f5a4740fc45 | 0.6 | testing_debugging_repair_refactoring | 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 MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeSt... | physhi/roslyn | src/EditorFeatures/CSharpTest/ConvertTupleToStruct/ConvertTupleToStructTests.cs | https://github.com/physhi/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/ConvertTupleToStruct/ConvertTupleToStructTests.cs | ghcode:00172:fa3a3f3f0839 | apache-2.0 | codeparrot/github-code | fa3a3f3f083977ed2d28b192fbe4ac417416900b4bcd1bc2f1c2ad225dad55cc | 0.72 | testing_debugging_repair_refactoring | 23,918 | false | 2026-07-17 |
/*******************************************************************************
* Copyright (c) 2014 Expedia 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.a... | ExpediaDotCom/tesla | csharp/Test/BinaryWriterTest.cs | https://github.com/ExpediaDotCom/tesla/blob/HEAD/csharp/Test/BinaryWriterTest.cs | ghcode:00172:93b1b6328f96 | apache-2.0 | codeparrot/github-code | 93b1b6328f965199e239104d5ca682f4404e6e64320c6cfc962a3e97a2fbf6e9 | 0.95 | testing_debugging_repair_refactoring | 10,635 | false | 2026-07-17 |
/*******************************************************************************
* Copyright (c) 2013, Daniel Murphy
* 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 ... | gordonmcshane/sharpbox2d | SharpBox2D/Pooling/Normal/CircleStack.cs | https://github.com/gordonmcshane/sharpbox2d/blob/HEAD/SharpBox2D/Pooling/Normal/CircleStack.cs | ghcode:00172:cccdde9414f9 | bsd-2-clause | codeparrot/github-code | cccdde9414f91877b208776a6cad168392969bbdecb20c37d7e97561dac07880 | 0.68 | testing_debugging_repair_refactoring | 600 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Data;
using NUnit.Framework;
using NServiceKit.Common.Utils;
using NServiceKit.OrmLite.Firebird;
using NServiceKit.DataAnnotations;
namespace NServiceKit.OrmLite.FirebirdTests
{
/// <summary>Values that represent PhoneType.</summary>... | NServiceKit/NServiceKit.OrmLite | tests/NServiceKit.OrmLite.FirebirdTests/UseCase/CustomerOrdersUseCase.cs | https://github.com/NServiceKit/NServiceKit.OrmLite/blob/HEAD/tests/NServiceKit.OrmLite.FirebirdTests/UseCase/CustomerOrdersUseCase.cs | ghcode:00172:2e135c18ab3c | bsd-3-clause | codeparrot/github-code | 2e135c18ab3c891b3621e42f619aaef0442402845d6e5210b0d04503e5e00c36 | 0.85 | testing_debugging_repair_refactoring | 2,450 | false | 2026-07-17 |
using System.Net;
using System.Threading;
using Kyru.Network;
using Kyru.Network.UdpMessages;
using MbUnit.Framework;
namespace Tests
{
internal sealed class KademliaTest
{
private Kademlia kademlia;
private Node node;
[SetUp]
internal void PrepareKademlia()
{
node = new Node(null)... | zr40/kyru-dotnet | Tests/KademliaTest.cs | https://github.com/zr40/kyru-dotnet/blob/HEAD/Tests/KademliaTest.cs | ghcode:00172:5d448b1a2969 | bsd-3-clause | codeparrot/github-code | 5d448b1a296923e8201a5b8c68d04785f5a225756ef368699aad4fad14271b97 | 0.6 | testing_debugging_repair_refactoring | 435 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using FastMapper.Adapters;
namespace FastMapper.Tests
{
#region TestObject
public class A
{
public decimal X { get; set; }
public decimal Y { get; set; }
public decimal GetTotal()
{
return X + Y... | hallem/FastMapper | FastMapper.Tests/FlatteningTests.cs | https://github.com/hallem/FastMapper/blob/HEAD/FastMapper.Tests/FlatteningTests.cs | ghcode:00172:6eac40488566 | mit | codeparrot/github-code | 6eac40488566a11b76c6c0fc559a2c7545de606d063d9fb47b681927795cc4ea | 0.75 | testing_debugging_repair_refactoring | 275 | false | 2026-07-17 |
using System;
using BigMath;
using NUnit.Framework;
using Raksha.Crypto;
using Raksha.Crypto.Agreement;
using Raksha.Crypto.Digests;
using Raksha.Crypto.Encodings;
using Raksha.Crypto.Engines;
using Raksha.Crypto.Generators;
using Raksha.Crypto.Macs;
using Raksha.Crypto.Modes;
using Raksha.Crypto.Paddings;
using Raksh... | Everbytes/Raksha | src/Raksha.Tests (net45)/Crypto/ECIESTest.cs | https://github.com/Everbytes/Raksha/blob/HEAD/src/Raksha.Tests (net45)/Crypto/ECIESTest.cs | ghcode:00172:d61b9c2dca41 | mit | codeparrot/github-code | d61b9c2dca4141d64f9ed0c57047323cf5345bc5ebc99ee5cf8a3f3f66548875 | 0.85 | testing_debugging_repair_refactoring | 2,675 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using NSubstitute;
using Xunit;
namespace Octokit.Tests.Clients
{
public class MigrationsClientTests
{
public class TheCtor
{
[Fact]
public void EnsuresNonNullArguments()
{
... | octokit/octokit.net | Octokit.Tests/Clients/MigrationsClientTests.cs | https://github.com/octokit/octokit.net/blob/HEAD/Octokit.Tests/Clients/MigrationsClientTests.cs | ghcode:00172:f02988d6be51 | mit | codeparrot/github-code | f02988d6be51406da180ddbb7ebcedc3ff3b25647c987fb380d3c105ed90ae16 | 0.75 | testing_debugging_repair_refactoring | 1,551 | false | 2026-07-17 |
// ****************************************************************
// Copyright 2011, 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 Syst... | continuoustests/AutoTest.Net | lib/NUnit/src/NUnit-2.6.0.12051/src/ProjectEditor/tests/Model/AssemblyListTests.cs | https://github.com/continuoustests/AutoTest.Net/blob/HEAD/lib/NUnit/src/NUnit-2.6.0.12051/src/ProjectEditor/tests/Model/AssemblyListTests.cs | ghcode:00172:55238c81db1e | mit | codeparrot/github-code | 55238c81db1e1d3ef4f6de19b47a0ebdda37ecc0deabcd19714f2d4bcdb594ff | 0.95 | testing_debugging_repair_refactoring | 774 | false | 2026-07-17 |
// ****************************************************************
// Copyright 2007, 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 Syst... | acken/AutoTest.Net | lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitCore/tests/ReflectTests.cs | https://github.com/acken/AutoTest.Net/blob/HEAD/lib/NUnit/src/NUnit-2.6.0.12051/src/NUnitCore/tests/ReflectTests.cs | ghcode:00172:7070705f468b | mit | codeparrot/github-code | 7070705f468b14426b1871ad19f1e945d5ff9c6034d2abb77ffc3964249ff753 | 0.95 | testing_debugging_repair_refactoring | 1,300 | 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.Linq;
using NUnit.Framework;
using osu.Framework.Screens;
using osu.Game.Beatmaps;
using osu.Game.Extensions;
using osu.Game.Rulesets;
using os... | ppy/osu | osu.Game.Tests/Visual/Navigation/TestScenePresentBeatmap.cs | https://github.com/ppy/osu/blob/HEAD/osu.Game.Tests/Visual/Navigation/TestScenePresentBeatmap.cs | ghcode:00172:f73f465a8cbc | mit | codeparrot/github-code | f73f465a8cbc5824dadcde3c4e221a0b82d5f66379981152bc37b451b6ad7329 | 0.85 | testing_debugging_repair_refactoring | 1,178 | false | 2026-07-17 |
using NUnit.Framework;
using Umbraco.Core.Models;
using Umbraco.Tests.TestHelpers;
using Umbraco.Web.Routing;
namespace Umbraco.Tests.Routing
{
[TestFixture]
public class ContentFinderByNiceUrlWithDomainsTests : UrlRoutingTestBase
{
void SetDomains3()
{
SetupDomainServiceMock(new[]
... | timothyleerussell/Umbraco-CMS | src/Umbraco.Tests/Routing/ContentFinderByNiceUrlWithDomainsTests.cs | https://github.com/timothyleerussell/Umbraco-CMS/blob/HEAD/src/Umbraco.Tests/Routing/ContentFinderByNiceUrlWithDomainsTests.cs | ghcode:00172:fd5455bfc96d | mit | codeparrot/github-code | fd5455bfc96d9046c687c1b4f7ea7e993edf6cfe10bfb28c81b228f20e91f6b6 | 0.85 | testing_debugging_repair_refactoring | 5,489 | false | 2026-07-17 |
// PreprocessorTokens.cs
// Script#/Core/Compiler
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Diagnostics;
namespace ScriptSharp.Parser {
internal class PreprocessorToken {
private static readonly string[] strings = new string[... | nikhilk/scriptsharp | src/Core/Compiler/Parser/PreprocessorTokens.cs | https://github.com/nikhilk/scriptsharp/blob/HEAD/src/Core/Compiler/Parser/PreprocessorTokens.cs | ghcode:00172:d2b2898d6f8c | apache-2.0 | codeparrot/github-code | d2b2898d6f8c6b4b6380bcd120092781a534c97030b7c5a2ccc27007cc150715 | 0.7 | testing_debugging_repair_refactoring | 306 | false | 2026-07-17 |
/*
* Copyright 2014 Splunk, 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 or agreed t... | alexeysuvorov/serilog-sinks-splunk | src/Splunk.Client/Splunk/Client/SearchResultStream.cs | https://github.com/alexeysuvorov/serilog-sinks-splunk/blob/HEAD/src/Splunk.Client/Splunk/Client/SearchResultStream.cs | ghcode:00172:e0773872c9a0 | apache-2.0 | codeparrot/github-code | e0773872c9a03c2e7a86c3a468c9f587f8b34edaa14311ad8da00771a8063fed | 0.7 | testing_debugging_repair_refactoring | 2,125 | 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.Editor.Host;
using Microsoft.VisualStudio.LanguageServices.Interactive;
using Microsoft.VisualStudio.Text.Editor;
using System;
... | antonssonj/roslyn | src/VisualStudio/CSharp/Test/Interactive/Commands/TestResetInteractive.cs | https://github.com/antonssonj/roslyn/blob/HEAD/src/VisualStudio/CSharp/Test/Interactive/Commands/TestResetInteractive.cs | ghcode:00172:3a93b4a0a801 | apache-2.0 | codeparrot/github-code | 3a93b4a0a801081b9680e71c91be048b0b27ef3bf1dbd05b857b8a631b0481d3 | 0.85 | testing_debugging_repair_refactoring | 466 | false | 2026-07-17 |
using FluentAssertions;
using Mendham.Testing.AspNetCore.Test.SampleApp;
using Microsoft.Extensions.DependencyInjection;
using System.Threading.Tasks;
using Xunit;
namespace Mendham.Testing.AspNetCore.Test
{
public class BaseServiceProviderFixtureWithStartupTest : Test<ServiceProviderFixture<Startup>>
{
... | Mendham/Mendham | test/Mendham.Testing.AspNetCore.Test/BaseServiceProviderFixtureWithStartupTest.cs | https://github.com/Mendham/Mendham/blob/HEAD/test/Mendham.Testing.AspNetCore.Test/BaseServiceProviderFixtureWithStartupTest.cs | ghcode:00172:2533f6332dcd | apache-2.0 | codeparrot/github-code | 2533f6332dcdc5349a95a4b0e4eec88e7224981e39905afdeabd8c9854bdc873 | 0.75 | testing_debugging_repair_refactoring | 235 | false | 2026-07-17 |
using System;
using System.Reflection;
namespace LightBDD.XUnit2.Implementation.Customization
{
/// <summary>
/// XUnit ExceptionExtensions copy (https://github.com/xunit/xunit/blob/master/src/common/ExceptionExtensions.cs)
/// </summary>
internal static class ExceptionExtensions
{
public s... | Suremaker/LightBDD | src/LightBDD.XUnit2/Implementation/Customization/ExceptionExtensions.cs | https://github.com/Suremaker/LightBDD/blob/HEAD/src/LightBDD.XUnit2/Implementation/Customization/ExceptionExtensions.cs | ghcode:00172:1bb7b16c94f0 | bsd-2-clause | codeparrot/github-code | 1bb7b16c94f04f42944efd9524f44612af7daff95b0bf9aea1b42ebe0c4a87d1 | 0.78 | testing_debugging_repair_refactoring | 120 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using TestableHttpWebResponse.ResponseSettings;
namespace TestableHttpWebResponse
{
public class TestableHttpWebResponse : HttpWeb... | tarwn/BasicAzureStorageSDK | TestableHttpWebResponse/TestableHttpWebResponse.cs | https://github.com/tarwn/BasicAzureStorageSDK/blob/HEAD/TestableHttpWebResponse/TestableHttpWebResponse.cs | ghcode:00172:5877e462136d | bsd-3-clause | codeparrot/github-code | 5877e462136d76241364e2db8d7254b47dde48da937d7386267450f720ed198d | 0.75 | testing_debugging_repair_refactoring | 434 | false | 2026-07-17 |
using Xunit;
using NetCoreCMS.Framework.Utility;
namespace NetCoreCMS.Framework.Test
{
[Trait("NetCoreCMS.Framework", "Utility Test")]
public class ConstantsTest
{
[Fact]
public void Constant_values_are_remain_same()
{
Assert.Equal(Constants.AdminLayoutName, "_AdminLayo... | OnnoRokomSoftware/NetCoreCMS | NetCoreCMS.UnitTests/NetCoreCMS.Framework.Test/Utility/ConstantsTest.cs | https://github.com/OnnoRokomSoftware/NetCoreCMS/blob/HEAD/NetCoreCMS.UnitTests/NetCoreCMS.Framework.Test/Utility/ConstantsTest.cs | ghcode:00172:ad4b2da7867a | bsd-3-clause | codeparrot/github-code | ad4b2da7867ad31bc45e9022958f04dfe4cfee13bd97c9202834d245d6645b9a | 0.6 | testing_debugging_repair_refactoring | 215 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Azure.Management.Resources;
using Microsoft.Azure.Management.Sql;
using Microsoft.Azure.Management.Sql.Models;
using System;
using System.Collect... | olydis/azure-sdk-for-net | src/ResourceManagement/SqlManagement/Sql.Tests/ElasticPoolCrudScenarioTests.cs | https://github.com/olydis/azure-sdk-for-net/blob/HEAD/src/ResourceManagement/SqlManagement/Sql.Tests/ElasticPoolCrudScenarioTests.cs | ghcode:00172:b42d3560a264 | mit | codeparrot/github-code | b42d3560a26404d51988ebe226b1fd1845200774ebda79c7173922d272b3fbe4 | 0.85 | testing_debugging_repair_refactoring | 1,622 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
[TestFixture]
public class Test03
{
[TestCase]
public void Add_MultipleElements_CB_ShouldContainThem()
{
//Arrange
IChainblock cb = new Chainblock();
Transaction tx1 = new Transaction(5, Trans... | NikiStanchev/SoftUni | DataStructures/Exam_11.03.2018/Chainblock - Skeleton C#/Chainblock.Tests/Correctness/Test03.cs | https://github.com/NikiStanchev/SoftUni/blob/HEAD/DataStructures/Exam_11.03.2018/Chainblock - Skeleton C#/Chainblock.Tests/Correctness/Test03.cs | ghcode:00172:5c356debc8b8 | mit | codeparrot/github-code | 5c356debc8b8e80fd1f97d4ccc3fb6b7c39e950e8f9784fd10a3699b8bf033d1 | 0.85 | testing_debugging_repair_refactoring | 193 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Marten.Events;
using Marten.Internal;
using Marten.Storage;
using Marten.Testing.Events.Aggregation;
using NSubstitute;
using Shouldly;
using Xunit;
namespace Marten.Testing.Events
{
public class StreamActionTester
{
private IMart... | ericgreenmix/marten | src/Marten.Testing/Events/StreamActionTester.cs | https://github.com/ericgreenmix/marten/blob/HEAD/src/Marten.Testing/Events/StreamActionTester.cs | ghcode:00172:1950d0ef236b | mit | codeparrot/github-code | 1950d0ef236b39dce79524383eedd66c9d2ff313e4abd1117b85ecda0ca65d9f | 0.75 | testing_debugging_repair_refactoring | 781 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Magento.RestApi.Models;
using Xunit;
namespace Magento.RestApi.IntegrationTests
{
public class ProductImageTests : IClassFixture<ProductImageFixture>
{
private readonly ProductImageFixture _productImageFixture;
... | gajvries/Magento-RestApi | Magento.RestApi.IntegrationTests/ProductImageTests.cs | https://github.com/gajvries/Magento-RestApi/blob/HEAD/Magento.RestApi.IntegrationTests/ProductImageTests.cs | ghcode:00172:5e0c7b131a24 | mit | codeparrot/github-code | 5e0c7b131a2468536a2311e1e4ba73fe3cf9f896bf0bf198bf3cf6bf84a187d5 | 0.85 | testing_debugging_repair_refactoring | 2,602 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.VisualStudi... | jbhensley/roslyn | src/VisualStudio/Core/Def/Implementation/Library/ObjectBrowser/ObjectList.cs | https://github.com/jbhensley/roslyn/blob/HEAD/src/VisualStudio/Core/Def/Implementation/Library/ObjectBrowser/ObjectList.cs | ghcode:00172:d64d312ab6c0 | apache-2.0 | codeparrot/github-code | d64d312ab6c027262b81e81814d4fa6b1fd43928025bd8d1b455cfc36032e14d | 0.85 | testing_debugging_repair_refactoring | 6,307 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using NSubstitute;
using Octokit.Internal;
using Xunit;
namespace Octokit.Tests.Models
{
public class ReadOnlyPagedCollectionTests
{
public class TheGetNextPageMethod
{
[Fact]
public async Tas... | chunkychode/octokit.net | Octokit.Tests/Models/ReadOnlyPagedCollectionTests.cs | https://github.com/chunkychode/octokit.net/blob/HEAD/Octokit.Tests/Models/ReadOnlyPagedCollectionTests.cs | ghcode:00172:b2ed55b9d235 | mit | codeparrot/github-code | b2ed55b9d235fe0d758f2b84abd5a756176395446792e10e1b1ce76a2ee61e83 | 0.75 | testing_debugging_repair_refactoring | 300 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Zyan.InterLinq;
namespace InterLinq.UnitTests.Artefacts.Objects
{
/// <summary>
/// Linq to objects data source.
/// </summary>
public class ObjectSource : IObjectSource, IQueryHandler
{
private readonly Li... | yallie/Zyan | source/Zyan.Tests.InterLinq/Artefacts/Objects/ObjectSource.cs | https://github.com/yallie/Zyan/blob/HEAD/source/Zyan.Tests.InterLinq/Artefacts/Objects/ObjectSource.cs | ghcode:00172:c29ed3060de7 | mit | codeparrot/github-code | c29ed3060de739344381fa05d87fd9bd9d1ff2d9925a7d1caea3a2855deedaf3 | 0.85 | testing_debugging_repair_refactoring | 2,903 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
namespace Microsoft.Management.UI.Internal
{
/// <summary>
/// The FilterRulePanelController is responsible managing the ad... | TravisEz13/PowerShell | src/Microsoft.Management.UI.Internal/ManagementList/FilterProviders/FilterRulePanelController.cs | https://github.com/TravisEz13/PowerShell/blob/HEAD/src/Microsoft.Management.UI.Internal/ManagementList/FilterProviders/FilterRulePanelController.cs | ghcode:00172:08691eb275bc | mit | codeparrot/github-code | 08691eb275bc9ee4e2593f0ee06550b547ba00d0502df7f9c916aa2acd079616 | 0.85 | testing_debugging_repair_refactoring | 1,681 | 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:... | xJom/mbunit-v3 | src/MbUnit/MbUnit.Tests/Framework/BinaryDataAttributeTest.cs | https://github.com/xJom/mbunit-v3/blob/HEAD/src/MbUnit/MbUnit.Tests/Framework/BinaryDataAttributeTest.cs | ghcode:00172:c932df39a24f | apache-2.0 | codeparrot/github-code | c932df39a24feaf21b83eb1caf0305e86b6a16fda608ab21aa0536fa1fc6177e | 0.85 | testing_debugging_repair_refactoring | 580 | 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... | AzureAutomationTeam/azure-powershell | src/ServiceManagement/Services/Commands.Test/Websites/ShowAzurePortalTests.cs | https://github.com/AzureAutomationTeam/azure-powershell/blob/HEAD/src/ServiceManagement/Services/Commands.Test/Websites/ShowAzurePortalTests.cs | ghcode:00172:767636eb2a76 | apache-2.0 | codeparrot/github-code | 767636eb2a76baf2f9ad9341259f897b5b64d56b544a3b351ddd7766d0335248 | 0.85 | testing_debugging_repair_refactoring | 307 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics.Tracing;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using BotService.Tests.Helpers;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using ResourceGroups.Tests;
using Xunit;
using Microsoft.Azure.... | ayeletshpigelman/azure-sdk-for-net | sdk/botservice/Microsoft.Azure.Management.BotService/tests/Tests/BotServiceTests.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/botservice/Microsoft.Azure.Management.BotService/tests/Tests/BotServiceTests.cs | ghcode:00172:5da8ebbfb147 | mit | codeparrot/github-code | 5da8ebbfb1475389990e9bb3c0bfaa33e7dc0e55ab17845d2d315b30b7cda9d3 | 0.95 | testing_debugging_repair_refactoring | 1,954 | 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;
using System;
using System.Xml;
namespace XmlDocumentTests.XmlDocumentTests
{
public class NodeChangedTests
{
[Fact]
public static... | andyhebear/corefx | src/System.Xml.XmlDocument/tests/XmlDocumentTests/NodeChangedTests.cs | https://github.com/andyhebear/corefx/blob/HEAD/src/System.Xml.XmlDocument/tests/XmlDocumentTests/NodeChangedTests.cs | ghcode:00172:0edaacc96b55 | mit | codeparrot/github-code | 0edaacc96b55c77a7e315d7e00a00ece666787cde3e5b4354099470a6bb79a13 | 0.85 | testing_debugging_repair_refactoring | 299 | 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 ModuleCore;
using System;
using System.IO;
namespace XsltCompilerTests
{
internal class Program
{
... | shmao/corefx | src/System.Private.Xml/tests/Xslt/XsltCompiler/Program.cs | https://github.com/shmao/corefx/blob/HEAD/src/System.Private.Xml/tests/Xslt/XsltCompiler/Program.cs | ghcode:00172:f9daa35cd618 | mit | codeparrot/github-code | f9daa35cd618b17141187ff308e11ee84003fd41ea6ffb4cf0f70bb253f2c56d | 0.95 | testing_debugging_repair_refactoring | 182 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.SharePoint.Client;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OfficeDevPnP.Core.Framework.ObjectHandlers;
using OfficeDevPnP.Core.Framework.Provisioning.Model;
using Office... | baldswede/PnP | OfficeDevPnP.Core/OfficeDevPnP.Core.Tests/Framework/ObjectHandlers/ObjectListInstanceTests.cs | https://github.com/baldswede/PnP/blob/HEAD/OfficeDevPnP.Core/OfficeDevPnP.Core.Tests/Framework/ObjectHandlers/ObjectListInstanceTests.cs | ghcode:00172:6e6a5ea8ff66 | apache-2.0 | codeparrot/github-code | 6e6a5ea8ff66288c6c1baa1c48f196b87a3333d5f4154158ea23a5c67a06a348 | 0.85 | testing_debugging_repair_refactoring | 635 | false | 2026-07-17 |
using System;
using System.IO;
using WebStack.QA.Common.FileSystem;
namespace WebStack.QA.Common.WebHost
{
/// <summary>
/// Deploy the IDirectory source to local disk directory.
/// </summary>
public class LocalDeploymentOptions : DeploymentOptions
{
public LocalDeploymentOptions(Director... | yonglehou/WebApi | OData/test/E2ETestV3/Common/WebHost/LocalDeploymentOptions.cs | https://github.com/yonglehou/WebApi/blob/HEAD/OData/test/E2ETestV3/Common/WebHost/LocalDeploymentOptions.cs | ghcode:00172:b861f4832843 | mit | codeparrot/github-code | b861f48328433d6edaa076c165a23f538d276f617377f05231731794a2f9c4d6 | 0.95 | testing_debugging_repair_refactoring | 191 | 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.Diagnostics;
using System.Threading;
using Cci = Microsoft.Cci;
namespace Microsoft.CodeAnalysis.Emit.NoPia
{... | balazssimon/meta-cs | src/Main/MetaDslx.CodeAnalysis.Common/Emit/NoPia/CommonEmbeddedEvent.cs | https://github.com/balazssimon/meta-cs/blob/HEAD/src/Main/MetaDslx.CodeAnalysis.Common/Emit/NoPia/CommonEmbeddedEvent.cs | ghcode:00172:f1ba67b73d26 | apache-2.0 | codeparrot/github-code | f1ba67b73d260471c232eb11a84e9769554582016f9599a33c588c7fa4da3aa3 | 0.75 | testing_debugging_repair_refactoring | 1,115 | 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... | psadusumilli/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/Examples/ProjectFilesTest.cs | https://github.com/psadusumilli/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Examples/ProjectFilesTest.cs | ghcode:00172:1679835b2f39 | apache-2.0 | codeparrot/github-code | 1679835b2f3901db2d793a6f02854cd9ddbc7f763022b911587a89689a3e6e88 | 0.85 | testing_debugging_repair_refactoring | 378 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using AzureFromTheTrenches.Commanding.AspNetCore.Tests.Acceptance.Infrastructure;
using AzureFromTheTrenches.Commanding.AspNetCore.Tests.Acceptance.Web;
using AzureFromTheTrenches.Commanding.AspNetCore.Tests.Acceptance.Web.Commands.Responses;
usi... | JamesRandall/AccidentalFish.Commanding | Tests/AzureFromTheTrenches.Commanding.AspNetCore.Tests.Acceptance/Controllers/ProfileControllerTests.cs | https://github.com/JamesRandall/AccidentalFish.Commanding/blob/HEAD/Tests/AzureFromTheTrenches.Commanding.AspNetCore.Tests.Acceptance/Controllers/ProfileControllerTests.cs | ghcode:00172:df414cc98aaa | mit | codeparrot/github-code | df414cc98aaa99c3c35b765a65a643212a0c0e9469840c74b9fe75585d34b3dd | 0.75 | testing_debugging_repair_refactoring | 344 | false | 2026-07-17 |
using System.Linq;
using System.Xml;
using FluentAssertions;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using Score.ContentSearch.Algolia.Tests.Fakes;
using Sitecore.ContentSearch;
using Sitecore.ContentSearch.ComputedFields;
using Sitecore.ContentSearch.Maintenance;
using Sitecore.ContentSearch.Maintenance.St... | dharnitski/Sitecore.Algolia | Score.ContentSearch.Algolia.Tests/Configuration/AlgoliaSearchIndexTests.cs | https://github.com/dharnitski/Sitecore.Algolia/blob/HEAD/Score.ContentSearch.Algolia.Tests/Configuration/AlgoliaSearchIndexTests.cs | ghcode:00172:113ee6dd25a6 | mit | codeparrot/github-code | 113ee6dd25a6fc031ee46576d11f19bd7aba772ce121ab88a4857160812f8e26 | 0.85 | testing_debugging_repair_refactoring | 1,328 | false | 2026-07-17 |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#nullable disable
namespace StyleCop.Analyzers.Test.CSharp8.ReadabilityRules
{
using System.Threading;
using System.Threading.Tasks;
using Mic... | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1122CSharp8UnitTests.cs | https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/HEAD/StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/ReadabilityRules/SA1122CSharp8UnitTests.cs | ghcode:00172:37b009c9a368 | mit | codeparrot/github-code | 37b009c9a368ddb87adde0b7e534fa8e5f7cd0937efe9a93ed4af4a4b5be6e50 | 0.85 | testing_debugging_repair_refactoring | 679 | false | 2026-07-17 |
namespace NServiceBus.AcceptanceTests.Tx
{
using System;
using System.Transactions;
using NServiceBus.AcceptanceTesting;
using NServiceBus.AcceptanceTests.EndpointTemplates;
using NServiceBus.AcceptanceTests.ScenarioDescriptors;
using NUnit.Framework;
public class When_receiving_w... | s4lvo/NServiceBus.MongoDB | src/NServiceBus.MongoDB.Acceptance.Tests/App_Packages/NSB.AcceptanceTests.5.2.5/Tx/When_receiving_with_dtc_disabled.cs | https://github.com/s4lvo/NServiceBus.MongoDB/blob/HEAD/src/NServiceBus.MongoDB.Acceptance.Tests/App_Packages/NSB.AcceptanceTests.5.2.5/Tx/When_receiving_with_dtc_disabled.cs | ghcode:00172:ebbd9c46f1ce | mit | codeparrot/github-code | ebbd9c46f1cef5ba38b9920aaf5339a383402c01e79733a5f3b222ba7e03c9f1 | 0.75 | testing_debugging_repair_refactoring | 466 | false | 2026-07-17 |
using NQuery.Authoring.Outlining;
using NQuery.Authoring.Outlining.Outliners;
namespace NQuery.Authoring.Tests.Outlining.Outliners
{
public class SingleLineCommentOutlinerTests : OutlinerTests
{
protected override IOutliner CreateOutliner()
{
return new SingleLineCommentOutliner();
... | terrajobst/nquery-vnext | src/NQuery.Authoring.Tests/Outlining/Outliners/SingleLineCommentOutlinerTests.cs | https://github.com/terrajobst/nquery-vnext/blob/HEAD/src/NQuery.Authoring.Tests/Outlining/Outliners/SingleLineCommentOutlinerTests.cs | ghcode:00172:21024a783ac6 | mit | codeparrot/github-code | 21024a783ac631b8af128bc21129e770e0bdb1f5ddfd5e76d9efa03c21900899 | 0.85 | testing_debugging_repair_refactoring | 485 | false | 2026-07-17 |
using NUnit.Framework;
using Raven.Client;
using Sriracha.Deploy.Data.Repository;
using Sriracha.Deploy.Data.Tests.Repository.Deploy;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Sriracha.Deploy.RavenDB.Tests.Deploy
{
public class RavenDeployStateRepos... | mmooney/Sriracha.Deploy | Repository/RavenDB/Sriracha.Deploy.RavenDB.Tests/Deploy/RavenDeployStateRepositoryTests.cs | https://github.com/mmooney/Sriracha.Deploy/blob/HEAD/Repository/RavenDB/Sriracha.Deploy.RavenDB.Tests/Deploy/RavenDeployStateRepositoryTests.cs | ghcode:00172:1c348cd2fd2a | mit | codeparrot/github-code | 1c348cd2fd2acef46d65b3c7434cefc67308528ff18d4e6e917927e2e5e1f244 | 0.75 | testing_debugging_repair_refactoring | 185 | false | 2026-07-17 |
namespace SharpMigrations.Tests.ReversibleMigrations.Migrations {
public class _009_Add_uniquekey_to_table_revfoo : ReversibleSchemaMigration {
public override void Up() {
Add.UniqueKey("un_revfoo").OnColumns("name").OfTable("revfoo");
}
}
} | sharpmigrations/sharpmigrations | SharpMigrations.Tests.ReversibleMigrations/Migrations/009_Add_uniquekey_to_table_revfoo.cs | https://github.com/sharpmigrations/sharpmigrations/blob/HEAD/SharpMigrations.Tests.ReversibleMigrations/Migrations/009_Add_uniquekey_to_table_revfoo.cs | ghcode:00172:733eef54a38a | mit | codeparrot/github-code | 733eef54a38ac17823267db8c8290430140967b3d8cc25325dd166a092d4401d | 0.75 | testing_debugging_repair_refactoring | 63 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Reflection;
using NUnit.Framework;
using NUnit.Framework.Constraints;
namespace DotJEM.NUnit.Json.Constraints
{
public class ObjectPropertiesNotEqualsConstraint<T> : ObjectPropertiesEqualsConstraint<T>
{
private bool strict;
#region Ctor
... | dotJEM/json-nunit | DotJEM.NUnit.Json/Constraints/ObjectPropertiesNotEqualsConstraint.cs | https://github.com/dotJEM/json-nunit/blob/HEAD/DotJEM.NUnit.Json/Constraints/ObjectPropertiesNotEqualsConstraint.cs | ghcode:00172:7ac48b7b9145 | mit | codeparrot/github-code | 7ac48b7b9145741aa1975cf49d09f5fcac5fc723c441b95eb3d83f73e89eb250 | 0.7 | testing_debugging_repair_refactoring | 305 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TransmissionRemote.RPC;
using System.Diagnostics;
using System.Linq;
using BencodeNET;
using BencodeNET.Objects;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TransmissionRemote.RPC.Tests
{
[TestClass]
... | blckshdw/TransmissionFluid | TransmissionFluid/TransmissionRemote.RPC.Tests/UnitTest1.cs | https://github.com/blckshdw/TransmissionFluid/blob/HEAD/TransmissionFluid/TransmissionRemote.RPC.Tests/UnitTest1.cs | ghcode:00172:53cae5128c23 | mit | codeparrot/github-code | 53cae5128c23b128b727816aaa0f83885462d70df343a997d200079fd5d9141c | 0.7 | testing_debugging_repair_refactoring | 1,046 | false | 2026-07-17 |
/**********************************************************************
*
* Update Controls .NET
* Copyright 2010 Michael L Perry
* MIT License
*
* http://updatecontrols.net
* http://www.codeplex.com/updatecontrols/
*
**********************************************************************/
using System;
usi... | michaellperry/Assisticant | Assisticant/Computed.cs | https://github.com/michaellperry/Assisticant/blob/HEAD/Assisticant/Computed.cs | ghcode:00172:89a7679a9fee | mit | codeparrot/github-code | 89a7679a9feec1754f01b47ffe79c4d7f5e927d84201cac4578c28506f797f5e | 0.7 | testing_debugging_repair_refactoring | 3,942 | false | 2026-07-17 |
using FluentAssertions;
using emd.cs.Nodes;
using pegleg.cs.Parsing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace emd.cs.Grammar {
public class SpaceTests : GrammarTestFixture {
[Fact] public void Space_should_match_space() {
var ... | jcracknell/emd | cs/src/emd.cs.Tests/Grammar/SpaceTests.cs | https://github.com/jcracknell/emd/blob/HEAD/cs/src/emd.cs.Tests/Grammar/SpaceTests.cs | ghcode:00172:63052871ec37 | mit | codeparrot/github-code | 63052871ec37467e9e7b8a042ac2f3eccf5161bf407e10f7dadae13021b5302c | 0.95 | testing_debugging_repair_refactoring | 679 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
#if NETFX_CORE
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using SetUp = Microsoft.VisualStudio.TestPlatform.UnitTestFramework.TestInitializeAttribute;
using TestFixture = Microsoft.VisualStudio.Tes... | arlm/sqlite-net | tests/EnumCacheTest.cs | https://github.com/arlm/sqlite-net/blob/HEAD/tests/EnumCacheTest.cs | ghcode:00172:e5a9385d6f20 | mit | codeparrot/github-code | e5a9385d6f20808b367f4d51d573f5b588f70b9461bc3ef780475b5af6564de7 | 0.6 | testing_debugging_repair_refactoring | 595 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Galapagos.Chromosomes;
using Galapagos.API;
using Galapagos.API.Factory;
using Galapagos.UnitTests.Fakes;
namespace Galapagos.UnitTests.ChromosomeTests
{
[TestClass]
public class NeuralChromosomeUnitTests... | kosieram21/Galapagos | Galapagos.UnitTests/ChromosomeTests/NeuralChromosomeUnitTests.cs | https://github.com/kosieram21/Galapagos/blob/HEAD/Galapagos.UnitTests/ChromosomeTests/NeuralChromosomeUnitTests.cs | ghcode:00172:50958b4ea779 | mit | codeparrot/github-code | 50958b4ea779326991a4ae338f91c1e2eeb91a58af5fe9af008bd076f05a4ed3 | 0.75 | testing_debugging_repair_refactoring | 1,006 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using FluentAssertions;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
using static Pocket.LogEvents;
using static Pocket.Logger;
namespace Pocket.Tests
{
public class OperationLoggerTests : IDisposable
{
private ... | jonsequitur/PocketLogger | Pocket.Logger/Tests/OperationLoggerTests.cs | https://github.com/jonsequitur/PocketLogger/blob/HEAD/Pocket.Logger/Tests/OperationLoggerTests.cs | ghcode:00172:4457b0d80133 | mit | codeparrot/github-code | 4457b0d80133b61cefc8f4b464b7986c58bd863714bb9502a5a7ef21d5e3677f | 0.85 | testing_debugging_repair_refactoring | 2,223 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace ZTn.BNet.BattleNet
{
[TestFixture]
public class BattleTagUnitTest
{
[Test]
public void ConstructorSuccess()
{
var tag = new BattleTag("tok#2360");
Assert.AreEqual("tok", tag.Name);
Assert.AreEqual("... | nzhul/d3bgladders | D3-API-by-ZTn/BNet API by ZTn Unit Tests/BattleTagUnitTest.cs | https://github.com/nzhul/d3bgladders/blob/HEAD/D3-API-by-ZTn/BNet API by ZTn Unit Tests/BattleTagUnitTest.cs | ghcode:00172:e02dfcb03c19 | mit | codeparrot/github-code | e02dfcb03c19dc0618d9c3faed09a320e991dead617c7096688eed00532da935 | 0.6 | testing_debugging_repair_refactoring | 183 | false | 2026-07-17 |
using UnityEngine;
using NUnit.Framework;
using System.Collections.Generic;
using CoreEngine.Math.Extensions;
namespace CoreEngine.Math.Test
{
[TestFixture]
public class TestIntVector2
{
[Test]
public void Add()
{
var a = new IntVector2( 1, 1 );
var b = new IntVector2( 2, 2 );
var c = a + b;
As... | jrobichaud/unity-haven | Assets/Core/Tests/Editor/TestIntVector2.cs | https://github.com/jrobichaud/unity-haven/blob/HEAD/Assets/Core/Tests/Editor/TestIntVector2.cs | ghcode:00172:668d861a721f | mit | codeparrot/github-code | 668d861a721fc732047b2c526a96744340db8c876098cac8391799a76ce53290 | 0.85 | testing_debugging_repair_refactoring | 927 | false | 2026-07-17 |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
using System;
using System.Collections;
using System.Collections.Generic;
namespace NUnit.Framework.Constraints
{
/// <summary>
/// RangeConstraint tests whether two values are within a
/// specified range.
///... | nunit/nunit | src/NUnitFramework/framework/Constraints/RangeConstraint.cs | https://github.com/nunit/nunit/blob/HEAD/src/NUnitFramework/framework/Constraints/RangeConstraint.cs | ghcode:00172:8a9dbe7039cb | mit | codeparrot/github-code | 8a9dbe7039cb4bda0f5bcf2e4012eb3e0bb2254acf70a28cc4cfbbca903328f1 | 0.85 | testing_debugging_repair_refactoring | 622 | false | 2026-07-17 |
using System;
using System.Diagnostics;
namespace CocosSharp
{
public class CCTiledGrid3DAction : CCGridAction
{
#region Constructors
public CCTiledGrid3DAction (float duration) : base (duration)
{
}
public CCTiledGrid3DAction (float duration, CCGridSize gridSize) : th... | mono/CocosSharp | src/Actions/Grid/CCTiledGrid3DAction.cs | https://github.com/mono/CocosSharp/blob/HEAD/src/Actions/Grid/CCTiledGrid3DAction.cs | ghcode:00172:a17384cb1d8b | mit | codeparrot/github-code | a17384cb1d8b174db6b8d97114e5efac65d073467796d608681bcfdf9fb542d8 | 0.85 | testing_debugging_repair_refactoring | 710 | false | 2026-07-17 |
#region License
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="EnumUtilityTests.cs" company="MorseCode Software">
// Copyright (c) 2015 MorseCode Software
// </copyright>
// <summary>
// The MIT License (MIT)
//
// Copyright... | jam40jeff/FrameworkExtensions | Source/MorseCode.FrameworkExtensions/Tests/EnumUtilityTests.cs | https://github.com/jam40jeff/FrameworkExtensions/blob/HEAD/Source/MorseCode.FrameworkExtensions/Tests/EnumUtilityTests.cs | ghcode:00172:fe31031722ba | mit | codeparrot/github-code | fe31031722ba50fd8155b00930be6e1fa61ecd2af88413a744ffb075177975b1 | 0.95 | testing_debugging_repair_refactoring | 966 | false | 2026-07-17 |
namespace OmniXaml.Tests.Parsers.Integration
{
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;
using Common.DotNetFx;
using Xunit;
using OmniXaml.Parsers.Parser;
using OmniXaml.Parsers.ProtoParser;
using Resources;
using Xaml.Tests.Resourc... | jrodrigv/OmniXAML | Tests/OmniXaml.Tests/Parsers/Integration/FromXamlToInstructions.cs | https://github.com/jrodrigv/OmniXAML/blob/HEAD/Tests/OmniXaml.Tests/Parsers/Integration/FromXamlToInstructions.cs | ghcode:00172:a8376c1910ef | mit | codeparrot/github-code | a8376c1910ef1c0795995c67b823ee3f19b6b0d289a086f4fe62ab4a5742dc40 | 0.75 | testing_debugging_repair_refactoring | 1,116 | false | 2026-07-17 |
namespace ExcelHelper.ExamplesAndTests
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using ClosedXML.Excel;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Tynamix.ObjectFiller;
[TestClass]
public class Examples
{
[TestM... | TheDev6/ListToExcel | src/ExcelHelper.ExamplesAndTests/Examples.cs | https://github.com/TheDev6/ListToExcel/blob/HEAD/src/ExcelHelper.ExamplesAndTests/Examples.cs | ghcode:00172:77f1c6ddff7c | mit | codeparrot/github-code | 77f1c6ddff7c92ee422dcb255029891c4ec518411af38bbd3d68862d1bc605e8 | 0.7 | testing_debugging_repair_refactoring | 868 | false | 2026-07-17 |
using ChatterBox.Core.Tests.Specifications;
using ChatterBox.Domain.Aggregates.UserAggregate;
using Ploeh.AutoFixture;
using Shouldly;
namespace ChatterBox.Domain.Tests.Aggregates.UserAggregate
{
public class WhenUpdatingUserEmailAddress : AutoSpecificationFor<User>
{
public string NewEmailAddress { ge... | gertjvr/ChatterBox | src/Tests/ChatterBox.Domain.Tests/Aggregates/UserAggregate/WhenUpdatingUserEmailAddress.cs | https://github.com/gertjvr/ChatterBox/blob/HEAD/src/Tests/ChatterBox.Domain.Tests/Aggregates/UserAggregate/WhenUpdatingUserEmailAddress.cs | ghcode:00172:ba82cd46dc27 | mit | codeparrot/github-code | ba82cd46dc27043fd5791ca133d2432e3ace952c4062c6bc3920e5ab50c78531 | 0.85 | testing_debugging_repair_refactoring | 140 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TennisBall.Logic;
namespace TennisBall.Tests
{
[TestFixture]
public class BasicPointsTests
{
string name1;
string name2;
PlayerNumber ser... | bradlak/TennisBall | TennisBall.Tests/BasicPointsTests.cs | https://github.com/bradlak/TennisBall/blob/HEAD/TennisBall.Tests/BasicPointsTests.cs | ghcode:00172:cb9e359a73e7 | mit | codeparrot/github-code | cb9e359a73e740aade87717002afebe3e48ef82b8ed210f30bb147bb0274ead2 | 0.75 | testing_debugging_repair_refactoring | 661 | false | 2026-07-17 |
using System;
using SourceCode.Clay;
using Xunit;
using crypt = System.Security.Cryptography;
namespace SourceCode.Chasm.Tests
{
public static class TreeNodeTests
{
private static readonly crypt.SHA1 s_hasher = crypt.SHA1.Create();
[Trait("Type", "Unit")]
[Fact]
public static v... | k2workflow/Chasm | tests/SourceCode.Chasm.Tests/TreeNodeTests.cs | https://github.com/k2workflow/Chasm/blob/HEAD/tests/SourceCode.Chasm.Tests/TreeNodeTests.cs | ghcode:00172:c50d0fa3a8ff | mit | codeparrot/github-code | c50d0fa3a8ffaec97b6258b6596e9bb04d5c07661566a1499c51822f7ea06422 | 0.85 | testing_debugging_repair_refactoring | 1,443 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using System.Concurrency;
using System.Reactive.Testing;
using System.Reactive.Testing.Mocks;
namespace RxAs.Rx4.ProofTests.Operators
{
[TestFixture]
public class ExpandFixture
{
[Test]
... | richardszalay/raix | prooftests/source/RxAs.Rx4.ProofTests/Operators/ExpandFixture.cs | https://github.com/richardszalay/raix/blob/HEAD/prooftests/source/RxAs.Rx4.ProofTests/Operators/ExpandFixture.cs | ghcode:00172:a08d5a42ebd3 | mit | codeparrot/github-code | a08d5a42ebd3eeb749f5eaeef7cec88a51b8e05e0f2e3e57997dc4eb91304803 | 0.6 | testing_debugging_repair_refactoring | 647 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using NUnit.Framework;
using Seges.IdentityModel.WebApi;
using Serilog;
namespace Seges.IdentityModel.Tests
{
[TestFixture]
public class WebApiClientTests
{
public WebApiClientTests()
{
S... | SEGES-IT/Dlbr.CommonLogin.IdentityModel | src/Seges.IdentityModel.Tests/WebApiClientTests.cs | https://github.com/SEGES-IT/Dlbr.CommonLogin.IdentityModel/blob/HEAD/src/Seges.IdentityModel.Tests/WebApiClientTests.cs | ghcode:00172:109f39f04762 | mit | codeparrot/github-code | 109f39f0476299997d0ee4237a7017529134f5d7fe8172796cce05670ae7aaad | 0.75 | testing_debugging_repair_refactoring | 711 | false | 2026-07-17 |
namespace ArgentPonyWarcraftClient.Integration.Tests.GameDataApi;
public class ConnectedRealmApiTests
{
[ResilientFact]
public async Task GetPlayableRacesIndexAsync_Gets_PlayableRacesIndex()
{
IConnectedRealmApi warcraftClient = ClientFactory.BuildClient();
RequestResult<ConnectedRealmsIn... | danjagnow/ArgentPonyWarcraftClient | tests/ArgentPonyWarcraftClient.Integration.Tests/GameDataApi/ConnectedRealmApiTests.cs | https://github.com/danjagnow/ArgentPonyWarcraftClient/blob/HEAD/tests/ArgentPonyWarcraftClient.Integration.Tests/GameDataApi/ConnectedRealmApiTests.cs | ghcode:00172:b02b67fa3896 | mit | codeparrot/github-code | b02b67fa3896a50e11213f3e8f1aa89d38c5fc9aa832166735fb8cbbbaa89239 | 0.75 | testing_debugging_repair_refactoring | 244 | false | 2026-07-17 |
//
// THIS FILE HAS BEEN GENERATED AUTOMATICALLY
// DO NOT CHANGE IT MANUALLY UNLESS YOU KNOW WHAT YOU'RE DOING
//
// GENERATED USING @colyseus/schema 1.0.23
//
using Colyseus.Schema;
namespace SchemaTest.FilteredTypes {
public partial class State : Schema {
[Type(0, "ref", typeof(Player))]
public Player play... | gamestdio/colyseus-unity3d | Assets/Colyseus/Tests/Editor/ColyseusTests/Schema/FilteredTypes/State.cs | https://github.com/gamestdio/colyseus-unity3d/blob/HEAD/Assets/Colyseus/Tests/Editor/ColyseusTests/Schema/FilteredTypes/State.cs | ghcode:00172:f122e106fb4f | mit | codeparrot/github-code | f122e106fb4fb437198955c01b24192008ad4fd2c4c45d5c3be4eda018165401 | 0.95 | testing_debugging_repair_refactoring | 148 | false | 2026-07-17 |
/* Shellify Copyright (c) 2010-2021 Sebastien Lebreton
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, modify, merge, pu... | sailro/Shellify | Shellify.Tests/LibRoundTripTest.cs | https://github.com/sailro/Shellify/blob/HEAD/Shellify.Tests/LibRoundTripTest.cs | ghcode:00172:049f8db9943d | mit | codeparrot/github-code | 049f8db9943d6d42e1ef4651b7ac28ff605ea190ea37ce08207c3d5d885627d1 | 0.6 | testing_debugging_repair_refactoring | 673 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using OneCache.Regions;
using Ploeh.AutoFixture;
using Rhino.Mocks;
namespace OneCache.UnitTests
{
[TestFixture]
public class CacheProviderTests
{
[Test]
public void AddNullItem_DoesNotThrow()
{
object value;
string key;
ICacheRegion region;
var testContext = ... | mmerayo/OneCache | Code/Product/OneCache.UnitTests/CacheProviderTests.cs | https://github.com/mmerayo/OneCache/blob/HEAD/Code/Product/OneCache.UnitTests/CacheProviderTests.cs | ghcode:00172:e5005a298215 | mit | codeparrot/github-code | e5005a2982153e2ddeb07356f0d633309447db50a07fdeea8a4a6810788fa186 | 0.75 | testing_debugging_repair_refactoring | 1,564 | false | 2026-07-17 |
using System;
using System.Diagnostics.CodeAnalysis;
using DLaB.Xrm.Entities;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DLaB.Xrm.LocalCrm.Tests
{
[TestClass]
public class EntityReferenceNamingTests : BaseTestClass
{
[TestMethod]
[SuppressMessage("ReSharper", "EmptyGener... | daryllabar/XrmUnitTest | DLaB.Xrm.LocalCrm.Tests.Base/EntityReferenceNamingTests.cs | https://github.com/daryllabar/XrmUnitTest/blob/HEAD/DLaB.Xrm.LocalCrm.Tests.Base/EntityReferenceNamingTests.cs | ghcode:00172:34b471c6b41b | mit | codeparrot/github-code | 34b471c6b41b65229c4d00836c94e13553f2f975bc87bccabe400c20b49ba54e | 0.75 | testing_debugging_repair_refactoring | 353 | false | 2026-07-17 |
/*
* Tencent is pleased to support the open source community by making xLua available.
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License... | 724789975/FxLib | Client_Unity/Test/Assets/XLua/Src/ObjectTranslatorPool.cs | https://github.com/724789975/FxLib/blob/HEAD/Client_Unity/Test/Assets/XLua/Src/ObjectTranslatorPool.cs | ghcode:00172:7acd2de959b1 | mit | codeparrot/github-code | 7acd2de959b15f5383a299afff3a8eb78f5dd2c3c3a44cab157886a0ad460e37 | 0.85 | testing_debugging_repair_refactoring | 683 | false | 2026-07-17 |
using Cofoundry.Core;
using Cofoundry.Core.ResourceFiles;
using Microsoft.Extensions.FileProviders;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace Cofoundry.Domain.Internal
{
/// <summary>
/// Allows searchi... | cofoundry-cms/cofoundry | src/Cofoundry.Domain/Domain/PageBlockTypes/ViewFiles/PageBlockTypeViewFileLocator.cs | https://github.com/cofoundry-cms/cofoundry/blob/HEAD/src/Cofoundry.Domain/Domain/PageBlockTypes/ViewFiles/PageBlockTypeViewFileLocator.cs | ghcode:00172:dfcfef7e8722 | mit | codeparrot/github-code | dfcfef7e8722337fb4989255e38fabc21464cf0f56c23b2a199666f8bb966644 | 0.85 | testing_debugging_repair_refactoring | 1,653 | false | 2026-07-17 |
using Raven.Client;
using Raven.Client.Document;
using Raven.Client.Embedded;
using Raven.Client.Indexes;
using System;
using System.ComponentModel.Composition.Hosting;
using System.Linq;
namespace Raven.Tests
{
public class TestHelpers
{
public static DocumentStore Store(DocumentConvention conventi... | maverix/Raven.Tests | TestHelpers.cs | https://github.com/maverix/Raven.Tests/blob/HEAD/TestHelpers.cs | ghcode:00172:32b56b2f5002 | unlicense | codeparrot/github-code | 32b56b2f5002086f043417d047437c905eaa573bef0c382c2afc05e1c2fc1ccb | 0.68 | testing_debugging_repair_refactoring | 273 | false | 2026-07-17 |
namespace AzureTextAnalytics.Tests.RequestHeaderFactory
{
using System;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using AzureTextAnalytics.Domain;
using DotNetTestHelper;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ... | dalealleshouse/AzureTextAnalytics | AzureTextAnalytics.Tests/RequestHeaderFactory/GetHeadersShould.cs | https://github.com/dalealleshouse/AzureTextAnalytics/blob/HEAD/AzureTextAnalytics.Tests/RequestHeaderFactory/GetHeadersShould.cs | ghcode:00172:7c2bd32dbff6 | unlicense | codeparrot/github-code | 7c2bd32dbff68d66e9281a52e04aaeb53aeee08447e2cd18c330c1ddf80860aa | 0.53 | testing_debugging_repair_refactoring | 348 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ServiceBaseFixture.cs" company="Rare Crowds Inc">
// Copyright 2012-2013 Rare Crowds, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you ma... | chinnurtb/OpenAdStack-1 | ApiLayer/ApiLayerUnitTests/ServiceBaseFixture.cs | https://github.com/chinnurtb/OpenAdStack-1/blob/HEAD/ApiLayer/ApiLayerUnitTests/ServiceBaseFixture.cs | ghcode:00172:f6976b1a069f | apache-2.0 | codeparrot/github-code | f6976b1a069f6a807f61bc373a111a6acbec707a7dc43ecd9a200be3a3e8061d | 0.85 | testing_debugging_repair_refactoring | 890 | 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.Linq;
using System.Reflection;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Symbols.Metadata.P... | VSadov/roslyn | src/Compilers/CSharp/Test/Symbol/Symbols/GenericConstraintTests.cs | https://github.com/VSadov/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Symbol/Symbols/GenericConstraintTests.cs | ghcode:00172:ed965603bf58 | apache-2.0 | codeparrot/github-code | ed965603bf58dadf0290c2cd8fd2e23c5f71b932109588fe0e12af88c84ce258 | 0.75 | testing_debugging_repair_refactoring | 79,278 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.