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 Xunit;
using SimonTaite.Extensions;
namespace SimonTaite.Extensions.Test.Unit
{
public class StringExtensionsTests
{
[Fact]
public void SlugifyWorksAsExpected()
{
var expected = "this-is-a-test";
var input = "This is a test";
var r... | simontaite/SimonTaite.Extensions | test/SimonTaite.Extensions.Test.Unit/StringExtensionsTests.cs | https://github.com/simontaite/SimonTaite.Extensions/blob/HEAD/test/SimonTaite.Extensions.Test.Unit/StringExtensionsTests.cs | ghcode:00006:53ee2fd2be8b | mit | codeparrot/github-code | 53ee2fd2be8bbfc697e44365981d0af460a56cf767ce2bc4df457d68b1712f9a | 0.75 | testing_debugging_repair_refactoring | 276 | false | 2026-07-17 |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraController : MonoBehaviour
{
public GameObject G_AudioListener;
private GameObject G_Target;
public Vector3 TargetOffsetVector;
public Vector3 CameraGroundVector;
public Vector3 TargetGroundPositio... | randonia/ggj2017 | ggj2017/Assets/Scripts/CameraController.cs | https://github.com/randonia/ggj2017/blob/HEAD/ggj2017/Assets/Scripts/CameraController.cs | ghcode:00006:b790e8489ee5 | mit | codeparrot/github-code | b790e8489ee5b09877655d4e0da0d558af3d9850b3026c7e930a91ac394deee7 | 0.6 | testing_debugging_repair_refactoring | 279 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Autotracker.Lib.Test.Unit.Patterns
{
class PatternTests
{
}
}
| mattpbooth/Autotracker | Autotracker.Lib.Test.Unit/Patterns/PatternTests.cs | https://github.com/mattpbooth/Autotracker/blob/HEAD/Autotracker.Lib.Test.Unit/Patterns/PatternTests.cs | ghcode:00006:0f3367695689 | mit | codeparrot/github-code | 0f336769568978ee5d12c9902890c2e92b773885d321aa8e94eb8b2d114730ff | 0.75 | testing_debugging_repair_refactoring | 42 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace PholioVisualisation.ExportTest.FileBuilder.SupportModels
{
[TestClass]
class InequalitySearchTest
{
[TestMethod]
public void ShouldCombineTwoListsIntoInequalitySearchList()
{
}
}
}
| PublicHealthEngland/fingertips-open | PholioVisualisationWS/ExportTest/FileBuilder/SupportModels/InequalitySearchTest.cs | https://github.com/PublicHealthEngland/fingertips-open/blob/HEAD/PholioVisualisationWS/ExportTest/FileBuilder/SupportModels/InequalitySearchTest.cs | ghcode:00006:b1e1326a0f94 | mit | codeparrot/github-code | b1e1326a0f94e861e0a90d019db399e82a0d91ff0e09ab9f435472543a61a24d | 0.6 | testing_debugging_repair_refactoring | 56 | false | 2026-07-17 |
using CliMate.consts;
using CliMate.interfaces.view;
using CliMate.source.extensions;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CliMate.source.view {
public class InputReader : IInputReader {
private Linke... | magnuskoch/CliMate | CliMate/source/view/InputReader.cs | https://github.com/magnuskoch/CliMate/blob/HEAD/CliMate/source/view/InputReader.cs | ghcode:00006:07dd760e02f0 | mit | codeparrot/github-code | 07dd760e02f0c60893d9f01e8dddb2387668309034604087f58b52c079bee586 | 0.6 | testing_debugging_repair_refactoring | 635 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace Riddisk.Test
{
/// <summary>
/// Test simple parts of Riddisk.Core.PathExplorer.
/// </summary>
[TestFixture]
public class PathExplorerTests
{
/// <summary>
/// Check if filenames is saved by constructor.
/// </summary>
... | mrowa/riddisk | riddisk-tests/PathExplorerTests.cs | https://github.com/mrowa/riddisk/blob/HEAD/riddisk-tests/PathExplorerTests.cs | ghcode:00006:f7ea39737d79 | mit | codeparrot/github-code | f7ea39737d79e3a43b3b2c8d6555ae4736d1cd19c4771ecfc0e93e9d7f081408 | 0.85 | testing_debugging_repair_refactoring | 469 | false | 2026-07-17 |
using System;
using System.Linq;
using Xunit;
namespace GitIgnorer.Tests
{
public class GitIgnoreParserTests
{
[Fact]
void ShouldIgnoreBlankLines()
{
// Arrange
var parser = new GitIgnoreParser();
// Act
var parsedPatterns = parser.Parse... | mjamin/srcbackup | src/GitIgnorer.Tests/GitIgnoreParserTests.cs | https://github.com/mjamin/srcbackup/blob/HEAD/src/GitIgnorer.Tests/GitIgnoreParserTests.cs | ghcode:00006:72f2abd31012 | mit | codeparrot/github-code | 72f2abd31012428896daea8bef2290fde3df85bb21d817281d2d0572bfd4d5db | 0.85 | testing_debugging_repair_refactoring | 1,036 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using XliffLib.Model;
using XliffLib.Utils;
namespace XliffLib.Test
{
[TestFixture]
public class JsonTests
{
[Test]
public void CanSerializeToJson()
{
var bundle = new Bundle();
var doc = new Document();
var p... | simonech/XliffLib | XliffLib.Test/JsonTests.cs | https://github.com/simonech/XliffLib/blob/HEAD/XliffLib.Test/JsonTests.cs | ghcode:00006:598b13b12302 | mit | codeparrot/github-code | 598b13b12302983e857118e650277ab2c31ed23fcf55450b33a2cbf59728557b | 0.75 | testing_debugging_repair_refactoring | 399 | false | 2026-07-17 |
namespace TestMySkills.Tests.Controllers
{
using System.Runtime.CompilerServices;
using AutoMapper;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestMySkills.WebAPI.Controllers;
using TestMySkills.Data.Repositories.Abstractions;
using TestMySkills.WebAPI.App_Start.AutoMapper... | encounter12/TestMySkills | server/TestMySkills.Tests/Controllers/TestsControllerTest.cs | https://github.com/encounter12/TestMySkills/blob/HEAD/server/TestMySkills.Tests/Controllers/TestsControllerTest.cs | ghcode:00006:4d7528fd19d7 | mit | codeparrot/github-code | 4d7528fd19d710c3c2b1c385f0ecdfd0e7bcc5f5a2e7fa82dd6084d58b6552eb | 0.85 | testing_debugging_repair_refactoring | 441 | false | 2026-07-17 |
using CharacterGen.Domain.Tables;
using NUnit.Framework;
using TreasureGen.Items;
namespace CharacterGen.Tests.Integration.Tables.Items.Powers
{
[TestFixture]
public class Level21PowerTests : PercentileTests
{
protected override string tableName
{
get { return string.Format(Tab... | DnDGen/CharacterGen | CharacterGen.Tests.Integration.Tables/Items/Powers/Level21PowerTests.cs | https://github.com/DnDGen/CharacterGen/blob/HEAD/CharacterGen.Tests.Integration.Tables/Items/Powers/Level21PowerTests.cs | ghcode:00006:bc1ade5c072e | mit | codeparrot/github-code | bc1ade5c072ed461491a89f0f6b1ba236d6b7489408e41d4c6bcecbd40dfa0cb | 0.75 | testing_debugging_repair_refactoring | 165 | false | 2026-07-17 |
// Copyright (c) 2014 James Dingle
using Anaglypta.Entities;
using Anaglypta.Services;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
namespace Anaglypta.Tests
{
[TestClass]
public class DocumentRequestTests
{
[TestMethod]
[TestCategory("DocumentRequest")]
... | dingjimmy/anaglypta | Anaglypta/Anaglypta.Tests/DocumentRequestTests.cs | https://github.com/dingjimmy/anaglypta/blob/HEAD/Anaglypta/Anaglypta.Tests/DocumentRequestTests.cs | ghcode:00006:3dac0d5e3ba6 | mit | codeparrot/github-code | 3dac0d5e3ba6fcdd8d51c936427c9e61a5f60c895333dcf42952b807cfe0045a | 0.85 | testing_debugging_repair_refactoring | 888 | false | 2026-07-17 |
#region PDFsharp - A .NET library for processing PDF
//
// Authors:
// Stefan Lange (mailto:Stefan.Lange@pdfsharp.com)
//
// Copyright (c) 2005-2009 empira Software GmbH, Cologne (Germany)
//
// http://www.pdfsharp.com
// http://sourceforge.net/projects/pdfsharp
//
// Permission is hereby granted, free of charge, to ... | sebfia/PDFSharp_ios | PdfSharp/PdfSharp.Drawing.Layout/XTextFormatter.cs | https://github.com/sebfia/PDFSharp_ios/blob/HEAD/PdfSharp/PdfSharp.Drawing.Layout/XTextFormatter.cs | ghcode:00006:4a5824e6c6a8 | mit | codeparrot/github-code | 4a5824e6c6a818bf4d8152b90cf1c227158cb051dbf210cc81bda004f0749c91 | 0.7 | testing_debugging_repair_refactoring | 2,891 | false | 2026-07-17 |
using Models.Contracts;
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tournaments;
using Tournaments.Contracts;
using Tournaments.Models;
using Tournaments.Services;
namespace ServicesTests.TeamServiceTests
{... | Catch-42/Tournaments | Services.Tests/TeamServiceTests/GetById_Should.cs | https://github.com/Catch-42/Tournaments/blob/HEAD/Services.Tests/TeamServiceTests/GetById_Should.cs | ghcode:00006:b0cdf58e3c82 | mit | codeparrot/github-code | b0cdf58e3c825a7dd9efbb6a2f7ba81ce91fd6032304ebb3d1a8aa3faabdb7dd | 0.7 | testing_debugging_repair_refactoring | 361 | false | 2026-07-17 |
using Conic.Manifest;
using Xunit;
namespace Conic.Tests.HostDefinitionValidatorTests
{
public class ValidateNameTests
{
private readonly HostDefinitionValidator _hostDefinitionValidator;
public ValidateNameTests()
{
_hostDefinitionValidator = new HostDefinitionValidator()... | pkudrel/Conic | src/Conic.Tests/HostDefinitionValidatorTests/ValidateNameTests.cs | https://github.com/pkudrel/Conic/blob/HEAD/src/Conic.Tests/HostDefinitionValidatorTests/ValidateNameTests.cs | ghcode:00006:74d9407049b3 | mit | codeparrot/github-code | 74d9407049b353fdea72d5f1f016da67589423aaea7c42f66cf63a9d92bc896a | 0.75 | testing_debugging_repair_refactoring | 287 | false | 2026-07-17 |
namespace Xilium.CefGlue;
using System;
using Xilium.CefGlue.Interop;
using System.Diagnostics;
/// <summary>
/// Structure representing mouse event information.
/// </summary>
public unsafe struct CefMouseEvent
{
private int _x;
private int _y;
private CefEventFlags _modifiers;
public CefMouseEvent... | NetDimension/NanUI | src/NetDimension.NanUI/third_party_libraries/CefGlue-90.6.7_g19ba721_chromium_90.0.4430.212/Structs/CefMouseEvent.cs | https://github.com/NetDimension/NanUI/blob/HEAD/src/NetDimension.NanUI/third_party_libraries/CefGlue-90.6.7_g19ba721_chromium_90.0.4430.212/Structs/CefMouseEvent.cs | ghcode:00006:2675fecc58ef | mit | codeparrot/github-code | 2675fecc58efc64b66cf48b85fa2085838edfe7b5d21d593ae6cf63b45be61f3 | 0.7 | testing_debugging_repair_refactoring | 271 | false | 2026-07-17 |
using System;
using NAudio.Wave.Compression;
namespace NAudio.Wave
{
/// <summary>
/// WaveStream that passes through an ACM Codec
/// </summary>
public class WaveFormatConversionStream : WaveStream
{
private AcmStream conversionStream;
private WaveStream sourceStream;
priva... | weimingtom/OtterUI | Tool/NAudio/NAudio/Wave/WaveStreams/WaveFormatConversionStream.cs | https://github.com/weimingtom/OtterUI/blob/HEAD/Tool/NAudio/NAudio/Wave/WaveStreams/WaveFormatConversionStream.cs | ghcode:00006:40026f8845b2 | mit | codeparrot/github-code | 40026f8845b26ce45a860b58ba2de4ccf2b8d7307414ccec67a553f10ba309b1 | 0.7 | testing_debugging_repair_refactoring | 1,478 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using XliffLib.Integration.Utils;
using Localization.Xliff.OM.Core;
using XliffLib.Utils;
namespace XliffLib.Integration
{
[TestFixture]
public class SimpleExtractorTests
{
[Test, TestCaseSource(typeof(DataSamples), "FileNamesSimpleExtractor")]
public v... | simonech/XliffLib | XliffLib.Integration/SimpleExtractorTests.cs | https://github.com/simonech/XliffLib/blob/HEAD/XliffLib.Integration/SimpleExtractorTests.cs | ghcode:00006:71accc4dc2a8 | mit | codeparrot/github-code | 71accc4dc2a81928a95fe38921d1bbdbaf582f8e94f8938c625ee3bfa61af495 | 0.75 | testing_debugging_repair_refactoring | 234 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using AvalonAssets.Rojy.Graph;
using NUnit.Framework;
namespace AvalonAssets.RojyTests.Graph
{
[TestFixture]
public class EndPointPairTests
{
private EndPointPair<int> _undirectedPair, _directedPair;
private IList<int> _testNum1, _testNum2;
... | AvalonAssets/Vola | RojyTests/Graph/EndPointPairTests.cs | https://github.com/AvalonAssets/Vola/blob/HEAD/RojyTests/Graph/EndPointPairTests.cs | ghcode:00006:c9d89a5bb53f | mit | codeparrot/github-code | c9d89a5bb53f504515888b810ea0007251222aea1767de470852a15f5ba56c16 | 0.75 | testing_debugging_repair_refactoring | 756 | false | 2026-07-17 |
using OpenTK;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using World3D;
namespace World3DWindowTests
{
public class SimpleWindowTests
{
public static void EmptyWindow()
{
using (WorldWindow game = new WorldWin... | adrianj/World3D | World3D/World3DWindowTests/SimpleWindowTests.cs | https://github.com/adrianj/World3D/blob/HEAD/World3D/World3DWindowTests/SimpleWindowTests.cs | ghcode:00006:f5af504732a6 | mit | codeparrot/github-code | f5af504732a6392a27c21cde2773c1f01ea1b4e43aee065ef77e13282f0d5139 | 0.75 | testing_debugging_repair_refactoring | 437 | false | 2026-07-17 |
using System.ComponentModel.DataAnnotations;
using System.Linq;
using DbLocalizationProvider.Sync;
using Xunit;
namespace DbLocalizationProvider.Tests
{
[LocalizedModel]
public class ViewModelWithDuplicateSubModels
{
public SubModel SubModelPorperty1 { get; set; }
public SubModel SubModelPo... | ShadowLaurus/LocalizationProvider | Tests/DbLocalizationProvider.Tests/ViewModelWithDuplicateSubModels.cs | https://github.com/ShadowLaurus/LocalizationProvider/blob/HEAD/Tests/DbLocalizationProvider.Tests/ViewModelWithDuplicateSubModels.cs | ghcode:00006:2fce73f23568 | mit | codeparrot/github-code | 2fce73f235684cfd6d048979d98430db5da88cce4d7ec9debfb0347b85c4f2ac | 0.75 | testing_debugging_repair_refactoring | 202 | false | 2026-07-17 |
using System;
using FSA.DTO;
using FSA.Interfaces.BL;
using FSA.Tests.Shared;
using Moq;
using NUnit.Framework;
// ReSharper disable InconsistentNaming
namespace FSA.BL.Tests.Unit
{
[TestFixture]
[Category("Unit")]
public class FsaWorkerProviderTests : DebugAssertMockedTestFixture
{
private IFsaWorkerProvider _... | neiliux/FileStoreArchiver | FSA.BL.Tests.Unit/FsaWorkerProviderTests.cs | https://github.com/neiliux/FileStoreArchiver/blob/HEAD/FSA.BL.Tests.Unit/FsaWorkerProviderTests.cs | ghcode:00006:352d93396683 | mit | codeparrot/github-code | 352d9339668375f5a292574b03009302382a73795a317b9db42fea2b12af0c98 | 0.75 | testing_debugging_repair_refactoring | 623 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using NUnit.Framework;
namespace Hanssens.Net.Identity.RavenDb.Tests
{
[TestFixture]
public class RavenDbMembershipProviderTests
{
[Test]
... | hanssens/ravendb.identity | Source/Hanssens.Net.Identity.RavenDb.Tests/RavenDbMembershipProviderTests.cs | https://github.com/hanssens/ravendb.identity/blob/HEAD/Source/Hanssens.Net.Identity.RavenDb.Tests/RavenDbMembershipProviderTests.cs | ghcode:00006:216787caafd4 | mit | codeparrot/github-code | 216787caafd4acf1680facb9292d41b983256d63255ca64db6a2fe31a5c52042 | 0.85 | testing_debugging_repair_refactoring | 397 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using RedoxExtensions.VirindiInterop;
namespace RedoxExtensions.Tests
{
[TestFixture]
public class VTUtilitiesTests
{
[Test]
public void TestTryParseOptionOutputWhenNotVTOptionOutput()
{
... | mrvoorhe/redox-extensions | RedoxExtensions.Tests/VTUtilitiesTests.cs | https://github.com/mrvoorhe/redox-extensions/blob/HEAD/RedoxExtensions.Tests/VTUtilitiesTests.cs | ghcode:00006:3ab85c3f44e5 | mit | codeparrot/github-code | 3ab85c3f44e553ce08af4ce83063d572e29943e6d30095a3dfcf4bc4fdf6d577 | 0.75 | testing_debugging_repair_refactoring | 231 | false | 2026-07-17 |
//-----------------------------------------------------------------------------
// <copyright file="TransactionState.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------------
namespace Syste... | mind0n/hive | Cache/Libs/net46/ndp/cdf/src/NetFx20/system.transactions/System/Transactions/TransactionState.cs | https://github.com/mind0n/hive/blob/HEAD/Cache/Libs/net46/ndp/cdf/src/NetFx20/system.transactions/System/Transactions/TransactionState.cs | ghcode:00006:62fadffbb1a7 | mit | codeparrot/github-code | 62fadffbb1a73b1fb0ece2c8ff3db79ce1a4c9384bb61e27833486126c17c4e0 | 0.75 | testing_debugging_repair_refactoring | 29,183 | false | 2026-07-17 |
namespace AgileObjects.AgileMapper.UnitTests.Configuration
{
using System;
using System.Collections.Generic;
using System.Linq;
using AgileMapper.Extensions.Internal;
using Common;
using TestClasses;
#if !NET35
using Xunit;
#else
using Fact = NUnit.Framework.TestAttribute;
[NUnit.F... | agileobjects/AgileMapper | AgileMapper.UnitTests/Configuration/WhenConfiguringObjectMapping.cs | https://github.com/agileobjects/AgileMapper/blob/HEAD/AgileMapper.UnitTests/Configuration/WhenConfiguringObjectMapping.cs | ghcode:00006:27a5fc7ed18c | mit | codeparrot/github-code | 27a5fc7ed18c8baa04f9c6bc776a39e12e6e2692c22f630dbfb30cd603729ac9 | 0.6 | testing_debugging_repair_refactoring | 3,140 | false | 2026-07-17 |
using System;
using Cake.Core;
using Xunit;
namespace Cake.DotNetCoreEf.Tests
{
public static class AssertExtensions
{
public static void IsArgumentNullException(Exception exception, string parameterName)
{
Assert.IsType<ArgumentNullException>(exception);
Assert.Equal(p... | cake-contrib/Cake.DotNetCoreEf | src/Cake.DotNetCoreEf.UnitTests/ExceptionAsserts.cs | https://github.com/cake-contrib/Cake.DotNetCoreEf/blob/HEAD/src/Cake.DotNetCoreEf.UnitTests/ExceptionAsserts.cs | ghcode:00006:4f74813d1b9c | mit | codeparrot/github-code | 4f74813d1b9ca9841ead065faf72df6bacbd086302f785391b8727532c2254d4 | 0.6 | testing_debugging_repair_refactoring | 201 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using ReferenceWRLImplementation;
namespace CSharpUnitTestProject
{
[TestClass]
public class ActivatableStaticClassUnitTests
{
[TestMethod]
public void StaticMethodTest()
{
uint expectedVal = 30;
v... | ali-hk/ReferenceWRL | ReferenceWRLImplementation/CSharpUnitTestProject/ActivatableStaticClassUnitTests.cs | https://github.com/ali-hk/ReferenceWRL/blob/HEAD/ReferenceWRLImplementation/CSharpUnitTestProject/ActivatableStaticClassUnitTests.cs | ghcode:00006:b2128ed100af | mit | codeparrot/github-code | b2128ed100af29179602ef742e4a81810955e5672bea3fc850668a961b668abd | 0.75 | testing_debugging_repair_refactoring | 146 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Content_For_Promotion_Extractor;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Content_For_Promotion_Extractor.Tests
{
[TestClass()]
public class UnpackerTests
{
... | MattCordell/Content-For-Promotion-Extractor | Content-For-Promotion-ExtractorTests/UnpackerTests.cs | https://github.com/MattCordell/Content-For-Promotion-Extractor/blob/HEAD/Content-For-Promotion-ExtractorTests/UnpackerTests.cs | ghcode:00006:9a6413b2301f | mit | codeparrot/github-code | 9a6413b2301fb8ee7f6193d545f1f4a70435745215f6139a2a2c259ddb165bbc | 0.75 | testing_debugging_repair_refactoring | 105 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace TeamC
{
[TestFixture]
class UserTest
{
[Test]
public void TestCreateNewAccount()
{ // Registered
User users = new User(... | ZoneLin/TeamC | TeamC/UserTest.cs | https://github.com/ZoneLin/TeamC/blob/HEAD/TeamC/UserTest.cs | ghcode:00006:d0dfc2a4fd26 | mit | codeparrot/github-code | d0dfc2a4fd26d638fd9abe7d5a3be1e80c6bb628254cca87a9c3575e791c1d8f | 0.7 | testing_debugging_repair_refactoring | 1,533 | false | 2026-07-17 |
using System;
using System.IO;
using System.IO.Pipes;
using System.Linq;
using System.Text.RegularExpressions;
namespace Postal.Test.Client
{
class Program
{
const string Usage =
@"You can type any of the following commands into the prompt below.
get <name>[,<name>,<name>...]⏎ will get one or more val... | ananthonline/Postal | Postal.Test.Client/Program.cs | https://github.com/ananthonline/Postal/blob/HEAD/Postal.Test.Client/Program.cs | ghcode:00006:ad7852031f06 | mit | codeparrot/github-code | ad7852031f06781bc6a33d397ef711f181029616982ebbcba5dffe1efa765f99 | 0.85 | testing_debugging_repair_refactoring | 703 | false | 2026-07-17 |
namespace EventOrganizerTests
{
using System;
using EventOrganizer;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class CommandTests
{
[TestMethod]
[ExpectedException(typeof(ArgumentNullException))]
public void TestIfPArseMethodThrowsWhenNullPas... | dechoD/Telerik-Homeworks | Practice Exams/Quality Code/2013/EventOrganizerTests/CommandTests.cs | https://github.com/dechoD/Telerik-Homeworks/blob/HEAD/Practice Exams/Quality Code/2013/EventOrganizerTests/CommandTests.cs | ghcode:00006:22f0515c4bff | mit | codeparrot/github-code | 22f0515c4bff0002924977207ef8509f9f9f79c346538f1451aa3cec91663a06 | 0.75 | testing_debugging_repair_refactoring | 329 | false | 2026-07-17 |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace Jammer.Test {
[SetUpFixture]
public class TestSetup {
private static TestSetup instance = null;
/// <summary>
/// This path is used to stub the Settings folder. Used for... | robertwahler/jammer | Assets/Test/Unit/Editor/TestSetup.cs | https://github.com/robertwahler/jammer/blob/HEAD/Assets/Test/Unit/Editor/TestSetup.cs | ghcode:00006:e1c9c70f565a | mit | codeparrot/github-code | e1c9c70f565a467fda98519190934265617ba3fc61958f81191bea4b460b81e7 | 0.95 | testing_debugging_repair_refactoring | 577 | false | 2026-07-17 |
using System;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Rocks.Dataflow.Fluent;
using Rocks.Dataflow.SplitJoin;
using Xunit;
namespace Rocks.Dataflow.Tests.FluentTests.ExceptionHandlingTests
{
public class FluentSplitJoinAsyncTests
... | MichaelLogutov/Rocks.Dataflow | src/Rocks.Dataflow.Tests/FluentTests/ExceptionHandlingTests/FluentSplitJoinAsyncTests.cs | https://github.com/MichaelLogutov/Rocks.Dataflow/blob/HEAD/src/Rocks.Dataflow.Tests/FluentTests/ExceptionHandlingTests/FluentSplitJoinAsyncTests.cs | ghcode:00006:91b11497106a | mit | codeparrot/github-code | 91b11497106ab2cc25c10b6a342173e845af5d495e6af4bd6b1f0116ff7191fb | 0.85 | testing_debugging_repair_refactoring | 2,369 | false | 2026-07-17 |
using System;
using System.Linq;
using Client;
using NUnit.Framework;
namespace ClientTests
{
[TestFixture]
public class TestPathfinder
{
private const long MaxSize = 2000;
private readonly bool[,] _nothing = new bool[MaxSize, MaxSize];
[Test]
public void TestFindPathRetur... | Hekku2/ai-nibbles-jarmo | NibblesAi/ClientTests/TestPathfinder.cs | https://github.com/Hekku2/ai-nibbles-jarmo/blob/HEAD/NibblesAi/ClientTests/TestPathfinder.cs | ghcode:00006:596b4d1e4409 | mit | codeparrot/github-code | 596b4d1e440928ed4eea88faf38445be40f39dac07c1f64b3829a640ff6403e3 | 0.85 | testing_debugging_repair_refactoring | 2,596 | false | 2026-07-17 |
// MIT License
//
// Copyright(c) 2022 ICARUS Consulting GmbH
//
// 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, cop... | icarus-consulting/Yaapii.Atoms | tests/Yaapii.Atoms.Tests/Scalar/TrueTest.cs | https://github.com/icarus-consulting/Yaapii.Atoms/blob/HEAD/tests/Yaapii.Atoms.Tests/Scalar/TrueTest.cs | ghcode:00006:f1a4f192ce23 | mit | codeparrot/github-code | f1a4f192ce23cd4505fb08e22988ee005e4ec66c24074ff277571802abef1ace | 0.7 | testing_debugging_repair_refactoring | 293 | false | 2026-07-17 |
using System.Linq;
using System.Threading.Tasks;
using Marten.Services;
using Marten.Testing.Documents;
using Marten.Testing.Harness;
using Shouldly;
using Xunit;
namespace Marten.Testing.CoreFunctionality
{
public class query_scalar_values_with_select_in_query_async : IntegrationContext
{
[Fact]
... | mdissel/Marten | src/Marten.Testing/CoreFunctionality/query_scalar_values_with_select_in_query_async.cs | https://github.com/mdissel/Marten/blob/HEAD/src/Marten.Testing/CoreFunctionality/query_scalar_values_with_select_in_query_async.cs | ghcode:00006:d49d1703b211 | mit | codeparrot/github-code | d49d1703b21184a0b99712b4471e5811d8ceb9036ca8bacaed87cab02f648124 | 0.75 | testing_debugging_repair_refactoring | 362 | false | 2026-07-17 |
/*
Copyright (c) 2012 <a href="http://www.gutgames.com">James Craig</a>
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, ... | khellang/Craig-s-Utility-Library | UnitTests/DataTypes/ExtensionMethods/StringExtensions.cs | https://github.com/khellang/Craig-s-Utility-Library/blob/HEAD/UnitTests/DataTypes/ExtensionMethods/StringExtensions.cs | ghcode:00006:e9e92aa57829 | mit | codeparrot/github-code | e9e92aa578296f319cf6c9bdb40f03b3459e793cc21503c8d89bd5593163850e | 0.6 | testing_debugging_repair_refactoring | 2,287 | false | 2026-07-17 |
#pragma warning disable SA1500 // Braces for multi-line statements should not share line
#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional
namespace Gu.Reactive.Tests
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Sy... | JohanLarsson/Gu.Reactive | Gu.Reactive.Tests/ObservableExtTests.Throttle.cs | https://github.com/JohanLarsson/Gu.Reactive/blob/HEAD/Gu.Reactive.Tests/ObservableExtTests.Throttle.cs | ghcode:00006:e6895c5049b9 | mit | codeparrot/github-code | e6895c5049b9ebcb79e649da29704a50b4a9c07c2764b0ebaaa237f222bc0a0e | 0.7 | testing_debugging_repair_refactoring | 892 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | joshball/Lucene.In.Action.NET | vendor/lucene.net/test/contrib/Analyzers/AR/TestArabicStemFilter.cs | https://github.com/joshball/Lucene.In.Action.NET/blob/HEAD/vendor/lucene.net/test/contrib/Analyzers/AR/TestArabicStemFilter.cs | ghcode:00006:a744195ada5f | mit | codeparrot/github-code | a744195ada5f3ef8efefae720e805a5c96acd1dfff29eb826e31fd0f20688340 | 0.95 | testing_debugging_repair_refactoring | 861 | false | 2026-07-17 |
namespace CommonTestsInternal.Collections.Generic
{
using System;
using System.Collections;
using System.Collections.Generic;
using Common.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
public partial class RedBlackTreeTests
{
#region ICollection... | ArsenShnurkov/Common | CommonTests/Collections/Generic/RedBlackTreeTests.Integration.ICollection.cs | https://github.com/ArsenShnurkov/Common/blob/HEAD/CommonTests/Collections/Generic/RedBlackTreeTests.Integration.ICollection.cs | ghcode:00006:90bc3f056d14 | mit | codeparrot/github-code | 90bc3f056d14e885de3bef46257a3092f0be625bc43277f4783836ada7a00da0 | 0.6 | testing_debugging_repair_refactoring | 567 | false | 2026-07-17 |
namespace X2J.Core.Tests
{
using System.Linq;
using System.Xml;
using System.Xml.Schema;
using NUnit.Framework;
using ReadXsd;
public class ReadXmlSchemaTests {
[Test]
public void Annotaion_Should_Return_Documentation_And_AppInfo () {
var reader = new XmlTextReader(@"XSD/Annotation.xsd");
var schema =... | ashutoshraina/X2J | X2J.Core.Tests/ReadXmlSchemaTests.cs | https://github.com/ashutoshraina/X2J/blob/HEAD/X2J.Core.Tests/ReadXmlSchemaTests.cs | ghcode:00006:eeac583e8ab9 | mit | codeparrot/github-code | eeac583e8ab938dfc91a23fccda6551285fe147b55c75aa72aeb0b534c97413a | 0.75 | testing_debugging_repair_refactoring | 127 | false | 2026-07-17 |
using FakeItEasy;
using Xunit;
using Paramore.Brighter.ServiceActivator;
using Paramore.Brighter.ServiceActivator.Ports.Commands;
using Paramore.Brighter.ServiceActivator.Ports.Handlers;
namespace Paramore.Brighter.Tests.ControlBus
{
public class ConfigurationCommandStopTests
{
const string CONNECTION_... | dstockhammer/Brighter | tests/Paramore.Brighter.Tests/ControlBus/When_receiving_a_stop_message_for_a_connection.cs | https://github.com/dstockhammer/Brighter/blob/HEAD/tests/Paramore.Brighter.Tests/ControlBus/When_receiving_a_stop_message_for_a_connection.cs | ghcode:00006:382af8912b59 | mit | codeparrot/github-code | 382af8912b59b44e07f93f737e564dead29792123d28b2c3a42b475b6172e8b4 | 0.6 | testing_debugging_repair_refactoring | 222 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using KSP;
using UnityEngine;
using KSPPluginFramework;
namespace KSPAlternateResourcePanel
{
internal class Resources
{
//WHERE SHOULD THESE BE???
internal static String PathApp = KSPUtil.... | Kerbas-ad-astra/AlternateResourcePanel | AlternateResourcePanel/Resources.cs | https://github.com/Kerbas-ad-astra/AlternateResourcePanel/blob/HEAD/AlternateResourcePanel/Resources.cs | ghcode:00006:f01bfbbda237 | mit | codeparrot/github-code | f01bfbbda2371ec3290c4faf5b4ee8312341614afc1891d7dc51b9d1ea4b1cdd | 0.7 | testing_debugging_repair_refactoring | 4,268 | false | 2026-07-17 |
using Moq;
using NUnit.Framework;
using ROM.Data.Model;
using ROM.Data.Repository;
using ROM.Data.SaveContext;
using ROM.Services.Data.Contracts;
namespace ROM.Services.Data.UnitTests.RestaurantServiceUnitTests
{
[TestFixture]
public class Constructor_Should
{
[Test]
public void ReturnsAnI... | MarianNikolov/ROM | RestaurantOrganizationalManager/ROM.Services.Data.UnitTests/RestaurantServiceUnitTests/Constructor_Should.cs | https://github.com/MarianNikolov/ROM/blob/HEAD/RestaurantOrganizationalManager/ROM.Services.Data.UnitTests/RestaurantServiceUnitTests/Constructor_Should.cs | ghcode:00006:58a267f21666 | mit | codeparrot/github-code | 58a267f21666d72cffb86600ffd3f97b0446f569b3b26a2ad738a1f4f5e92897 | 0.7 | testing_debugging_repair_refactoring | 198 | false | 2026-07-17 |
using DotNetEngine.Engine.Helpers;
using DotNetEngine.Engine.Objects;
using NUnit.Framework;
namespace DotNetEngine.Test.MakeMoveTests
{
public class QueenTests
{
private static readonly ZobristHash _zobristHash = new ZobristHash();
#region White Queen
[Test]
public void MakeM... | aaronmell/dotnetchess | DotNetEngine.Test/MakeMoveTests/QueenTests.cs | https://github.com/aaronmell/dotnetchess/blob/HEAD/DotNetEngine.Test/MakeMoveTests/QueenTests.cs | ghcode:00006:a79280046c27 | mit | codeparrot/github-code | a79280046c27d7edbd77b3925d94acbab9d0c000152874908b5e36cc6ffada2d | 0.75 | testing_debugging_repair_refactoring | 2,005 | 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.Reflection;
using System.Diagnostics;
using System.Globalization;
using System.Collection... | tijoytom/corert | src/System.Private.Reflection.Core/src/System/Reflection/Runtime/General/ReflectionCoreCallbacksImplementation.cs | https://github.com/tijoytom/corert/blob/HEAD/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/General/ReflectionCoreCallbacksImplementation.cs | ghcode:00006:a4eb379fd701 | mit | codeparrot/github-code | a4eb379fd7015e781c28e76d6f77ac3ab8aa1ae33e0ce61a77398ac3043f54cd | 0.8 | testing_debugging_repair_refactoring | 3,666 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection.Metadata.Ecma335;
using Azure.Storage.Files.DataLake;
using Azure.Storage.Files.DataLake.Models;
using NUnit.Frame... | hyonholee/azure-sdk-for-net | sdk/storage/Azure.Storage.Files.DataLake/samples/Sample01a_HelloWorld.cs | https://github.com/hyonholee/azure-sdk-for-net/blob/HEAD/sdk/storage/Azure.Storage.Files.DataLake/samples/Sample01a_HelloWorld.cs | ghcode:00006:fb8e31d1c753 | mit | codeparrot/github-code | fb8e31d1c75300f6c026e3467463ceed36532d7c9734b5bfdefe0ad8d8eb2f08 | 0.85 | testing_debugging_repair_refactoring | 5,983 | false | 2026-07-17 |
using ActiveListExtensions.Tests.Helpers;
using ActiveListExtensions.Utilities;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Acti... | JohannesMoersch/ActiveListExtensions | ActiveListExtensions.Tests/Data/DataTableToActiveListTests.cs | https://github.com/JohannesMoersch/ActiveListExtensions/blob/HEAD/ActiveListExtensions.Tests/Data/DataTableToActiveListTests.cs | ghcode:00006:ef793ab0e01e | mit | codeparrot/github-code | ef793ab0e01e5f24d5f503b54e08770559dfd4bee6a333b4b3c295f7bd8955bc | 0.75 | testing_debugging_repair_refactoring | 401 | false | 2026-07-17 |
#region Copyright 2014 by Benny Olsson, benny@unitednerds.se, Licensed under the Apache License, Version 2.0
/* 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/l... | Aztherion/TinyFS.Net | src/TinyFS/CompoundFile.cs | https://github.com/Aztherion/TinyFS.Net/blob/HEAD/src/TinyFS/CompoundFile.cs | ghcode:00006:04368a6e95a4 | apache-2.0 | codeparrot/github-code | 04368a6e95a410f0f9d312feb00296bcd0736317e2de0dc4fc641061cf633d5f | 0.7 | testing_debugging_repair_refactoring | 9,741 | 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.Linq;
using Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator;
using Microsoft.CodeAnalysis.CS... | AnthonyDGreen/roslyn | src/ExpressionEvaluator/CSharp/Test/ResultProvider/ExpansionTests.cs | https://github.com/AnthonyDGreen/roslyn/blob/HEAD/src/ExpressionEvaluator/CSharp/Test/ResultProvider/ExpansionTests.cs | ghcode:00006:503c0730f1b5 | apache-2.0 | codeparrot/github-code | 503c0730f1b574f1eabbcea4fdfaeafee2dc24d044a917a6e4495fe61c168def | 0.82 | testing_debugging_repair_refactoring | 23,781 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Tests.Framework.ManagedEl... | adam-mccoy/elasticsearch-net | src/Tests/QueryDsl/Specialized/Percolate/PercolateQueryUsageTests.cs | https://github.com/adam-mccoy/elasticsearch-net/blob/HEAD/src/Tests/QueryDsl/Specialized/Percolate/PercolateQueryUsageTests.cs | ghcode:00006:a80f594f665b | apache-2.0 | codeparrot/github-code | a80f594f665b9fe66ffa480463832ed369267ea9480d66e74bb296efde6971b5 | 0.95 | testing_debugging_repair_refactoring | 2,184 | 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.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalys... | reaction1989/roslyn | src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_IfStatement.cs | https://github.com/reaction1989/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_IfStatement.cs | ghcode:00006:329c5d75c879 | apache-2.0 | codeparrot/github-code | 329c5d75c8790195239862c75cd3b845e7847c9a0b1179633ee55a03418d6ee7 | 0.85 | testing_debugging_repair_refactoring | 716 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Telerik.Data.Core.Layouts
{
internal class CompactLayout : BaseLayout
{
internal Dictionary<object, GroupInfo> itemInfoTable = new Dictionary<object, GroupInfo>();
internal IndexToValueTable<bool> collapsedSlotsTable... | geotinc/UI-For-UWP | Controls/DataControls/DataControls.UWP/ListView/Layout/CompactLayout.cs | https://github.com/geotinc/UI-For-UWP/blob/HEAD/Controls/DataControls/DataControls.UWP/ListView/Layout/CompactLayout.cs | ghcode:00006:f06d37ff6e60 | apache-2.0 | codeparrot/github-code | f06d37ff6e60bad0cb6d9f90dbf5ef5b298172c8bca680920b6e175318a72082 | 0.7 | testing_debugging_repair_refactoring | 6,073 | false | 2026-07-17 |
using System.Linq;
using System.Xml.Linq;
using Xunit;
namespace Dasher.Schema.Comparison.Tests
{
public class SchemaComparisonTests
{
#region Test types
private readonly XElement _simpleObject =
new XElement("Type", new XAttribute("name", "UserScore"),
... | andysturrock/dasher-schema | Dasher.Schema.Comparison.Tests/SchemaComparisonTests.cs | https://github.com/andysturrock/dasher-schema/blob/HEAD/Dasher.Schema.Comparison.Tests/SchemaComparisonTests.cs | ghcode:00006:9eada4f92f88 | apache-2.0 | codeparrot/github-code | 9eada4f92f88936cdc2388b9ccbe0f5f420d8226f3ab2e683cdd2f4ec73ac7b3 | 0.85 | testing_debugging_repair_refactoring | 2,484 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Text;
using System.Text.Encodings.Web;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Abstractions;
using Microsoft.AspNetCore.Routing;
u... | aspnet/AspNetCore | src/Mvc/Mvc.Core/test/Routing/UrlHelperBaseTest.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Mvc/Mvc.Core/test/Routing/UrlHelperBaseTest.cs | ghcode:00006:d726fe5818f2 | apache-2.0 | codeparrot/github-code | d726fe5818f20a567454ea1df9bab69dc0792645c29465865f84f5536808e58f | 0.95 | testing_debugging_repair_refactoring | 1,133 | false | 2026-07-17 |
using Lucene.Net.Support;
using Lucene.Net.Util;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
namespace Lucene.Net.Index
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file di... | NikolayXHD/Lucene.Net.Contrib | Lucene.Net/Index/SegmentReader.cs | https://github.com/NikolayXHD/Lucene.Net.Contrib/blob/HEAD/Lucene.Net/Index/SegmentReader.cs | ghcode:00006:ed709aa4c770 | apache-2.0 | codeparrot/github-code | ed709aa4c77087ebbc42394b37660cbd1836aa909f0aaaf770024ea2eeba87c4 | 0.7 | testing_debugging_repair_refactoring | 5,053 | false | 2026-07-17 |
using System;
using FeatureToggle;
using FeatureToggle.Internal;
using Xunit;
#if NETFULL || NETCORE
using Moq;
#endif
namespace FeatureToggle.Tests
{
public class SimpleFeatureToggleShould
{
[Fact]
public void HaveDefaultProvider()
{
var sut = new MySimpleFeatureToggl... | jason-roberts/FeatureToggle | src/Tests/FeatureToggle.Shared.Tests/SimpleFeatureToggleShould.cs | https://github.com/jason-roberts/FeatureToggle/blob/HEAD/src/Tests/FeatureToggle.Shared.Tests/SimpleFeatureToggleShould.cs | ghcode:00006:72c2254e7534 | apache-2.0 | codeparrot/github-code | 72c2254e7534fc9793ff5f8c468373334378f2de3203a50f8d49c86150e15ee2 | 0.85 | testing_debugging_repair_refactoring | 225 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Microsoft.AspNetCore.Identity.Test
{
public class Passwor... | aspnet/AspNetCore | src/Identity/test/Identity.Test/PasswordValidatorTest.cs | https://github.com/aspnet/AspNetCore/blob/HEAD/src/Identity/test/Identity.Test/PasswordValidatorTest.cs | ghcode:00006:f74e5a76a6f4 | apache-2.0 | codeparrot/github-code | f74e5a76a6f4b9d2baaf9d74542bf7a6a786fa465d3c69f93c8f8141c122e1cc | 0.95 | testing_debugging_repair_refactoring | 1,562 | 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://www.a... | citizenmatt/gallio | src/Extensions/Icarus/Gallio.Icarus/Utilities/TestRunnerExtensionFactory.cs | https://github.com/citizenmatt/gallio/blob/HEAD/src/Extensions/Icarus/Gallio.Icarus/Utilities/TestRunnerExtensionFactory.cs | ghcode:00006:0ef92b6c02e5 | apache-2.0 | codeparrot/github-code | 0ef92b6c02e5ab53e0426cf7efe2953728802e35805f724c877ff2de41252ab8 | 0.85 | testing_debugging_repair_refactoring | 315 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using NBi.Core.Analysis.Request;
using NUnit.Framework.Constraints;
using NUnitCtr = NUnit.Framework.Constraints;
using NBi.Core.Structure;
namespace NBi.NUnit.Structure
{
public abstract class AbstractStructur... | Seddryck/NBi | NBi.NUnit/Structure/AbstractStructureConstraint.cs | https://github.com/Seddryck/NBi/blob/HEAD/NBi.NUnit/Structure/AbstractStructureConstraint.cs | ghcode:00006:a7850073b479 | apache-2.0 | codeparrot/github-code | a7850073b4792307d47e886bc73a156d9b70fb692a2e38ed838bac3a042c3757 | 0.7 | testing_debugging_repair_refactoring | 533 | false | 2026-07-17 |
namespace Selenium.WebDriver.Extensions.IntegrationTests.InternetExplorerTests
{
using System.Diagnostics.CodeAnalysis;
using Selenium.WebDriver.Extensions.IntegrationTests.Fixtures;
using Xunit;
using static By;
using static Tests.Shared.Trait;
[Trait(CATEGORY, INTEGRATION)]
[Trait(BROWSER... | Softlr/selenium-webdriver-extensions | test/Selenium.WebDriver.Extensions.IntegrationTests/InternetExplorerTests/WebDriverExtensionsJQueryUnloadedSelectorInternetExplorerTests.cs | https://github.com/Softlr/selenium-webdriver-extensions/blob/HEAD/test/Selenium.WebDriver.Extensions.IntegrationTests/InternetExplorerTests/WebDriverExtensionsJQueryUnloadedSelectorInternetExplorerTests.cs | ghcode:00006:c86fca3ce2f7 | apache-2.0 | codeparrot/github-code | c86fca3ce2f751d4ca12d49ee19f0480b0f8709a88e4079071f40201663056c1 | 0.75 | testing_debugging_repair_refactoring | 151 | 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.Diagnostics;
using System.Linq;
using System.Text;
using System.Reflectio... | chkn/fsharp | vsintegration/src/unittests/Resources.MockTypeProviders/XmlDocAttributeWithNullComment/ArtificialPropertyInfo.cs | https://github.com/chkn/fsharp/blob/HEAD/vsintegration/src/unittests/Resources.MockTypeProviders/XmlDocAttributeWithNullComment/ArtificialPropertyInfo.cs | ghcode:00006:0b52e34d4275 | apache-2.0 | codeparrot/github-code | 0b52e34d4275d0ba027d27a209756186a07532f973db890a60473952077b5897 | 0.8 | testing_debugging_repair_refactoring | 1,002 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace St4mpede.Integration.Test.Common
{
internal class Functions
{
/// <summary>This method returns the path to the solution.
/// </summary>
/// <param name="testContext"></param>
/// <returns></returns>
internal static string SolutionPath( TestCont... | LosManos/St4mpede | Tests/St4mpede.Integration.Test/Common/Functions.cs | https://github.com/LosManos/St4mpede/blob/HEAD/Tests/St4mpede.Integration.Test/Common/Functions.cs | ghcode:00006:64c954e1949d | apache-2.0 | codeparrot/github-code | 64c954e1949d2f3e05493caaf0ac9d25535cc86e1693597de64bc90fc1e2c210 | 0.7 | testing_debugging_repair_refactoring | 196 | false | 2026-07-17 |
using Difi.SikkerDigitalPost.Klient.Internal.AsicE;
using Xunit;
namespace Difi.SikkerDigitalPost.Klient.Tester.Internal.AsicE
{
public class DocumentBundleTests
{
public class ConstructorMethod : DocumentBundleTests
{
[Fact]
public void SimpleConstructor()
... | difi/sikker-digital-post-klient-dotnet | Difi.SikkerDigitalPost.Klient.Tester/Internal/AsicE/DocumentBundleTests.cs | https://github.com/difi/sikker-digital-post-klient-dotnet/blob/HEAD/Difi.SikkerDigitalPost.Klient.Tester/Internal/AsicE/DocumentBundleTests.cs | ghcode:00006:ba4d689f3ed1 | apache-2.0 | codeparrot/github-code | ba4d689f3ed19efa18f1ad16fd36a98ef0dc35053eb1f938336af0ef7e9f868f | 0.85 | testing_debugging_repair_refactoring | 307 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MIMER.RFC2045.Pattern;
using NUnit.Framework;
using NUnit.Framework.SyntaxHelpers;
namespace MIMERTests.RFC2045.Pattern
{
[TestFixture]
public class SubTypePatternTests
{
[Test]
public void Multipar... | smithimage/MIMER | MIMERTests/RFC2045/Pattern/SubTypePatternTests.cs | https://github.com/smithimage/MIMER/blob/HEAD/MIMERTests/RFC2045/Pattern/SubTypePatternTests.cs | ghcode:00006:69bafce473d1 | bsd-3-clause | codeparrot/github-code | 69bafce473d14a676b6c08d9c646b18e489e1896d05536c5e966e6fb4a1e2ef4 | 0.75 | testing_debugging_repair_refactoring | 1,607 | false | 2026-07-17 |
/*
* Copyright (c) 2007-2008, openmetaverse.org
* 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 notice, this
... | tectronics/libopenmetaverse | OpenMetaverse.Utilities/RegistrationApi.cs | https://github.com/tectronics/libopenmetaverse/blob/HEAD/OpenMetaverse.Utilities/RegistrationApi.cs | ghcode:00006:a7d8fbf016bc | bsd-3-clause | codeparrot/github-code | a7d8fbf016bc1fb57bcfd4fa38962f85e87afc5c96f95f6a717b4f256d02eb5d | 0.7 | testing_debugging_repair_refactoring | 2,362 | false | 2026-07-17 |
#region license
// Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com)
// 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 ... | brumschlag/rhino-tools | rhino-mocks/Rhino.Mocks.Tests/ExtendingRhinoMocks.cs | https://github.com/brumschlag/rhino-tools/blob/HEAD/rhino-mocks/Rhino.Mocks.Tests/ExtendingRhinoMocks.cs | ghcode:00006:8027121f95ad | bsd-3-clause | codeparrot/github-code | 8027121f95ad6620fbacc63fa0b5bedb05ed26e086f5153e10d35cb8aeb06f9f | 0.85 | testing_debugging_repair_refactoring | 1,049 | false | 2026-07-17 |
/*
Copyright © 2004-2010, Nicholas Campbell
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 notice, this list of conditions and th... | campbeln/cn-namespace | Cn.UnitTests/Tests/Data/clsMetaData.cs | https://github.com/campbeln/cn-namespace/blob/HEAD/Cn.UnitTests/Tests/Data/clsMetaData.cs | ghcode:00006:0425d033d7b2 | bsd-3-clause | codeparrot/github-code | 0425d033d7b218afecdc04294ce0fc01a7d5e2cdc563abc8e1a6a39d4bec294b | 0.95 | testing_debugging_repair_refactoring | 649 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Biggy;
namespace Biggy.SqlCe.Tests
{
[Trait("SQL CE Cache", "")]
public class SqlCeContextTest
{
string _connectionStringName = "chinook";
SqlCeCache _context;
publ... | jamescrowley/biggy | Biggy.SqlCe.Tests/SqlCeContext.cs | https://github.com/jamescrowley/biggy/blob/HEAD/Biggy.SqlCe.Tests/SqlCeContext.cs | ghcode:00006:808e8c8d53be | bsd-3-clause | codeparrot/github-code | 808e8c8d53bef196069dd55db7ad2eed277e8ec9ba0ae33104e81260c3f49f3c | 0.6 | testing_debugging_repair_refactoring | 266 | 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.Diagnostics;
using... | abock/roslyn | src/Compilers/CSharp/Portable/Symbols/Retargeting/RetargetingMethodSymbol.cs | https://github.com/abock/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Retargeting/RetargetingMethodSymbol.cs | ghcode:00006:0fd037e341fa | mit | codeparrot/github-code | 0fd037e341fa80ff326232d8a773397ede1606af65de90cf6a08d5ef9cd6b773 | 0.85 | testing_debugging_repair_refactoring | 1,893 | false | 2026-07-17 |
using NUnit.Framework;
namespace L4p.Common.Helpers.nunit
{
[TestFixture]
class Md5HelpersTests
{
[Test]
public void SimpleUsage()
{
string md5 = Md5Helpers.calculate_md5(
new {
From = "2013-01-01 00:00:00",
... | Kidify/L4p | L4p.Common/Helpers/nunit/Md5HelpersTests.cs | https://github.com/Kidify/L4p/blob/HEAD/L4p.Common/Helpers/nunit/Md5HelpersTests.cs | ghcode:00006:5ab824c1e279 | mit | codeparrot/github-code | 5ab824c1e2791fb6a48e4b9a243ce6465f1b71859e64417b6ab28b539f880a81 | 0.75 | testing_debugging_repair_refactoring | 166 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using Azure.Core;
using Azure.Core.TestFramework;
using Azure.Identity.Tests.Mock;
using NUnit.Framework;
namespace Azure.Identity.Tests
{
... | ayeletshpigelman/azure-sdk-for-net | sdk/identity/Azure.Identity/tests/ManagedIdentityCredentialTests.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/identity/Azure.Identity/tests/ManagedIdentityCredentialTests.cs | ghcode:00006:c6355fe4045f | mit | codeparrot/github-code | c6355fe4045f4d202cec73265b1c1fc9d7829581e7103fc890bb4266727facc7 | 0.95 | testing_debugging_repair_refactoring | 2,997 | false | 2026-07-17 |
namespace Startkicker.Services.Data.Tests.TestObjects
{
using System;
using Startkicker.Data.Models;
public static class TestObjectFactory
{
public static InMemoryRepository<Project> GetProjectsRepository(int numberOfProjects = TestConstants.InitialNumberForCreations)
{
var... | Telerik-Team-Ares/Startkicker | Source/Tests/Startkicker.Services.Data.Tests/TestObjects/TestObjectFactory.cs | https://github.com/Telerik-Team-Ares/Startkicker/blob/HEAD/Source/Tests/Startkicker.Services.Data.Tests/TestObjects/TestObjectFactory.cs | ghcode:00006:1760c97ce656 | mit | codeparrot/github-code | 1760c97ce65698d56c20629f944497f576f37555cd26cd3d5737698257a58b86 | 0.85 | testing_debugging_repair_refactoring | 380 | false | 2026-07-17 |
// Copyright 2005-2015 Giacomo Stelluti Scala & Contributors. All rights reserved. See License.md in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using CommandLine.Tests.Fakes;
using Xunit;
using FluentAssertions;
using Microsoft.FSharp.Core;
namespace Comma... | kshanafelt/commandline | tests/CommandLine.Tests/Unit/UnParserExtensionsTests.cs | https://github.com/kshanafelt/commandline/blob/HEAD/tests/CommandLine.Tests/Unit/UnParserExtensionsTests.cs | ghcode:00006:c8659a8c16c9 | mit | codeparrot/github-code | c8659a8c16c910e9f0f31134a747cf6f0c03e8233d9909c2c5181c1c947fb739 | 0.75 | testing_debugging_repair_refactoring | 1,704 | false | 2026-07-17 |
#region Copyright
//
// DotNetNuke® - http://www.dotnetnuke.com
// Copyright (c) 2002-2016
// by DotNetNuke Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to deal in the Software without restric... | yiji/Dnn.Platform | DNN Platform/Library/Obsolete/TestableUserController.cs | https://github.com/yiji/Dnn.Platform/blob/HEAD/DNN Platform/Library/Obsolete/TestableUserController.cs | ghcode:00006:ca70b1fe97dc | mit | codeparrot/github-code | ca70b1fe97dcf9fe746c1a72a8c880a627050f5138e908d18f7a0fbad5d40944 | 0.85 | testing_debugging_repair_refactoring | 609 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Net.Http;
using Xunit;
namespace System.Net.Http.Tests
{
public... | zhenlan/corefx | src/System.Net.Http/tests/UnitTests/DigestAuthenticationTests.cs | https://github.com/zhenlan/corefx/blob/HEAD/src/System.Net.Http/tests/UnitTests/DigestAuthenticationTests.cs | ghcode:00006:3a93c728b415 | mit | codeparrot/github-code | 3a93c728b415fc1a22baddf0e792c3f0d7e7fcd4031844e5eacf5bd5050070da | 0.95 | testing_debugging_repair_refactoring | 898 | false | 2026-07-17 |
using System.Linq;
using System.Threading.Tasks;
using Marten.Services;
using Marten.Testing.Harness;
using Weasel.Core;
using Weasel.Postgresql;
using Xunit;
namespace Marten.Testing.Linq
{
public class Bug_1061_Class
{
public string Id { get; set; }
public Bug_1061_Enum Enum { get; set; }
... | ericgreenmix/marten | src/Marten.Testing/Linq/Bug_1061_string_enum_serialization_does_not_work_with_ginindexjsondata.cs | https://github.com/ericgreenmix/marten/blob/HEAD/src/Marten.Testing/Linq/Bug_1061_string_enum_serialization_does_not_work_with_ginindexjsondata.cs | ghcode:00006:0a145e5cf798 | mit | codeparrot/github-code | 0a145e5cf7987214cb9baf677ac31e2822bc2d4cfd3310e7a0fbf0295b3b1537 | 0.75 | testing_debugging_repair_refactoring | 481 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using System.ComponentModel;
using System.Threading;
using System.Collections;
//using Newtonsoft.Json;
//using Newtonsoft.Json.Linq;
using PubNubMessaging.Core;
namespace PubNubMessaging.Tests
{
[TestFixt... | marceloinacio/c-sharp | monotouch/PubnubMessaging.Tests/WhenChannelGroupIsRequested.cs | https://github.com/marceloinacio/c-sharp/blob/HEAD/monotouch/PubnubMessaging.Tests/WhenChannelGroupIsRequested.cs | ghcode:00006:26dfe9a90022 | mit | codeparrot/github-code | 26dfe9a900220fff77f666172d47df911e1280486abb9ad44635ad0862bfcfd1 | 0.7 | testing_debugging_repair_refactoring | 1,743 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NewRelic.Platform.Sdk.Binding;
namespace NewRelic.Platform.Sdk.UnitTests.Binding
{
[TestClass]
public class ContextTest
{
[TestMethod]
public void TestContextInitialization()
{
var context = new Con... | uniqalex/NewRelicSDK | NewRelic.Platform.Sdk.UnitTests/Binding/ContextTest.cs | https://github.com/uniqalex/NewRelicSDK/blob/HEAD/NewRelic.Platform.Sdk.UnitTests/Binding/ContextTest.cs | ghcode:00006:5144849382fa | mit | codeparrot/github-code | 5144849382fa69c1a7338058cd5a5913d66dd1eb4c022dfec6b5fdef0bf17e1a | 0.7 | testing_debugging_repair_refactoring | 427 | false | 2026-07-17 |
using Aspose.Words;
using Aspose.Words.Reporting;
using NUnit.Framework;
namespace DocsExamples.LINQ_Reporting_Engine
{
public class Lists : DocsExamplesBase
{
[Test]
public void CreateBulletedList()
{
//ExStart:BulletedList
Document doc = new Document(MyDir + "... | aspose-words/Aspose.Words-for-.NET | Examples/DocsExamples/DocsExamples/LINQ Reporting Engine/Lists.cs | https://github.com/aspose-words/Aspose.Words-for-.NET/blob/HEAD/Examples/DocsExamples/DocsExamples/LINQ Reporting Engine/Lists.cs | ghcode:00006:f377da3198d0 | mit | codeparrot/github-code | f377da3198d005a31d5ab76dac4e81ad94f60a43a92435e7329967af036d2a85 | 0.7 | testing_debugging_repair_refactoring | 637 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="HeartbeatNodeRingSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2020 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2020 .NET Foundation <https://github.com/akkadotnet/akka.net>
// </copyr... | simonlaroche/akka.net | src/core/Akka.Cluster.Tests/HeartbeatNodeRingSpec.cs | https://github.com/simonlaroche/akka.net/blob/HEAD/src/core/Akka.Cluster.Tests/HeartbeatNodeRingSpec.cs | ghcode:00006:10efbdcb96ee | apache-2.0 | codeparrot/github-code | 10efbdcb96eedd6386fc208a22e3f77cfb7547e295fd4bff67ebe29419f4c08a | 0.85 | testing_debugging_repair_refactoring | 943 | false | 2026-07-17 |
using NSubstitute;
using NUnit.Framework;
using Usergrid.Sdk.Manager;
using Usergrid.Sdk.Model;
namespace Usergrid.Sdk.Tests.ClientTests
{
[TestFixture]
public class DeviceTests
{
#region Setup/Teardown
[SetUp]
public void Setup()
{
_entityManager = Substitute.... | srabya/usergrid-.net-sdk | Usergrid.Sdk.Tests/ClientTests/DeviceTests.cs | https://github.com/srabya/usergrid-.net-sdk/blob/HEAD/Usergrid.Sdk.Tests/ClientTests/DeviceTests.cs | ghcode:00006:4c1688c1df67 | apache-2.0 | codeparrot/github-code | 4c1688c1df673d0a29abb685cc4cac4b34d5c034267ef1b148dafdbe20b08c1f | 0.75 | testing_debugging_repair_refactoring | 871 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Reflection;
using OpenRiaServices.DomainServices.Tools.SharedTypes;
namespace OpenRiaServices.DomainServices.Tools
{
... | jeffhandley/OpenRiaServices | OpenRiaServices.DomainServices.Tools/Framework/CodeGenerationHost.cs | https://github.com/jeffhandley/OpenRiaServices/blob/HEAD/OpenRiaServices.DomainServices.Tools/Framework/CodeGenerationHost.cs | ghcode:00006:e56bd03076ce | apache-2.0 | codeparrot/github-code | e56bd03076ce39e8f522cb04f4cd23e00b29732dadaaf4ee6d36b86587e52002 | 0.85 | testing_debugging_repair_refactoring | 738 | false | 2026-07-17 |
using System.Threading;
namespace Helios.Concurrency.Tests
{
/// <summary>
/// Borrowed from the main Helios library in order to make it easier
/// to run unit tests on top of the
/// </summary>
public class AtomicCounter
{
public AtomicCounter(int seed)
{
_seed = ... | helios-io/DedicatedThreadPool | src/tests/Helios.DedicatedThreadPool.Tests/AtomicCounter.cs | https://github.com/helios-io/DedicatedThreadPool/blob/HEAD/src/tests/Helios.DedicatedThreadPool.Tests/AtomicCounter.cs | ghcode:00006:6aa240390644 | apache-2.0 | codeparrot/github-code | 6aa2403906449a4f774d26303322247642469c68b2a6d6b6560d2bd4d77a6ed3 | 0.95 | testing_debugging_repair_refactoring | 218 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AutoPoco.Tests.Unit.Regression
{
class IEngineConfigurationBuilder<T>
{
}
}
| reddy6ue/AutoPoco.NetCore | AutoPoco.Tests.Unit/Regression/IEngineConfigurationBuilder.cs | https://github.com/reddy6ue/AutoPoco.NetCore/blob/HEAD/AutoPoco.Tests.Unit/Regression/IEngineConfigurationBuilder.cs | ghcode:00006:8a33f4c45657 | apache-2.0 | codeparrot/github-code | 8a33f4c456570a014ea85e2cedfeb634dd0d13fe6f419c130c90b63a7f93fe80 | 0.5 | testing_debugging_repair_refactoring | 39 | false | 2026-07-17 |
#if net40
using System;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace Shouldly.Tests.ShouldNotThrow
{
public class TaskWithTimeoutScenario
{
[Fact]
public void ShouldThrowAWobbly()
{
var task = Task.Factory.StartNew(() => { Thread.Sleep(5000);... | AmadeusW/shouldly | src/Shouldly.Tests.Shared/ShouldNotThrow/TaskWithTimeoutScenario.cs | https://github.com/AmadeusW/shouldly/blob/HEAD/src/Shouldly.Tests.Shared/ShouldNotThrow/TaskWithTimeoutScenario.cs | ghcode:00006:3d07dd4d316f | bsd-3-clause | codeparrot/github-code | 3d07dd4d316ffef4c97d482d96a6d42f3be475b72d1f0138ce2df18a1742c41f | 0.75 | testing_debugging_repair_refactoring | 239 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Utils.TypeMapping;
namespace Utils.Test
{
#region TestClasses
interface ITestClass { }
class TestClass : ITestClass { }
class TestClassWDefaultCtor : ITestClass
{
public TestClas... | stadub/WinClipboardApi | Utils.Test/ServiceLocatorTest.cs | https://github.com/stadub/WinClipboardApi/blob/HEAD/Utils.Test/ServiceLocatorTest.cs | ghcode:00006:0510053351be | bsd-3-clause | codeparrot/github-code | 0510053351be45c484216992ceb66b6e56971971622ca8dee88c74c22f08be44 | 0.6 | testing_debugging_repair_refactoring | 2,732 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using AutoFixture.Kernel;
using Xunit;
namespace AutoFixture.SeedExtensions.UnitTest
{
public class CreateSeedExtensionsTest
{
[Fact]
[Obsolete]
public void CreateSeededAnonymousOnContainerReturnsCorrectResult()
... | Pvlerick/AutoFixture | Src/AutoFixture.SeedExtensions.UnitTest/CreateSeedExtensionsTest.cs | https://github.com/Pvlerick/AutoFixture/blob/HEAD/Src/AutoFixture.SeedExtensions.UnitTest/CreateSeedExtensionsTest.cs | ghcode:00006:1813f84fb079 | mit | codeparrot/github-code | 1813f84fb07939020e01931b732625d4ca0990a9b1b1acd418e7d01b111aecf2 | 0.7 | testing_debugging_repair_refactoring | 1,871 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Microsoft.Build.Shared;
using Microsoft.Build.Utilities;
using Shouldly;
using Xunit;
using BuildUtilities = Microsoft.Build.Utilities;
namespace M... | Microsoft/msbuild | src/Utilities.UnitTests/ProcessorArchitecture_Tests.cs | https://github.com/Microsoft/msbuild/blob/HEAD/src/Utilities.UnitTests/ProcessorArchitecture_Tests.cs | ghcode:00006:61f6c6e4a471 | mit | codeparrot/github-code | 61f6c6e4a471dd942c93d6bc551f8bfc20e2450cca3ff078dafbcd343f9b6503 | 0.85 | testing_debugging_repair_refactoring | 901 | false | 2026-07-17 |
namespace AutoFixture.AutoMoq.UnitTest.TestTypes
{
public interface IInterfaceWithGetOnlyProperty
{
string GetOnlyProperty { get; }
}
}
| Pvlerick/AutoFixture | Src/AutoMoqUnitTest/TestTypes/IInterfaceWithGetOnlyProperty.cs | https://github.com/Pvlerick/AutoFixture/blob/HEAD/Src/AutoMoqUnitTest/TestTypes/IInterfaceWithGetOnlyProperty.cs | ghcode:00006:78171fb8f106 | mit | codeparrot/github-code | 78171fb8f1062d3c24181b8e977a4e1062cb2dc9f997daed740133f7be3ea606 | 0.35 | testing_debugging_repair_refactoring | 36 | false | 2026-07-17 |
// <copyright file="DefaultParametersFeature.cs" company="xBehave.net contributors">
// Copyright (c) xBehave.net contributors. All rights reserved.
// </copyright>
namespace Xbehave.Test.Acceptance
{
using System;
using FluentAssertions;
using Xbehave.Test.Acceptance.Infrastructure;
using X... | modulexcite/xbehave.net | src/test/Xbehave.Test.Acceptance.Net40/DefaultParametersFeature.cs | https://github.com/modulexcite/xbehave.net/blob/HEAD/src/test/Xbehave.Test.Acceptance.Net40/DefaultParametersFeature.cs | ghcode:00006:b2742e392941 | mit | codeparrot/github-code | b2742e3929417886fcc10a514e3d1ef2550050176651318fc70825f0553baa68 | 0.95 | testing_debugging_repair_refactoring | 509 | 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... | devigned/azure-powershell | src/ResourceManager/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/TestsBase.cs | https://github.com/devigned/azure-powershell/blob/HEAD/src/ResourceManager/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/TestsBase.cs | ghcode:00006:eb75b252c0b3 | apache-2.0 | codeparrot/github-code | eb75b252c0b321310e2b83e7eaa25d1f1df477b46e3d33678ece0f04a297562c | 0.85 | testing_debugging_repair_refactoring | 1,109 | 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.Diagnostics.CodeAnalysis;
namespace Roslyn.Utilities
{
in... | physhi/roslyn | src/Compilers/Core/Portable/InternalUtilities/Debug.cs | https://github.com/physhi/roslyn/blob/HEAD/src/Compilers/Core/Portable/InternalUtilities/Debug.cs | ghcode:00006:744d68fd073d | apache-2.0 | codeparrot/github-code | 744d68fd073d59209663b9ac8ad4ebb63e37511d25091b71d6ceffb67cd120c4 | 0.85 | testing_debugging_repair_refactoring | 507 | false | 2026-07-17 |
using System.Collections.Generic;
using Octokit.Internal;
using System;
using System.Net;
using System.Threading.Tasks;
using NSubstitute;
using Xunit;
using Xunit.Extensions;
namespace Octokit.Tests.Clients
{
public class StarredClientTests
{
public class TheGetAllForCurrentMethod
{
... | chunkychode/octokit.net | Octokit.Tests/Clients/StarredClientTests.cs | https://github.com/chunkychode/octokit.net/blob/HEAD/Octokit.Tests/Clients/StarredClientTests.cs | ghcode:00006:7b71a714d6e4 | mit | codeparrot/github-code | 7b71a714d6e43818cc4453f0d480ad7fbe0c3829117c87fe7b6156664e99335f | 0.75 | testing_debugging_repair_refactoring | 870 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ReportTests
{
public class FunctionTest
{
[Test()]
public void Test1()
{
// disable test. travis ci does not have x11
//string cwd = System.En... | majorsilence/My-FyiReporting | ReportTests/FunctionTest.cs | https://github.com/majorsilence/My-FyiReporting/blob/HEAD/ReportTests/FunctionTest.cs | ghcode:00006:0a080c8794eb | apache-2.0 | codeparrot/github-code | 0a080c8794eb7e1f76f4ab62346536de7e166939c6165c9c0b5cba21b88c4c1b | 0.7 | testing_debugging_repair_refactoring | 249 | false | 2026-07-17 |
//
// Tests for System.Xml.Serialization.SoapSchemaMember
//
// Author:
// Gert Driesen
//
// (C) 2005 Novell
//
using System.Xml;
using System.Xml.Serialization;
using NUnit.Framework;
namespace MonoTests.System.XmlSerialization
{
[TestFixture]
public class SoapSchemaMemberTests
{
[Test]
public void Member... | matthid/Yaaf.Xmpp.Runtime | src/source/System.XML/Test/System.Xml.Serialization/SoapSchemaMemberTests.cs | https://github.com/matthid/Yaaf.Xmpp.Runtime/blob/HEAD/src/source/System.XML/Test/System.Xml.Serialization/SoapSchemaMemberTests.cs | ghcode:00006:eb079ae0d1da | apache-2.0 | codeparrot/github-code | eb079ae0d1da3e71f0f362b09942fa8d27f45bba3cf868007fedf181667bf485 | 0.95 | testing_debugging_repair_refactoring | 175 | 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.Linq;
using System.Text;
using System.Threading.Tasks;
... | mafiya69/corefx | src/System.Linq/tests/RangeTests.cs | https://github.com/mafiya69/corefx/blob/HEAD/src/System.Linq/tests/RangeTests.cs | ghcode:00006:d13fa284df93 | mit | codeparrot/github-code | d13fa284df9330f5a63aeb9d6f1017ea6e23159f3f32684dcbac0aecdc538be2 | 0.95 | testing_debugging_repair_refactoring | 1,473 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.Extensions.EnvironmentAbstractions;
namespace Microsoft.Extensions.DependencyModel
{
public class DependencyContextLoader
{
... | anurse/Cli | src/Microsoft.Extensions.DependencyModel/DependencyContextLoader.cs | https://github.com/anurse/Cli/blob/HEAD/src/Microsoft.Extensions.DependencyModel/DependencyContextLoader.cs | ghcode:00006:2877c6672339 | apache-2.0 | codeparrot/github-code | 2877c6672339b39e1d92ac6c568b8b9aec02ec4f2d8cfa1dc34bc6806f6c0362 | 0.6 | testing_debugging_repair_refactoring | 944 | 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.Diagnostics;
using Internal.Text;
using Internal.Type... | zenos-os/zenos | vendor/corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/SealedVTableNode.cs | https://github.com/zenos-os/zenos/blob/HEAD/vendor/corert/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/SealedVTableNode.cs | ghcode:00006:3f60fd4aac7e | mit | codeparrot/github-code | 3f60fd4aac7e592ec451649898374d7f886c0ab8cfef84919e7b663aeef8d5a7 | 0.8 | testing_debugging_repair_refactoring | 1,428 | false | 2026-07-17 |
//
// KeyPairPersistenceTest.cs: Unit tests for keypair persistence
//
// Author:
// Sebastien Pouliot <sebastien@ximian.com>
//
// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentat... | jjenki11/blaze-chem-rendering | qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/Mono.Security/Test/Mono.Security.Cryptography/KeyPairPersistenceTest.cs | https://github.com/jjenki11/blaze-chem-rendering/blob/HEAD/qca_designer/lib/ml-pnet-0.8.1/mcs-sources/class/Mono.Security/Test/Mono.Security.Cryptography/KeyPairPersistenceTest.cs | ghcode:00006:5765219b882c | mit | codeparrot/github-code | 5765219b882c77e8f5babdde6861a3f22c9161fa11493460a36fc2f8677e1a31 | 0.95 | testing_debugging_repair_refactoring | 2,066 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.