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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
namespace Moya.Dummy.Test.Project.Attributes
{
using Moya.Attributes;
public class CustomPreAttribute : MoyaAttribute
{
}
} | Hammerstad/Moya | src/Moya.Dummy.Test.Project/Attributes/CustomPreAttribute.cs | https://github.com/Hammerstad/Moya/blob/HEAD/src/Moya.Dummy.Test.Project/Attributes/CustomPreAttribute.cs | ghcode:00175:b5f895aed3cb | mit | codeparrot/github-code | b5f895aed3cbbbf11b5a9e405051d3014ba53ac4fc5f9e5b12a54db5446a4a38 | 0.5 | testing_debugging_repair_refactoring | 33 | false | 2026-07-17 |
using System;
using Xunit;
namespace DotNetCross.Memory.Tests
{
public class Unsafe_RefAtByteOffset_Test
{
public class ObjectValue
{
public int Value = 42;
}
[Fact]
public static unsafe void RefAtByteOffset_Object()
{
var obj = new Objec... | DotNetCross/Memory.Unsafe | src/DotNetCross.Memory.Unsafe.Tests/Unsafe.RefAtByteOffset.Test.cs | https://github.com/DotNetCross/Memory.Unsafe/blob/HEAD/src/DotNetCross.Memory.Unsafe.Tests/Unsafe.RefAtByteOffset.Test.cs | ghcode:00175:8c08275524cd | mit | codeparrot/github-code | 8c08275524cda5fa130dd905b29aa165cba671a3fbeae9956b0ad394b204223d | 0.75 | testing_debugging_repair_refactoring | 321 | false | 2026-07-17 |
namespace AvgIdentity.Test
{
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AvgIdentity.Models;
using AvgIdentity.Test.Mocks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class UserTests
{
private const s... | atanas-georgiev/AvgIdentity | test/AvgIdentity.Test/UserTests.cs | https://github.com/atanas-georgiev/AvgIdentity/blob/HEAD/test/AvgIdentity.Test/UserTests.cs | ghcode:00175:42c4ce793d5f | mit | codeparrot/github-code | 42c4ce793d5fa6509bf64f5f4969286751f25adde248007f812255961e5b15ec | 0.85 | testing_debugging_repair_refactoring | 3,219 | false | 2026-07-17 |
// Copyright © John Gietzen. All Rights Reserved. This source is subject to the MIT license. Please see license.md for more information.
namespace Pegasus.Tests.Common.Highlighting
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
us... | otac0n/Pegasus | Pegasus.Tests/Common/Highlighting/SyntaxHighlighterTests.cs | https://github.com/otac0n/Pegasus/blob/HEAD/Pegasus.Tests/Common/Highlighting/SyntaxHighlighterTests.cs | ghcode:00175:7c45c6260290 | mit | codeparrot/github-code | 7c45c6260290906a07c3aea0e607f47dd7679fe0cdd508ba4c8768eabc5d75c3 | 0.75 | testing_debugging_repair_refactoring | 1,209 | false | 2026-07-17 |
// <copyright file="EnigmaSymmetricTests.Rotors.cs" company="APH Software">
// Copyright (c) Andrew Hawkins. All rights reserved.
// </copyright>
namespace Useful.Security.Cryptography.Tests
{
using System;
using System.Security.Cryptography;
using System.Text;
using Useful.Security.Cryptography;
... | aphawkins/Useful | test/Useful.Security.Cryptography.Streams.Tests/Security/Cryptography/EnigmaSymmetricTests.Rotors.cs | https://github.com/aphawkins/Useful/blob/HEAD/test/Useful.Security.Cryptography.Streams.Tests/Security/Cryptography/EnigmaSymmetricTests.Rotors.cs | ghcode:00175:15b9d5293e6a | mit | codeparrot/github-code | 15b9d5293e6a98f388033508b4ae684269694c76892f352cbd371624d78ee2e5 | 0.85 | testing_debugging_repair_refactoring | 881 | false | 2026-07-17 |
using LinqToTwitter.Common;
using LinqToTwitter.Common.Entities;
using LinqToTwitter.OAuth;
using LinqToTwitter.Provider;
using LinqToTwitter.Tests.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.T... | JoeMayo/LinqToTwitter | src/LinqToTwitter6/LinqToTwitter.Tests/WelcomeMessageTests/WelcomeMessageCommandsTests.cs | https://github.com/JoeMayo/LinqToTwitter/blob/HEAD/src/LinqToTwitter6/LinqToTwitter.Tests/WelcomeMessageTests/WelcomeMessageCommandsTests.cs | ghcode:00175:e646667d713a | mit | codeparrot/github-code | e646667d713a4567698280fa83b44236d9605e7c26e1e3bcedfe4cb0a3a497c8 | 0.85 | testing_debugging_repair_refactoring | 3,653 | false | 2026-07-17 |
using NUnit.Framework;
namespace CodeEditor.Collections.Tests
{
[TestFixture]
public class InsertionBufferTest
{
[Test]
public void ReturnedPieceIsAppendableWhileBufferHasntChanged()
{
var buffer = new InsertionBuffer<int>();
var piece = buffer.Insert(42);
Assert.IsTrue(IsAppendable(piece));
Ass... | Unity-Technologies/CodeEditor | src/CodeEditor.Collections.Tests/InsertionBufferTest.cs | https://github.com/Unity-Technologies/CodeEditor/blob/HEAD/src/CodeEditor.Collections.Tests/InsertionBufferTest.cs | ghcode:00175:7909ebb3faf4 | mit | codeparrot/github-code | 7909ebb3faf46109629f2394817a7865bbcea72b5560fd7f7d72d097272c5a2d | 0.6 | testing_debugging_repair_refactoring | 501 | false | 2026-07-17 |
/*
Copyright (c) 2014 <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, copy, ... | JaCraig/Craig-s-Utility-Library | UnitTests/ORM/Manager/Mapper/Default/ManyToMany.cs | https://github.com/JaCraig/Craig-s-Utility-Library/blob/HEAD/UnitTests/ORM/Manager/Mapper/Default/ManyToMany.cs | ghcode:00175:3f5b623f8387 | mit | codeparrot/github-code | 3f5b623f8387e39b40bf64ff60d6990fe3f030a037892d4889c83a140e6f3f68 | 0.6 | testing_debugging_repair_refactoring | 1,564 | false | 2026-07-17 |
// Description: C# Extension Methods | Enhance the .NET Framework and .NET Core with over 1000 extension methods.
// Website & Documentation: https://csharp-extension.com/
// Issues: https://github.com/zzzprojects/Z.ExtensionMethods/issues
// License (MIT): https://github.com/zzzprojects/Z.ExtensionMethods/blob/master/... | zzzprojects/Z.ExtensionMethods | test/Z.IO.Test/System.IO.FileInfo/FileInfo.CountLines.cs | https://github.com/zzzprojects/Z.ExtensionMethods/blob/HEAD/test/Z.IO.Test/System.IO.FileInfo/FileInfo.CountLines.cs | ghcode:00175:2843334852b5 | mit | codeparrot/github-code | 2843334852b5307a489a91e07e725f11838f0d0dc26fc083b4ad434b94008767 | 0.7 | testing_debugging_repair_refactoring | 322 | false | 2026-07-17 |
using NSpec;
using NSpecSpecs.WhenRunningSpecs;
using NUnit.Framework;
namespace NSpecSpecs.describe_RunningSpecs.describe_before_and_after
{
[TestFixture]
public class inheritance : when_running_specs
{
class BaseSpec : sequence_spec
{
void before_all()
{
... | BrainCrumbz/NSpec.NetCore | sln/test/NSpecSpecs/describe_RunningSpecs/describe_before_and_after/inheritance.cs | https://github.com/BrainCrumbz/NSpec.NetCore/blob/HEAD/sln/test/NSpecSpecs/describe_RunningSpecs/describe_before_and_after/inheritance.cs | ghcode:00175:65d08f4539c7 | mit | codeparrot/github-code | 65d08f4539c726a09c0735ffd2cd3261c12e5ad2c5a4a5729c69b3f0be54c39e | 0.85 | testing_debugging_repair_refactoring | 297 | false | 2026-07-17 |
using System;
using System.Threading;
using Xunit;
using Medo.Timers;
namespace Tests.Medo.Timers {
public class PerSecondCounterTests {
[Fact(DisplayName = "PerSecondCounter: Basic")]
public void Basic() {
var tps = new PerSecondCounter();
while (DateTime.Now.Millisecond >... | medo64/Medo | tests/Tests.Medo/Timers/PerSecondCounter.Tests.cs | https://github.com/medo64/Medo/blob/HEAD/tests/Tests.Medo/Timers/PerSecondCounter.Tests.cs | ghcode:00175:26dab99bc065 | mit | codeparrot/github-code | 26dab99bc0658953d62a36e269f7906a5e73b7302ac9b3b87e726874d880731d | 0.85 | testing_debugging_repair_refactoring | 620 | false | 2026-07-17 |
/*
* John Hall <john.hall@camtechconsultants.com>
* Copyright (c) Cambridge Technology Consultants Ltd. All rights reserved.
*/
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CTC.CvsntGitImporter.TestCode
{
/// <summary>
/// Unit tests for the FileContent class.
/// </s... | CamTechConsultants/CvsntGitImporter | CvsGitTest/FileContentTest.cs | https://github.com/CamTechConsultants/CvsntGitImporter/blob/HEAD/CvsGitTest/FileContentTest.cs | ghcode:00175:11f17ae52e93 | mit | codeparrot/github-code | 11f17ae52e93d3a03694b2d0c5631a9c2a793c5cf1e0aae516809cc12a2c6b4e | 0.7 | testing_debugging_repair_refactoring | 200 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2013 Charlie Poole, Rob Prouse
//
// 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 restri... | jadarnel27/nunit | src/NUnitFramework/framework/Internal/Filters/ValueMatchFilter.cs | https://github.com/jadarnel27/nunit/blob/HEAD/src/NUnitFramework/framework/Internal/Filters/ValueMatchFilter.cs | ghcode:00175:e5b23e2e9563 | mit | codeparrot/github-code | e5b23e2e9563796713d98b8f20e8fe43ed777ec202bfd69813dbfeddcdb1aa0b | 0.85 | testing_debugging_repair_refactoring | 693 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Traits
{
using System;
using Xunit.Sdk;
[TraitDiscoverer(CategoryDiscoverer.DiscovererTypeName, DiscovererUtils.AssemblyName)]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
public sealed class CategoryAttribute : Attribute, I... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Traits/CategoryAttribute.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Traits/CategoryAttribute.cs | ghcode:00175:7ce4b4c21da4 | mit | codeparrot/github-code | 7ce4b4c21da42188ccf3d17c2bfa3c7764846e93f1b08fa3cceecfdf34e316fe | 0.85 | testing_debugging_repair_refactoring | 97 | false | 2026-07-17 |
using Akka.TestKit.Xunit2;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Neo.Cryptography;
using Neo.IO;
using Neo.Ledger;
using Neo.Network.P2P.Payloads;
using Neo.Persistence;
using Neo.Plugins;
using Neo.SmartContract;
using Neo.SmartContract.Native;
using System;
using... | AntShares/AntShares | tests/neo.UnitTests/Ledger/UT_MemoryPool.cs | https://github.com/AntShares/AntShares/blob/HEAD/tests/neo.UnitTests/Ledger/UT_MemoryPool.cs | ghcode:00175:27c8c141d96d | mit | codeparrot/github-code | 27c8c141d96d56272be36d5ae0f91232700c5b4a9dda09dc92b7ad594d530551 | 0.7 | testing_debugging_repair_refactoring | 4,593 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace hunspell_tr.Test
{
[TestFixture]
class UnitTests
{
[Test]
public void Unigrams_Get()
{
IEnumerable<string> expected = new[] {... | hrzafer/hunspell-tr | Test/UnitTests.cs | https://github.com/hrzafer/hunspell-tr/blob/HEAD/Test/UnitTests.cs | ghcode:00175:0eba2905d14c | mit | codeparrot/github-code | 0eba2905d14cc728a71742823f46ab587d9c5642061a74ec1018f99856e41a90 | 0.75 | testing_debugging_repair_refactoring | 104 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Buffers.Reader;
using System.Buffers.Testing;
using System.IO.Pipelines.Tests;
using Xunit;
namespace ... | adamsitnik/corefxlab | tests/System.Buffers.ReaderWriter.Tests/ReaderBasicTests.cs | https://github.com/adamsitnik/corefxlab/blob/HEAD/tests/System.Buffers.ReaderWriter.Tests/ReaderBasicTests.cs | ghcode:00175:bb34a9ae4937 | mit | codeparrot/github-code | bb34a9ae493756796cfc93cc2a46728653532bf93eca4b463264df0137101951 | 0.85 | testing_debugging_repair_refactoring | 3,445 | false | 2026-07-17 |
using Castle.Windsor;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using SandwichOrderSystemShared.DI;
using System;
namespace SandwichOrderSystemShared.DataAccess.Db.Tests
{
[TestClass()]
public class ContextFactoryTests
{
IContextFactory contextFactory;
Mock<IDIContaine... | davejlin/sandwich-order-system | src/SandwichOrderSystem/SandwichOrderSystemSharedTests/DataAccess/Db/ContextFactoryTests.cs | https://github.com/davejlin/sandwich-order-system/blob/HEAD/src/SandwichOrderSystem/SandwichOrderSystemSharedTests/DataAccess/Db/ContextFactoryTests.cs | ghcode:00175:86db37f83f5e | unlicense | codeparrot/github-code | 86db37f83f5e5cb9f457bab2350d12f471c7ccc39dc2a136252f9d03075f00dc | 0.68 | testing_debugging_repair_refactoring | 261 | false | 2026-07-17 |
using System.Linq;
using NetGore.Collections;
using NUnit.Framework;
namespace NetGore.Tests.NetGore.Collections
{
[TestFixture]
public class CyclingObjectArrayTests
{
#region Unit tests
[Test]
public void NextFreeKeyTest()
{
var c = CyclingObjectArray.CreateUs... | LAGIdiot/NetGore | NetGore.Tests/NetGore/Collections/CyclingObjectArrayTests.cs | https://github.com/LAGIdiot/NetGore/blob/HEAD/NetGore.Tests/NetGore/Collections/CyclingObjectArrayTests.cs | ghcode:00175:252a0b36f804 | unlicense | codeparrot/github-code | 252a0b36f8046d16982e550fae94fb2a0a8276084e1d3e40d16d7fda3f8426bf | 0.68 | testing_debugging_repair_refactoring | 513 | false | 2026-07-17 |
using System;
using Lucene.Net.Documents;
using Lucene.Net.Index.Extensions;
using Lucene.Net.Support;
using NUnit.Framework;
using RandomizedTesting.Generators;
using Assert = Lucene.Net.TestFramework.Assert;
namespace Lucene.Net.Index
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or mor... | NightOwl888/lucenenet | src/Lucene.Net.Tests/Index/TestConsistentFieldNumbers.cs | https://github.com/NightOwl888/lucenenet/blob/HEAD/src/Lucene.Net.Tests/Index/TestConsistentFieldNumbers.cs | ghcode:00175:6ec80782deda | apache-2.0 | codeparrot/github-code | 6ec80782dedac5f6cc5f1cbf583f815ebf6dea3c18b8b8c8b43098e42d70a2cf | 0.85 | testing_debugging_repair_refactoring | 3,839 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using QAMagnet.Tests.Pages.HomePage;
using QAMagnet.Tests.Pages.SinglePostPage;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QAMagn... | bankova/QAMagnet | QAMagnet.Tests6-Refactored/QAMagnet.Tests/Common/BaseQAMagnetTests.cs | https://github.com/bankova/QAMagnet/blob/HEAD/QAMagnet.Tests6-Refactored/QAMagnet.Tests/Common/BaseQAMagnetTests.cs | ghcode:00175:3adaeef922f2 | apache-2.0 | codeparrot/github-code | 3adaeef922f2fca4e3742e6701072db9ed2ae85ecd0823d6ca000f67152956d6 | 0.75 | testing_debugging_repair_refactoring | 184 | false | 2026-07-17 |
using System;
using System.IO;
using System.Reflection;
using NUnitEx.ExternalTestCaseSource.Enums;
using NUnitEx.ExternalTestCaseSource.Exceptions;
using String = NUnitEx.ExternalTestCaseSource.Helpers.String;
namespace NUnitEx.ExternalTestCaseSource
{
/// <summary>
/// Abstract class to handle all the file ... | joaoasrosa/nunitexternalsources | src/ExternalTestCaseSource/TestCaseSourceFile.cs | https://github.com/joaoasrosa/nunitexternalsources/blob/HEAD/src/ExternalTestCaseSource/TestCaseSourceFile.cs | ghcode:00175:22589654116e | apache-2.0 | codeparrot/github-code | 22589654116e49493abdffa4ba08889a20d49cb1b0d92e6b83bf4ead8863d36b | 0.85 | testing_debugging_repair_refactoring | 719 | false | 2026-07-17 |
using System;
using System.Globalization;
using Microsoft.CodeAnalysis;
using Moq.Properties;
namespace Moq
{
class ResourceString : LocalizableString
{
readonly string name;
public ResourceString(string name) => this.name = name;
protected override bool AreEqual(object other)
... | Moq/moq | src/Moq.CodeFix/ResourceString.cs | https://github.com/Moq/moq/blob/HEAD/src/Moq.CodeFix/ResourceString.cs | ghcode:00175:d607bc0d7410 | apache-2.0 | codeparrot/github-code | d607bc0d74107b79b48a7463b29e09632ba79cb7e10f02b95fdb4c9c7ec42b03 | 0.75 | testing_debugging_repair_refactoring | 119 | false | 2026-07-17 |
namespace Machete.HL7.Tests
{
using HL7Schema.V26;
using NUnit.Framework;
using Testing;
[TestFixture]
public class HasValueTests :
HL7MacheteTestHarness<MSH, HL7Entity>
{
[Test]
public void Should_detect_field_has_no_value()
{
const string message ... | phatboyg/Machete | src/Machete.HL7.Tests/HasValueTests.cs | https://github.com/phatboyg/Machete/blob/HEAD/src/Machete.HL7.Tests/HasValueTests.cs | ghcode:00175:e94ee8b6604a | apache-2.0 | codeparrot/github-code | e94ee8b6604af8b9cbc2e11842db7b9ab6f21575ec0edcc1c0c72715cba7a2e9 | 0.75 | testing_debugging_repair_refactoring | 362 | false | 2026-07-17 |
#region License
/*
* Copyright © 2002-2005 the original author or authors.
*
* 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
*
* Un... | MaferYangPointJun/Spring.net | test/Spring/Spring.Aop.Tests/Aop/Framework/Adapter/AfterReturningAdviceInterceptorTests.cs | https://github.com/MaferYangPointJun/Spring.net/blob/HEAD/test/Spring/Spring.Aop.Tests/Aop/Framework/Adapter/AfterReturningAdviceInterceptorTests.cs | ghcode:00175:35a8498d16c0 | apache-2.0 | codeparrot/github-code | 35a8498d16c0d59fb1ca88eb36284bec144cd8dca43983b6167766137279617b | 0.85 | testing_debugging_repair_refactoring | 725 | false | 2026-07-17 |
using JetBrains.Application.Settings;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.FeaturesTestFramework.Intentions;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.TestFramework;
using NUnit.Framework;
using ReCommendedExtension.Analyzers.Await;
namespace ReCommendedExtension... | prodot/ReCommended-Extension | Sources/ReCommendedExtension.Tests/Analyzers/AwaitAnalyzerTestsRedundantAwaitQuickFixAvailabilityTests.cs | https://github.com/prodot/ReCommended-Extension/blob/HEAD/Sources/ReCommendedExtension.Tests/Analyzers/AwaitAnalyzerTestsRedundantAwaitQuickFixAvailabilityTests.cs | ghcode:00175:e6959b6541b3 | apache-2.0 | codeparrot/github-code | e6959b6541b36cf5e7dda2bbb1f9a92963c5a58e690961cea4cfedc7ecefd659 | 0.75 | testing_debugging_repair_refactoring | 201 | false | 2026-07-17 |
// <copyright file="MetricsHostTestFixture{TStartup}.cs" company="App Metrics Contributors">
// Copyright (c) App Metrics Contributors. All rights reserved.
// </copyright>
using System;
using System.Net.Http;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.Dependen... | alhardy/AppMetrics | src/AspNetCore/test/App.Metrics.AspNetCore.Integration.Facts/MetricsHostTestFixture{TStartup}.cs | https://github.com/alhardy/AppMetrics/blob/HEAD/src/AspNetCore/test/App.Metrics.AspNetCore.Integration.Facts/MetricsHostTestFixture{TStartup}.cs | ghcode:00175:e50621dece3a | apache-2.0 | codeparrot/github-code | e50621dece3ae4b24b1c288ef6f1a2248eca0c3ce2fd5ee59cf18c76ee7da710 | 0.95 | testing_debugging_repair_refactoring | 222 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="AndExpressionTestFixture.cs" company="RHEA System S.A.">
//
// Copyright 2016-2021 RHEA System S.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// ... | RHEAGROUP/ecss-10-25-annexc-integration-tests | IntegrationTestSuite/WebservicesIntegrationTests/Tests/EngineeringModel/AndExpression/AndExpressionTestFixture.cs | https://github.com/RHEAGROUP/ecss-10-25-annexc-integration-tests/blob/HEAD/IntegrationTestSuite/WebservicesIntegrationTests/Tests/EngineeringModel/AndExpression/AndExpressionTestFixture.cs | ghcode:00175:168e326aa9d4 | apache-2.0 | codeparrot/github-code | 168e326aa9d42493003e9761212ec9d7531d8403475b17a1706edd47e092c0ad | 0.95 | testing_debugging_repair_refactoring | 3,141 | false | 2026-07-17 |
using System;
using System.IO;
using System.Net;
using NUnit.Framework;
using Ubiety.Dns.Records;
namespace Ubiety.Dns.Tests.Records
{
[TestFixture]
public class AAAARecordTest
{
private MemoryStream _stream = new MemoryStream();
[SetUp]
public void Init()
{
va... | ubiety/Ubiety.Dns | Ubiety.Dns.Tests/Records/AAAARecordTest.cs | https://github.com/ubiety/Ubiety.Dns/blob/HEAD/Ubiety.Dns.Tests/Records/AAAARecordTest.cs | ghcode:00175:354f1f22ca13 | apache-2.0 | codeparrot/github-code | 354f1f22ca1353aa449f47d68efbb52b7e9e0d02bf792a0f73b5d4b13e9c6e9b | 0.6 | testing_debugging_repair_refactoring | 372 | false | 2026-07-17 |
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requi... | NakedObjectsGroup/NakedObjectsFramework | NakedFramework/NakedFramework.Metamodel.Test/Facet/MandatoryFacetTest.cs | https://github.com/NakedObjectsGroup/NakedObjectsFramework/blob/HEAD/NakedFramework/NakedFramework.Metamodel.Test/Facet/MandatoryFacetTest.cs | ghcode:00175:88626088e3d6 | apache-2.0 | codeparrot/github-code | 88626088e3d68a6bdddac28d7c6d97c130840247025745ab569575438b2515eb | 0.85 | testing_debugging_repair_refactoring | 406 | false | 2026-07-17 |
using System;
using System.Linq;
using Bytes2you.Validation.ValidationPredicates.GuidPredicates;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bytes2you.Validation.UnitTests.ValidatoinPredicates.GuidPredicates.GuidNotEmptyValidationPredicateTests
{
[TestClass]
public class Match_Should
{
... | veskokolev/Bytes2you.Validation | src/Bytes2you.Validation.UnitTests/ValidationPredicates/GuidPredicates/GuidNotEmptyValidationPredicateTests/Match_Should.cs | https://github.com/veskokolev/Bytes2you.Validation/blob/HEAD/src/Bytes2you.Validation.UnitTests/ValidationPredicates/GuidPredicates/GuidNotEmptyValidationPredicateTests/Match_Should.cs | ghcode:00175:67ee3742b3f2 | apache-2.0 | codeparrot/github-code | 67ee3742b3f2b79d5096ab328bc4a450117855616af6a5c3e8e5d0208049665b | 0.7 | testing_debugging_repair_refactoring | 291 | false | 2026-07-17 |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Tibre.ERMineTransformer;
using Tibre.Core.Objects;
namespace Tibre.Core.UnitTesting
{
[TestClass]
public class ParserTest
{
[TestMethod]
public void Parse_Entity_Anchor()
{
var in... | Seddryck/Tibre | ERMineTransformer.UnitTesting/ParserTest.cs | https://github.com/Seddryck/Tibre/blob/HEAD/ERMineTransformer.UnitTesting/ParserTest.cs | ghcode:00175:7059e6179672 | apache-2.0 | codeparrot/github-code | 7059e617967230c7ba0808173fb6b19811b589a1792cc81f2dafff6f18fd7ea7 | 0.6 | testing_debugging_repair_refactoring | 905 | false | 2026-07-17 |
using System;
using System.IO;
using System.Linq;
using System.Runtime.Versioning;
using Xunit.Abstractions;
namespace Xunit.Sdk
{
/// <summary>
/// A base implementation of <see cref="ITestFrameworkDiscoverer"/> that supports test filtering
/// and runs the discovery process on a thread pool thread.
... | cuteant/xunit-v2-net40-fork | xunit.execution/Sdk/Frameworks/TestFrameworkDiscoverer.cs | https://github.com/cuteant/xunit-v2-net40-fork/blob/HEAD/xunit.execution/Sdk/Frameworks/TestFrameworkDiscoverer.cs | ghcode:00175:dd619612065f | apache-2.0 | codeparrot/github-code | dd619612065fd50c3d2fed7b0cf1dc248a3ce5dbf2a6d6fe8c810f7858309e1e | 0.85 | testing_debugging_repair_refactoring | 1,711 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using NUnit.Framework;
using ServiceStack.Common;
using ServiceStack.Common.Utils;
using ServiceStack.Text;
using ServiceStack.WebHost.EndPoints.Formats;
namespace ServiceStack.ServiceHost.Tests.Formats
{
[TestFixture]
public class Markdown... | xamarin/ServiceStack | tests/ServiceStack.ServiceHost.Tests/Formats/MarkdownFormatTests.cs | https://github.com/xamarin/ServiceStack/blob/HEAD/tests/ServiceStack.ServiceHost.Tests/Formats/MarkdownFormatTests.cs | ghcode:00175:d42de211f58c | bsd-3-clause | codeparrot/github-code | d42de211f58c8138db37b46e9f330236797ba322b1d70309f94c08361bbc428a | 0.85 | testing_debugging_repair_refactoring | 834 | false | 2026-07-17 |
// Copyright (c) 2015 ZZZ Projects. All rights reserved
// Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods)
// Website: http://www.zzzprojects.com/
// Feedback / Feature Requests / Issues : http://zzzprojects.uservoice.com/forums/283927
// All ZZZ Projects products: Entity Framework ... | huoxudong125/Z.ExtensionMethods | test/Z.Collections.Test/System.Collections.Generic.IEnumerable[T]/IEnumerable[T].IsNullOrEmpty.cs | https://github.com/huoxudong125/Z.ExtensionMethods/blob/HEAD/test/Z.Collections.Test/System.Collections.Generic.IEnumerable[T]/IEnumerable[T].IsNullOrEmpty.cs | ghcode:00175:a1e7b33c83e4 | mit | codeparrot/github-code | a1e7b33c83e4cf6e3acc9175a433d20ef0131716dd0a5d9882e17faf34cfd837 | 0.7 | testing_debugging_repair_refactoring | 272 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Globalization;
using BenchmarkDotNet.Engines;
using BenchmarkDotNet.Reports;
using JetBrains.Annotations;
using Perfolizer.Mathematics.Multimodality;
namespace BenchmarkDotNet.Analysers
{
public class MultimodalDistributionAnalyzer : AnalyserBase
{
public... | Ky7m/BenchmarkDotNet | src/BenchmarkDotNet/Analysers/MultimodalDistributionAnalyzer.cs | https://github.com/Ky7m/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet/Analysers/MultimodalDistributionAnalyzer.cs | ghcode:00175:dfd974018350 | mit | codeparrot/github-code | dfd974018350c2c524f71656afa6f54c876652108c2912c5cf72f8731e3ea678 | 0.75 | testing_debugging_repair_refactoring | 330 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Text;
using Bitmask = System.UInt64;
using u8 = System.Byte;
using u16 = System.UInt16;
using u32 = System.UInt32;
namespace Community.CsharpSqlite
{
using sqlite3_int64 = System.Int64;
using MemJournal = Sqlite3.sqlite3_file;
public partial cl... | champnakub/CameraApp | plugins/cordova-sqlite-storage/src/wp/csharp-sqlite-src/memjournal_c.cs | https://github.com/champnakub/CameraApp/blob/HEAD/plugins/cordova-sqlite-storage/src/wp/csharp-sqlite-src/memjournal_c.cs | ghcode:00175:be2378790b1a | mit | codeparrot/github-code | be2378790b1a6c4946d4df8615783ee71a1227239cfe840e6c7fdc312fbb8bc6 | 0.8 | testing_debugging_repair_refactoring | 2,607 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Api.Controllers
{
[Route("identity")]
[Authorize]
public class IdentityController : ControllerBase
{
[HttpGet]
... | laredoza/.NetScaffolder | Templates/ScaffolderTemplate/Test/Authorisation/Api/Controllers/IdentityController.cs | https://github.com/laredoza/.NetScaffolder/blob/HEAD/Templates/ScaffolderTemplate/Test/Authorisation/Api/Controllers/IdentityController.cs | ghcode:00175:6f3ece1d5665 | mit | codeparrot/github-code | 6f3ece1d56652f5b4bc662de39375e83b3b28c089b42c9886e54cbb648f1d350 | 0.85 | testing_debugging_repair_refactoring | 86 | false | 2026-07-17 |
// The MIT License (MIT)
//
// Copyright (c) 2014-2017, 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... | maul-esel/ssharp | SafetySharpTests/Serialization/RuntimeModels/multiple effects with state.cs | https://github.com/maul-esel/ssharp/blob/HEAD/SafetySharpTests/Serialization/RuntimeModels/multiple effects with state.cs | ghcode:00175:cee23583f835 | mit | codeparrot/github-code | cee23583f8353eb7a9586eb365eecc858473b00a1afccaa3340378317550766a | 0.85 | testing_debugging_repair_refactoring | 756 | 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... | Anomalous-Software/Lucene.NET | test/contrib/Highlighter/HighlighterTest.cs | https://github.com/Anomalous-Software/Lucene.NET/blob/HEAD/test/contrib/Highlighter/HighlighterTest.cs | ghcode:00175:d4377a6ff4f9 | apache-2.0 | codeparrot/github-code | d4377a6ff4f9bdfc840f911bd793492f16ac793b1ffaa300a187b18805219fe8 | 0.72 | testing_debugging_repair_refactoring | 17,125 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cassandra.Serialization;
using Cassandra.Tests.Extensions.Serializers;
using NUnit.Framework;
namespace Cassandra.Tests
{
[TestFixture]
public class CustomTypeSerializerTests
{
pub... | mintsoft/csharp-driver | src/Cassandra.Tests/CustomTypeSerializerTests.cs | https://github.com/mintsoft/csharp-driver/blob/HEAD/src/Cassandra.Tests/CustomTypeSerializerTests.cs | ghcode:00175:397aac1e4139 | apache-2.0 | codeparrot/github-code | 397aac1e4139649481b7485c6dc017241c823e697126cb963522acffecdd326e | 0.85 | testing_debugging_repair_refactoring | 715 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Rhino.Mocks;
using Rhino.Mocks.Interfaces;
using Rhino.Mocks.MethodRecorders;
using SparkLanguage.VsAdapters;
using SparkLanguagePackageLib;
using IServiceProvider = SparkLanguagePackageLib.IServ... | SparkViewEngine/spark | src/Tools/SparkLanguage.Tests/SourceSupervisorTester.cs | https://github.com/SparkViewEngine/spark/blob/HEAD/src/Tools/SparkLanguage.Tests/SourceSupervisorTester.cs | ghcode:00175:07ce7682fddb | apache-2.0 | codeparrot/github-code | 07ce7682fddbf63f7808fa4be0feb9fa987994ed9b93000571401d90de7d9dc3 | 0.85 | testing_debugging_repair_refactoring | 2,597 | 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 BenchmarkDotNet.Attributes;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics.Transforms;
using osu.Fram... | huoyaoyuan/osu-framework | osu.Framework.Benchmarks/BenchmarkTransform.cs | https://github.com/huoyaoyuan/osu-framework/blob/HEAD/osu.Framework.Benchmarks/BenchmarkTransform.cs | ghcode:00175:beff93ac4fa5 | mit | codeparrot/github-code | beff93ac4fa596f4e20733a87c8692626290125759c71dec8d847f1581f3640b | 0.75 | testing_debugging_repair_refactoring | 685 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Collections.Concurrent;
using System.Diagnostics;
using System.Threading;
using Mic... | physhi/roslyn | src/VisualStudio/Core/Def/Telemetry/VSTelemetryLogger.cs | https://github.com/physhi/roslyn/blob/HEAD/src/VisualStudio/Core/Def/Telemetry/VSTelemetryLogger.cs | ghcode:00175:0f4302862231 | apache-2.0 | codeparrot/github-code | 0f430286223189c14ae5d075b87915f3f37a90eea1700b4a0dc26799dcbaee18 | 0.85 | testing_debugging_repair_refactoring | 1,155 | false | 2026-07-17 |
// ReSharper disable ConvertToConstant.Local
namespace dotless.Test.Specs
{
using NUnit.Framework;
[TestFixture]
public class WhitespaceFixture : SpecFixtureBase
{
[Test]
public void Whitespace()
{
var input =
@"
.whitespace { color: white; }
.whites... | rytmis/dotless | src/dotless.Test/Specs/WhitespaceFixture.cs | https://github.com/rytmis/dotless/blob/HEAD/src/dotless.Test/Specs/WhitespaceFixture.cs | ghcode:00175:fdf775312e4b | apache-2.0 | codeparrot/github-code | fdf775312e4b97b75beddfbcd90e0468e8310590877af2c81c07e41d5ce8c271 | 0.6 | testing_debugging_repair_refactoring | 638 | false | 2026-07-17 |
/*
Copyright (c) 2006 Tomas Matousek and Ladislav Prosek.
The use and distribution terms for this software are contained in the file named License.txt,
which can be found in the root of the Phalanger distribution. By using this software
in any fashion, you are agreeing to be bound by the terms of this lic... | DEVSENSE/Phalanger | Source/Core/Reflection/Modules.cs | https://github.com/DEVSENSE/Phalanger/blob/HEAD/Source/Core/Reflection/Modules.cs | ghcode:00175:02a86cd94471 | apache-2.0 | codeparrot/github-code | 02a86cd94471d078e9e140890b6701242b8356bea4b3e06f5c3d778a15871d2e | 0.85 | testing_debugging_repair_refactoring | 3,136 | false | 2026-07-17 |
using System.Threading.Tasks;
using Nimbus.Handlers;
using Nimbus.IntegrationTests.Tests.SimpleDispatchContextCorrelationTests.MessageContracts;
using Nimbus.PropertyInjection;
using Nimbus.Tests.Common;
namespace Nimbus.IntegrationTests.Tests.SimpleDispatchContextCorrelationTests.CommandHandlers
{
public class S... | stevescc/Nimbus | src/Tests/Nimbus.IntegrationTests/Tests/SimpleDispatchContextCorrelationTests/CommandHandlers/SecondCommandHandler.cs | https://github.com/stevescc/Nimbus/blob/HEAD/src/Tests/Nimbus.IntegrationTests/Tests/SimpleDispatchContextCorrelationTests/CommandHandlers/SecondCommandHandler.cs | ghcode:00175:20063ec05bc3 | mit | codeparrot/github-code | 20063ec05bc3e989f0d96ef8256f4c6889386ce6aabb6970f816c4efd151bfec | 0.85 | testing_debugging_repair_refactoring | 126 | false | 2026-07-17 |
// Copyright (c) Umbraco.
// See LICENSE for more details.
using System;
using System.Diagnostics;
using System.Linq;
using NUnit.Framework;
using Umbraco.Cms.Core.Cache;
using Umbraco.Cms.Core.Collections;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Core.Models.Entities;
using Umbraco.Cms.Tests.Common;
using Umb... | marcemarc/Umbraco-CMS | tests/Umbraco.Tests.UnitTests/Umbraco.Core/Cache/DeepCloneAppCacheTests.cs | https://github.com/marcemarc/Umbraco-CMS/blob/HEAD/tests/Umbraco.Tests.UnitTests/Umbraco.Core/Cache/DeepCloneAppCacheTests.cs | ghcode:00175:57cd453c542e | mit | codeparrot/github-code | 57cd453c542ec1205776e7906acbdf28766474ce07f563b5c6973a6c65b66416 | 0.85 | testing_debugging_repair_refactoring | 704 | 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.
/*============================================================
**
**
**
**
**
** Purpose: Searches for resources o... | parjong/coreclr | src/mscorlib/src/System/Resources/FileBasedResourceGroveler.cs | https://github.com/parjong/coreclr/blob/HEAD/src/mscorlib/src/System/Resources/FileBasedResourceGroveler.cs | ghcode:00175:dbe63d87d7d1 | mit | codeparrot/github-code | dbe63d87d7d1d6246b6436adc07ec64cd51a12f98a68ed10a02e0bc8de5a4916 | 0.8 | testing_debugging_repair_refactoring | 1,090 | false | 2026-07-17 |
using System.Linq;
using AutoMapper.QueryableExtensions;
using Should;
using Xunit;
namespace AutoMapper.UnitTests.Bug
{
public class ProjectConstructorParameters : AutoMapperSpecBase
{
SourceDto _dest;
const int SomeValue = 15;
public class Inner
{
public int Memb... | jasonholloway/AutoMapper | src/UnitTests/Bug/ProjectConstructorParameters.cs | https://github.com/jasonholloway/AutoMapper/blob/HEAD/src/UnitTests/Bug/ProjectConstructorParameters.cs | ghcode:00175:a498c15519aa | mit | codeparrot/github-code | a498c15519aac92fa8e810a3a2012ece156de0997daaf591ab1bfedf341294d1 | 0.75 | testing_debugging_repair_refactoring | 277 | false | 2026-07-17 |
namespace Rhino.Mocks.Tests
{
using System;
using Xunit;
public class Throws
{
public static void Exception<TException>(Delegates.Action action)
where TException : Exception
{
try
{
action();
Assert.False(true, "Should have thrown exception");
}
catch(TException)
{
}
}
public... | alaendle/rhino-mocks | Rhino.Mocks.Tests/Throws.cs | https://github.com/alaendle/rhino-mocks/blob/HEAD/Rhino.Mocks.Tests/Throws.cs | ghcode:00175:66c83ad66c1e | bsd-3-clause | codeparrot/github-code | 66c83ad66c1e87258ae1579676db7a4c4e327aad9fe8cc751e4e6972d9156306 | 0.75 | testing_debugging_repair_refactoring | 156 | false | 2026-07-17 |
using System;
using System.Net.Mail;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.Kernel;
using Ploeh.AutoFixtureUnitTest.Kernel;
using Xunit;
namespace Ploeh.AutoFixtureUnitTest
{
public class MailAddressGeneratorTest
{
[Fact]
public void SutIsSpecimenBuilder()
{
... | adamchester/AutoFixture | Src/AutoFixtureUnitTest/MailAddressGeneratorTests.cs | https://github.com/adamchester/AutoFixture/blob/HEAD/Src/AutoFixtureUnitTest/MailAddressGeneratorTests.cs | ghcode:00175:7f75aae4ee9c | mit | codeparrot/github-code | 7f75aae4ee9c35a32a24db65e46a39b295d7bcf293be45278c82992ec7987dda | 0.85 | testing_debugging_repair_refactoring | 1,191 | false | 2026-07-17 |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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 ... | Neoracle/Lean | Tests/Common/Securities/CashTests.cs | https://github.com/Neoracle/Lean/blob/HEAD/Tests/Common/Securities/CashTests.cs | ghcode:00175:a916b687abde | apache-2.0 | codeparrot/github-code | a916b687abde3b94ecc3e10734f1c037ec91fdf2ffb8676e5b65cd4db672c170 | 0.85 | testing_debugging_repair_refactoring | 1,972 | false | 2026-07-17 |
using System;
namespace Xunit
{
public partial class Assert
{
/// <summary/>
internal static void GuardArgumentNotNull(string argName, object argValue)
{
if (argValue == null)
throw new ArgumentNullException(argName);
}
}
}
| devlead/documentation | src/Sparrow.Testing/Asserts/Guards.cs | https://github.com/devlead/documentation/blob/HEAD/src/Sparrow.Testing/Asserts/Guards.cs | ghcode:00175:1968be548e19 | mit | codeparrot/github-code | 1968be548e19169547c418c4bd82cea4e319b2ffe11f9274444a564b523cd833 | 0.75 | testing_debugging_repair_refactoring | 57 | 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.Reflection;
using Xunit;
namespace System.Linq.Expressions.Tests
{
... | alphonsekurian/corefx | src/System.Linq.Expressions/tests/MemberInit/ListBindTests.cs | https://github.com/alphonsekurian/corefx/blob/HEAD/src/System.Linq.Expressions/tests/MemberInit/ListBindTests.cs | ghcode:00175:8fe88ce452ee | mit | codeparrot/github-code | 8fe88ce452ee91176397fadc2b641ad68d10ca3e0de65fa9aa8bb6bf9f2ad2a9 | 0.95 | testing_debugging_repair_refactoring | 2,261 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Threading;
namespace Sys... | marksmeltzer/corefx | src/System.IO/tests/MemoryStream/MemoryStreamTests.cs | https://github.com/marksmeltzer/corefx/blob/HEAD/src/System.IO/tests/MemoryStream/MemoryStreamTests.cs | ghcode:00175:16d792fa2a8d | mit | codeparrot/github-code | 16d792fa2a8da8fa9d139132042bb4c368056465d956ae2c17ff2ea0fc196e1d | 0.95 | testing_debugging_repair_refactoring | 2,296 | false | 2026-07-17 |
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 r... | justasabc/kubernetes-ubuntu | ke/images/robust/image/opensim80/OpenSim/Framework/Tests/LocationTest.cs | https://github.com/justasabc/kubernetes-ubuntu/blob/HEAD/ke/images/robust/image/opensim80/OpenSim/Framework/Tests/LocationTest.cs | ghcode:00175:d7058b81a03d | apache-2.0 | codeparrot/github-code | d7058b81a03d8a9a96263d511993fd2d94ff006128338d14104a5f7db7d97cf6 | 0.95 | testing_debugging_repair_refactoring | 1,046 | 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 ... | nivanov/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/CachePartitionedTest.cs | https://github.com/nivanov/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/CachePartitionedTest.cs | ghcode:00175:acfaa698e4d1 | apache-2.0 | codeparrot/github-code | acfaa698e4d12b6110be978270265e009f92399cf05e0e7fd5cb271511ff6f50 | 0.6 | testing_debugging_repair_refactoring | 274 | false | 2026-07-17 |
using NUnit.Framework;
namespace Saltarelle.Compiler.Tests.CompilerTests.MethodCompilation.Statements {
[TestFixture]
public class WhileStatementTests : MethodCompilerTestBase {
[Test]
public void WhileStatementWithExpressionWithoutExtraStatementsWorks() {
AssertCorrect(
@"public void M() {
// BEGIN
while ... | cezary12/SaltarelleCompiler | Compiler/Saltarelle.Compiler.Tests/CompilerTests/MethodCompilation/Statements/WhileStatementTests.cs | https://github.com/cezary12/SaltarelleCompiler/blob/HEAD/Compiler/Saltarelle.Compiler.Tests/CompilerTests/MethodCompilation/Statements/WhileStatementTests.cs | ghcode:00175:ecc736719d39 | apache-2.0 | codeparrot/github-code | ecc736719d392c8d43de112795b09bbd414539965a2d3e31ba254dc963ab9e6d | 0.85 | testing_debugging_repair_refactoring | 217 | false | 2026-07-17 |
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by a... | JasonYang-MSFT/azure-sdk-for-net | src/SDKs/Batch/dataPlane/FileConventions/Tests/AzureBatchFileConventions.IntegrationTests/TaskOutputStorageTests.cs | https://github.com/JasonYang-MSFT/azure-sdk-for-net/blob/HEAD/src/SDKs/Batch/dataPlane/FileConventions/Tests/AzureBatchFileConventions.IntegrationTests/TaskOutputStorageTests.cs | ghcode:00175:3bdb96c55166 | mit | codeparrot/github-code | 3bdb96c55166855e685c8ea260814ad90e038f90275fc6b040c9c241dbc4d634 | 0.95 | testing_debugging_repair_refactoring | 2,675 | 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.Diagnostics;
using System.Runtime.CompilerServices;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
usi... | MihaMarkic/roslyn-prank | src/Compilers/CSharp/Portable/Symbols/NoPiaIllegalGenericInstantiationSymbol.cs | https://github.com/MihaMarkic/roslyn-prank/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/NoPiaIllegalGenericInstantiationSymbol.cs | ghcode:00175:3a2ff8e7828f | apache-2.0 | codeparrot/github-code | 3a2ff8e7828f3d0a711dd3e249289a8dd3baaa21f0b780413494539553a873e9 | 0.85 | testing_debugging_repair_refactoring | 427 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
using System;
using System.Xml;
using System.Xml.XPath;
using XPathTests.Common;
namespace XPathTests.... | DnlHarvey/corefx | src/Common/tests/System/Xml/XPath/FuncLocation/PathNodeMatchesTests.cs | https://github.com/DnlHarvey/corefx/blob/HEAD/src/Common/tests/System/Xml/XPath/FuncLocation/PathNodeMatchesTests.cs | ghcode:00175:59ce9d07051a | mit | codeparrot/github-code | 59ce9d07051a92dbd806599fc9fe6039c061cd4ce2cb4d90eca7206b28f30fdd | 0.95 | testing_debugging_repair_refactoring | 1,552 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NearForums.Configuration;
using NearForums.DataAccess;
namespace NearForums.Tests
{
[TestClass]
public class ConfigurationSettingsTests
{
[TestMethod]
public void Conf... | wuchang/nearforums | solution/NearForums.Tests/ConfigurationSettingsTests.cs | https://github.com/wuchang/nearforums/blob/HEAD/solution/NearForums.Tests/ConfigurationSettingsTests.cs | ghcode:00175:76c35690fa10 | mit | codeparrot/github-code | 76c35690fa10d7a9e018a65ef3aeb89a945cbc680a80d38be95c3dfb494b2fa1 | 0.75 | testing_debugging_repair_refactoring | 461 | false | 2026-07-17 |
using System.Collections.Specialized;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
namespace Podcasts.Tests
{
using ViewModels;
[TestClass]
public class ViewModelTests
{
private AppViewModel AppViewModel = new AppViewModel("test-database.xml");
... | AndrewGaspar/Podcasts | Podcasts.Tests/ViewModelTests.cs | https://github.com/AndrewGaspar/Podcasts/blob/HEAD/Podcasts.Tests/ViewModelTests.cs | ghcode:00175:064989813154 | mit | codeparrot/github-code | 06498981315404129214c79c412579dd85c347a30b59c28393b247f7191a4957 | 0.75 | testing_debugging_repair_refactoring | 217 | false | 2026-07-17 |
using Xunit;
using FluentAssertions;
using StockportContentApi.Repositories;
using StockportContentApi.Config;
using StockportContentApi.Client;
using Moq;
using StockportContentApi.Model;
using System.Collections.Generic;
using Contentful.Core;
using System.Threading;
using Contentful.Core.Search;
using StockportCont... | smbc-digital/iag-contentapi | test/StockportContentApiTests/Unit/Repositories/GroupAdvisorRepositoryTests.cs | https://github.com/smbc-digital/iag-contentapi/blob/HEAD/test/StockportContentApiTests/Unit/Repositories/GroupAdvisorRepositoryTests.cs | ghcode:00175:9b4301f42ffd | mit | codeparrot/github-code | 9b4301f42ffd144bfbe6aeda40d6973d6ec1958f97948218d15ae4a82a9730e2 | 0.85 | testing_debugging_repair_refactoring | 2,032 | false | 2026-07-17 |
using Newtonsoft.Json;
using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Net;
using System.Net.NetworkInformation;
using System.Threading;
namespace OneEvil.OneEvilCoinAPI
{
static class Helper
{
public static reado... | djtms/OneEvilCoin.GUI | OneEvilCoinApi/Helper.cs | https://github.com/djtms/OneEvilCoin.GUI/blob/HEAD/OneEvilCoinApi/Helper.cs | ghcode:00175:0ba0cfad2e6c | mit | codeparrot/github-code | 0ba0cfad2e6caedb7f755cfe1317e6460503b5dc7a76bfb84dd8b0a6d3708440 | 0.6 | testing_debugging_repair_refactoring | 593 | false | 2026-07-17 |
namespace NRepository.Core.Query.Tests
{
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
[TestFixture()]
public class PagingQueryStrategyTests
{
[Test]
public void CheckConstructors()
{
new PagingQueryStrategy(0, ... | j-kelly/NRepository.Core | src/NRepository.Core.Tests/Query/QueryStrategies/PagingQueryStrategyTests.cs | https://github.com/j-kelly/NRepository.Core/blob/HEAD/src/NRepository.Core.Tests/Query/QueryStrategies/PagingQueryStrategyTests.cs | ghcode:00175:de1db9d91151 | mit | codeparrot/github-code | de1db9d911510e0cd7011b49dd840d6f35a2656d1c0ef903f2e3b24bc80eb528 | 0.85 | testing_debugging_repair_refactoring | 400 | false | 2026-07-17 |
namespace Microsoft.Protocols.TestSuites.SharedTestSuite
{
using System;
using Microsoft.Protocols.TestSuites.Common;
using Microsoft.Protocols.TestSuites.SharedAdapter;
using Microsoft.Protocols.TestTools;
using Microsoft.VisualStudio.TestTools.UnitTesting;
/// <summary>
/// A class which ... | XinwLi/Interop-TestSuites-1 | FileSyncandWOPI/Source/SharedTestSuite/SharedTestCase/S04_ExclusiveLock.cs | https://github.com/XinwLi/Interop-TestSuites-1/blob/HEAD/FileSyncandWOPI/Source/SharedTestSuite/SharedTestCase/S04_ExclusiveLock.cs | ghcode:00175:63ca95cabe3c | mit | codeparrot/github-code | 63ca95cabe3c38b0fc3d12b1c0cf97bee3f4ddaf408916390678a741063d2502 | 0.65 | testing_debugging_repair_refactoring | 30,589 | false | 2026-07-17 |
using System.Linq;
using PrtgAPI.Tests.UnitTests.TreeNodes;
namespace PrtgAPI.Tests.UnitTests.Support.TestResponses
{
class GroupUniqueChildGroupScenario : GroupUniqueGroupScenario
{
public GroupUniqueChildGroupScenario()
{
probe = new ProbeNode("Local Probe",
new G... | lordmilko/PrtgAPI | src/PrtgAPI.Tests.UnitTests/Support/TestResponses/RecursiveRequest/Group/GroupUniqueChildGroupScenario.cs | https://github.com/lordmilko/PrtgAPI/blob/HEAD/src/PrtgAPI.Tests.UnitTests/Support/TestResponses/RecursiveRequest/Group/GroupUniqueChildGroupScenario.cs | ghcode:00175:e3322d047bc4 | mit | codeparrot/github-code | e3322d047bc45181e3b397c2c3c8c27d68fdf2e8dd73c55b3b3cc595dddc2aff | 0.85 | testing_debugging_repair_refactoring | 344 | false | 2026-07-17 |
using System;
using PureHub.CQRS.ES;
namespace PureHub.CQRS.Tests.Fakes
{
internal sealed class TestAggregateRootNameChanged
: Event
{
public TestAggregateRootNameChanged(Guid aggregateRootId, string name)
: base(aggregateRootId)
{
Name = name;
}
... | MadMax1983/PureHub | src/CQRS/PureHub.CQRS.Tests/Fakes/TestAggregateRootNameChanged.cs | https://github.com/MadMax1983/PureHub/blob/HEAD/src/CQRS/PureHub.CQRS.Tests/Fakes/TestAggregateRootNameChanged.cs | ghcode:00175:0696f43c43a6 | mit | codeparrot/github-code | 0696f43c43a6c88fe685cf65f0b0782f494158df584c925a1fa032f7a9de5c21 | 0.75 | testing_debugging_repair_refactoring | 80 | false | 2026-07-17 |
#region headers
// Copyright (c) 2018 Matthias Jansen
// See the LICENSE file in the project root for more information.
#endregion
#region imports
using ExceptionShield.Plugable.Resolver;
using ExceptionShield.Test.Scaffolding;
using FluentAssertions;
using Xunit;
#endregion
namespace ExceptionShield.Test.Plugab... | MatthiasJansen/Exceptional | test/ExceptionShield.Test/Plugable/Resolver/DefaultResolverTests.cs | https://github.com/MatthiasJansen/Exceptional/blob/HEAD/test/ExceptionShield.Test/Plugable/Resolver/DefaultResolverTests.cs | ghcode:00175:19c4b682b5fc | mit | codeparrot/github-code | 19c4b682b5fc8d14fc6dddcfd133b195022f309337bbb36534c0112924c87aca | 0.75 | testing_debugging_repair_refactoring | 196 | false | 2026-07-17 |
// Copyright Bastian Eicher
// Licensed under the MIT License
using System.Globalization;
using NanoByte.Common.Native;
namespace NanoByte.Common.Collections;
/// <summary>
/// Contains test methods for <see cref="LanguageSet"/>.
/// </summary>
public class LanguageSetTest
{
[Fact]
public void ... | nano-byte/common | src/UnitTests/Collections/LanguageSetTest.cs | https://github.com/nano-byte/common/blob/HEAD/src/UnitTests/Collections/LanguageSetTest.cs | ghcode:00175:cec713fba1c6 | mit | codeparrot/github-code | cec713fba1c605309d73bf551fb5d1fc6403240543cbb171f460c5b4fb83df7c | 0.7 | testing_debugging_repair_refactoring | 735 | false | 2026-07-17 |
//using LiteApi.Contracts.Abstractions;
//using Microsoft.AspNetCore.Http;
//using Moq;
//using System;
//using System.Collections.Generic;
//using System.Text;
//using System.Threading.Tasks;
//using Xunit;
//namespace LiteApi.Tests.FilterTests
//{
// public class GlobalFiltersTest
// {
// [Fact]
// ... | stanac/LiteApi | LiteApi/LiteApi.Tests/FilterTests/GlobalFiltersTest.cs | https://github.com/stanac/LiteApi/blob/HEAD/LiteApi/LiteApi.Tests/FilterTests/GlobalFiltersTest.cs | ghcode:00175:a0c6bb398f54 | mit | codeparrot/github-code | a0c6bb398f54f0dc82b51f9babe1af1156c9f4e991d7a2103750f57925da47f4 | 0.85 | testing_debugging_repair_refactoring | 212 | false | 2026-07-17 |
namespace Divergic.Logging.Xunit
{
using System;
using Microsoft.Extensions.Logging;
/// <summary>
/// The <see cref="CacheLogger{T}" />
/// class provides a cache logger for <see cref="ILogger{TCategoryName}" />.
/// </summary>
/// <typeparam name="T">The generic type of logger.</... | roryprimrose/Neovolve.UnitTest | Divergic.Logging.Xunit/CacheLoggerT.cs | https://github.com/roryprimrose/Neovolve.UnitTest/blob/HEAD/Divergic.Logging.Xunit/CacheLoggerT.cs | ghcode:00175:4e8a5ef3f4ae | mit | codeparrot/github-code | 4e8a5ef3f4ae9678d2a0840a354fe14d1e6f1a84e9e8b1dfb6a68bd68fc1cb88 | 0.85 | testing_debugging_repair_refactoring | 248 | false | 2026-07-17 |
using System;
using AmplaData.AmplaData2008;
using AmplaData.Modules.Energy;
using NUnit.Framework;
namespace AmplaData.Binding.Mapping.Modules
{
[TestFixture]
public class EnergyModuleMappingUnitTests : ModuleMappingTestFixture
{
public EnergyModuleMappingUnitTests() : base(EnergyViews.StandardVi... | Ampla/Ampla-Data | src/AmplaData.Tests/Binding/Mapping/Modules/EnergyModuleMappingUnitTests.cs | https://github.com/Ampla/Ampla-Data/blob/HEAD/src/AmplaData.Tests/Binding/Mapping/Modules/EnergyModuleMappingUnitTests.cs | ghcode:00175:a62732595bc3 | mit | codeparrot/github-code | a62732595bc376f4b3fc4ee3fb8aa82bd672ddb17a1220de810e3a83c0b3d35d | 0.75 | testing_debugging_repair_refactoring | 403 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ClassLibrary1;
namespace ConsoleApplication1
{
public class Test3 : ITest
{
public void CallBar(IRemoteClass bar)
{
throw new NotImplementedException();
... | too4words/Call-Graph-Builder-DotNet | TestsSolutions/ConsoleApplication1/base/ConsoleApplication1/Test3.cs | https://github.com/too4words/Call-Graph-Builder-DotNet/blob/HEAD/TestsSolutions/ConsoleApplication1/base/ConsoleApplication1/Test3.cs | ghcode:00175:c8e0bbc698f1 | mit | codeparrot/github-code | c8e0bbc698f1daf1cd2e55f626cb0ac7227668bdcc1194a17b8b5043e6685a74 | 0.75 | testing_debugging_repair_refactoring | 83 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Marten.NodaTime.Testing.TestData;
using Marten.Testing.Events.Projections;
using Marten.Testing.Harness;
using NodaTime;
using Shouldly;
using Xunit;
namespace Marten.NodaTime.Testing.Acceptance
{
... | mdissel/Marten | src/Marten.NodaTime.Testing/Acceptance/noda_time_acceptance.cs | https://github.com/mdissel/Marten/blob/HEAD/src/Marten.NodaTime.Testing/Acceptance/noda_time_acceptance.cs | ghcode:00175:df35693ae3f6 | mit | codeparrot/github-code | df35693ae3f68e466e535652ac7439cb9993638c6adb01ff183a555e66a37426 | 0.85 | testing_debugging_repair_refactoring | 1,865 | false | 2026-07-17 |
using System;
using System.Linq.Expressions;
using System.Reflection.Emit;
using BenchmarkDotNet.Attributes;
namespace FastExpressionCompiler.Benchmarks
{
/// <summary>
/// FEC v1.6 or something:
///
/// Results:
/// Method | Mean | StdDev | Scaled | Scaled-StdDev |
... | dadhi/FastExpressionCompiler | test/FastExpressionCompiler.Benchmarks/FEC_vs_ManualEmit_vs_Activator.cs | https://github.com/dadhi/FastExpressionCompiler/blob/HEAD/test/FastExpressionCompiler.Benchmarks/FEC_vs_ManualEmit_vs_Activator.cs | ghcode:00175:19f9c3273ceb | mit | codeparrot/github-code | 19f9c3273cebfaaddad391a54575b2d0e028f7c0b15b6660fcd12008c2b3d995 | 0.85 | testing_debugging_repair_refactoring | 1,432 | false | 2026-07-17 |
using System;
using Grace.DependencyInjection;
using Grace.Tests.Classes.Simple;
using Xunit;
namespace Grace.Tests.DependencyInjection.ExportInstance
{
public class ExportInstanceFuncWithScopeTests
{
[Fact]
public void ExportInstance_With_Scope()
{
var container = new Depe... | ipjohnson/Grace | tests/Grace.Tests/DependencyInjection/ExportInstance/ExportInstanceFuncWithScopeTests.cs | https://github.com/ipjohnson/Grace/blob/HEAD/tests/Grace.Tests/DependencyInjection/ExportInstance/ExportInstanceFuncWithScopeTests.cs | ghcode:00175:fc3c407175ab | mit | codeparrot/github-code | fc3c407175abc17b1a716aa588669a8ba3720c342271fd0ff8376c0af597fc3e | 0.75 | testing_debugging_repair_refactoring | 273 | false | 2026-07-17 |
#region Licence
/* The MIT License (MIT)
Copyright © 2014 Ian Cooper <ian_hammond_cooper@yahoo.co.uk>
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 limita... | BrighterCommand/Brighter | tests/Paramore.Brighter.Core.Tests/CommandProcessors/When_There_Are_No_Command_Handlers_Async.cs | https://github.com/BrighterCommand/Brighter/blob/HEAD/tests/Paramore.Brighter.Core.Tests/CommandProcessors/When_There_Are_No_Command_Handlers_Async.cs | ghcode:00175:edff39488909 | mit | codeparrot/github-code | edff394889090b6382933b689d5eed199c5cdfa7420996894b5bb238fb802874 | 0.85 | testing_debugging_repair_refactoring | 671 | false | 2026-07-17 |
using System;
using Common.Logging;
using FluentAssertions;
using Hepsi.CommandProcessor.Handlers;
using Hepsi.CommandProcessor.UnitTests.TestSupport;
using Hepsi.CommandProcessor.UnitTests.TestSupport.Handlers;
using Moq;
using NUnit.Framework;
using Polly;
using TinyIoC;
namespace Hepsi.CommandProcessor.UnitTests.P... | hepsiburada/HepsiCommandProcessor | src/tests/Hepsi.CommandProcessor.UnitTests/Policies/When_sending_a_command_to_the_processor/with_a_retry_policy_check.cs | https://github.com/hepsiburada/HepsiCommandProcessor/blob/HEAD/src/tests/Hepsi.CommandProcessor.UnitTests/Policies/When_sending_a_command_to_the_processor/with_a_retry_policy_check.cs | ghcode:00175:a087404f3e3c | mit | codeparrot/github-code | a087404f3e3ca9314ef991e2bd4ea645b3ecd801d8573773643345dc1d7dd364 | 0.85 | testing_debugging_repair_refactoring | 459 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using ShellMe.CommandLine.Console.LowLevel;
using ShellMe.Testing;
namespace ShellMe.CommandLine.Tests
{
[TestFixture]
class LowLevelToAbstractConsoleAdapterTests
{
[Test]
... | dff-solutions/shell.me | src/shell.me/ShellMe.CommandLine.Tests/LowLevelToAbstractConsoleAdapterTests.cs | https://github.com/dff-solutions/shell.me/blob/HEAD/src/shell.me/ShellMe.CommandLine.Tests/LowLevelToAbstractConsoleAdapterTests.cs | ghcode:00175:00862655464e | mit | codeparrot/github-code | 00862655464ee93d1bb1c6efbee131a3922328850c572ea0431e45a1c43a6f0b | 0.75 | testing_debugging_repair_refactoring | 1,433 | false | 2026-07-17 |
using System;
using Microsoft.Azure.Cosmos;
using NUnit.Framework;
namespace SimpleEventStore.CosmosDb.Tests
{
[TestFixture]
public class AzureCosmosDbStorageEngineBuilderTests
{
[Test]
public void when_creating_an_instance_the_document_client_must_be_supplied()
{
Asser... | ASOS/SimpleEventStore | src/SimpleEventStore/SimpleEventStore.CosmosDb.Tests/AzureCosmosDbStorageEngineBuilderTests.cs | https://github.com/ASOS/SimpleEventStore/blob/HEAD/src/SimpleEventStore/SimpleEventStore.CosmosDb.Tests/AzureCosmosDbStorageEngineBuilderTests.cs | ghcode:00175:06d7b6facef7 | mit | codeparrot/github-code | 06d7b6facef7c338d3906689f86e6f00c881d705dbfc88f37298d5fa41caed23 | 0.75 | testing_debugging_repair_refactoring | 499 | false | 2026-07-17 |
namespace Yobao.Testing {
using Nancy;
using Nancy.Bootstrapper;
using Nancy.Testing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
public class YobaoModuleTests {
INancyBootstrapper _Bootstrapper;
Browser _Browser;
publ... | YoloDev/YOBAO | Tests/Yobao.Testing/YobaoModuleTests.cs | https://github.com/YoloDev/YOBAO/blob/HEAD/Tests/Yobao.Testing/YobaoModuleTests.cs | ghcode:00175:e21b9a6f690c | mit | codeparrot/github-code | e21b9a6f690ce905c5e78323e853d8e09d36354515f6582b0db591db4b72f126 | 0.75 | testing_debugging_repair_refactoring | 179 | false | 2026-07-17 |
using AttackLeague.AttackLeague.Blocks.Angry;
using AttackLeague.AttackLeague.Grid;
using AttackLeague.Utility;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AttackLeague.AttackLeag... | nicolasgustafsson/AttackLeague | AttackLeague/AttackLeague/AttackLeague/Blocks/Generator/BlockGenerator.cs | https://github.com/nicolasgustafsson/AttackLeague/blob/HEAD/AttackLeague/AttackLeague/AttackLeague/Blocks/Generator/BlockGenerator.cs | ghcode:00175:de1e314fea1f | mit | codeparrot/github-code | de1e314fea1f49443ad479e99e1da3ac0e79e500a68e39d2a1bb3ce2dae0eb99 | 0.7 | testing_debugging_repair_refactoring | 2,259 | false | 2026-07-17 |
using NUnit.Framework;
using NZap.Enums;
namespace Tests.ComponentTests
{
[TestFixture]
public class PscanTests : TestBase
{
#region Views
[Test]
public void TestGetRecordsToScanShouldSucceed()
{
const int expected = 0;
const string expectedKey = "re... | jonsth131/NZap | Test/ComponentTests/PscanTests.cs | https://github.com/jonsth131/NZap/blob/HEAD/Test/ComponentTests/PscanTests.cs | ghcode:00175:dafedb6e663d | mit | codeparrot/github-code | dafedb6e663d8fdef76ce011b8694e2c9a8141b5849a51ba7787d9489f415808 | 0.75 | testing_debugging_repair_refactoring | 835 | false | 2026-07-17 |
using System;
using AmplaData.AmplaData2008;
using NUnit.Framework;
namespace AmplaData.Binding.ViewData
{
[TestFixture]
public abstract class ViewPermissionsBaseUnitTests : TestFixture
{
private ViewPermissions permissions;
private IViewPermissions viewPermissions;
protected abst... | Ampla/Ampla-Data | src/AmplaData.Tests/Binding/ViewData/ViewPermissionsBaseUnitTests.cs | https://github.com/Ampla/Ampla-Data/blob/HEAD/src/AmplaData.Tests/Binding/ViewData/ViewPermissionsBaseUnitTests.cs | ghcode:00175:ada6373656a4 | mit | codeparrot/github-code | ada6373656a42d76ba38e36a71649c0c11b8f397236a752246d2ad0eda5726d7 | 0.75 | testing_debugging_repair_refactoring | 1,240 | false | 2026-07-17 |
using System.Threading.Tasks;
namespace AsyncConverter.Tests.Test.Data.FixReturnValueToTaskTests
{
public class Class
{
public async Task<int> TestAsync(bool a)
{
if(a)
return 5;
return await FooAsync();
}
public Task<int> FooAsync()
... | BigBabay/AsyncConverter | AsyncConverter.Tests/Test/Data/Highlightings/Eliding/Common/ReturnGenericTask.cs | https://github.com/BigBabay/AsyncConverter/blob/HEAD/AsyncConverter.Tests/Test/Data/Highlightings/Eliding/Common/ReturnGenericTask.cs | ghcode:00175:fed56d77609e | mit | codeparrot/github-code | fed56d77609eea9edfda427ff8b660ec51c88c181ab3cf71fba1490fd5b09814 | 0.85 | testing_debugging_repair_refactoring | 78 | false | 2026-07-17 |
using ItemFramework;
using ItemFramework.Db;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ItemFrameworkTest
{
[TestClass]
public class ShapedCraftingTest
{
private Common common = new Common();
/// <summary>
/// Set up the database for use in the TestMethods
/// </summary>
[TestInitiali... | TheLogan/ItemFramework | ItemFrameworkTest/ShapedCraftingTest.cs | https://github.com/TheLogan/ItemFramework/blob/HEAD/ItemFrameworkTest/ShapedCraftingTest.cs | ghcode:00175:6e94815bcd6a | cc0-1.0 | codeparrot/github-code | 6e94815bcd6aaee60baf38b140d558bb6fef7afe1ccd27361467e08253fc5b69 | 0.63 | testing_debugging_repair_refactoring | 1,222 | false | 2026-07-17 |
/*
* Location Intelligence APIs
*
* Incorporate our extensive geodata into everyday applications, business processes and workflows.
*
* OpenAPI spec version: 8.5.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you m... | PitneyBowes/LocationIntelligenceSDK-CSharp | src/pb.locationIntelligence.Test/Model/RaceThemeTests.cs | https://github.com/PitneyBowes/LocationIntelligenceSDK-CSharp/blob/HEAD/src/pb.locationIntelligence.Test/Model/RaceThemeTests.cs | ghcode:00175:a600c6f6ea6f | apache-2.0 | codeparrot/github-code | a600c6f6ea6f854687a27f6deb4587cf9d63f58e3cdc53a9984a1667a824ceff | 0.85 | testing_debugging_repair_refactoring | 618 | false | 2026-07-17 |
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Threading;
using GaDotNet.Common.Helpers;
using NLog;
using OdessaGUIProject.Workers;
using System.IO;
namespace OdessaGUIProject
{
internal class ScanWorkerHost : BackgroundWorker
{
private static readonly Logger Logger... | noahsw/highlight-hunter | OdessaGUIProject/Workers/ScanWorkerHost.cs | https://github.com/noahsw/highlight-hunter/blob/HEAD/OdessaGUIProject/Workers/ScanWorkerHost.cs | ghcode:00175:01f03e857346 | apache-2.0 | codeparrot/github-code | 01f03e85734607343394daed4166c21629c2835347151e0d1c5b54771ca9cbc8 | 0.7 | testing_debugging_repair_refactoring | 2,206 | false | 2026-07-17 |
using Lucene.Net.Support;
using Lucene.Net.Support.Threading;
using System;
using System.Diagnostics;
using System.Threading;
namespace Lucene.Net.Index
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed w... | NikolayXHD/Lucene.Net.Contrib | Lucene.Net/Index/DocumentsWriterDeleteQueue.cs | https://github.com/NikolayXHD/Lucene.Net.Contrib/blob/HEAD/Lucene.Net/Index/DocumentsWriterDeleteQueue.cs | ghcode:00175:fc1be886cf27 | apache-2.0 | codeparrot/github-code | fc1be886cf278dd26fc4e1f529b096e6a78dff6797ba12d4871f0ee368ee1ee5 | 0.7 | testing_debugging_repair_refactoring | 3,764 | false | 2026-07-17 |
using System.Net;
using Xunit;
namespace IisExpressTestKit.Tests
{
public class RewriteRuleTest : IisRewriteTestBase
{
public RewriteRuleTest(IisExpressFixture fixture)
: base(fixture)
{
}
[Fact]
public void Rewriteルールのテスト()
{
Iis.Reque... | shibayan/iisexpress-testkit | test/IisExpressTestKit.Tests/RewriteRuleTest.cs | https://github.com/shibayan/iisexpress-testkit/blob/HEAD/test/IisExpressTestKit.Tests/RewriteRuleTest.cs | ghcode:00175:097d1b532fbd | apache-2.0 | codeparrot/github-code | 097d1b532fbdad618fea9584249e30210ee0add679dba27f01401fe06796a890 | 0.6 | testing_debugging_repair_refactoring | 735 | false | 2026-07-17 |
using System.Diagnostics.CodeAnalysis;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.VSSDK.Tools.VsIdeTesting;
using NuPattern.VisualStudio.Solution;
using SolutionEvents = NuPattern.VisualStudio.Events.SolutionEvents;
namespace NuPattern.IntegrationTests.VisualStudio.Events
{
... | NuPattern/NuPattern | Src/Common/IntegrationTests/VisualStudio/Events/SolutionEventsSpec.cs | https://github.com/NuPattern/NuPattern/blob/HEAD/Src/Common/IntegrationTests/VisualStudio/Events/SolutionEventsSpec.cs | ghcode:00175:f51934d4a99d | apache-2.0 | codeparrot/github-code | f51934d4a99d1c97840cd4c9f585ed23a84a55110104877fceba12e8ae3ad3a4 | 0.75 | testing_debugging_repair_refactoring | 1,417 | false | 2026-07-17 |
/****************** Copyright Notice *****************
This code is licensed under Microsoft Public License (Ms-PL).
You are free to use, modify and distribute any portion of this code.
The only requirement to do that, you need to keep the developer name, as provided below to recognize and encourage original work:... | eisk/eisk-asp.net-web-form-4.0 | Source/Eisk.Tests/Eisk.Tests.IntegrationTests.DataAccessTests/Positive Tests/Performance Tests/EmployeeBLL_Create_Performance_Tests.cs | https://github.com/eisk/eisk-asp.net-web-form-4.0/blob/HEAD/Source/Eisk.Tests/Eisk.Tests.IntegrationTests.DataAccessTests/Positive Tests/Performance Tests/EmployeeBLL_Create_Performance_Tests.cs | ghcode:00175:4fc46b30faf0 | apache-2.0 | codeparrot/github-code | 4fc46b30faf028045038359021417c16957bc4f85e95d8f3d8796169e4a954c7 | 0.85 | testing_debugging_repair_refactoring | 1,189 | false | 2026-07-17 |
using Bjd.ctrl;
using Bjd.mail;
using Bjd.option;
using NUnit.Framework;
using SmtpServer;
using Bjd;
namespace SmtpServerTest {
[TestFixture]
class MlUsersTest {
MlUserList _mlUserList;
[SetUp]
public void SetUp() {
//var kernel = new Kernel(null,null,null,null);
... | furuya02/bjd5 | SmtpServerTest/Ml/MlUsersTest.cs | https://github.com/furuya02/bjd5/blob/HEAD/SmtpServerTest/Ml/MlUsersTest.cs | ghcode:00175:1e91dece8ca5 | apache-2.0 | codeparrot/github-code | 1e91dece8ca5c7f987c85cd22a34407c0f99b49f9587a82aa7bd9bf1de293a61 | 0.7 | testing_debugging_repair_refactoring | 831 | false | 2026-07-17 |
using NUnit.Framework;
using Hyperboliq.Dialects;
using Hyperboliq.Domain;
using Hyperboliq.Tests.TokenGeneration;
using JoinType = Hyperboliq.Domain.AST.JoinType;
using BinaryOperation = Hyperboliq.Domain.AST.BinaryOperation;
using SqlExpression = Hyperboliq.Domain.AST.SqlExpression;
using S = Hyperboliq.Tests.SqlStr... | wastaz/Hyperboliq | Hyperboliq.Tests/SqlGeneration/SimpleJoinTests.cs | https://github.com/wastaz/Hyperboliq/blob/HEAD/Hyperboliq.Tests/SqlGeneration/SimpleJoinTests.cs | ghcode:00175:ea804ea94a28 | apache-2.0 | codeparrot/github-code | ea804ea94a28e35327d7146eb67af254137544f7631a3d4fe3ba56da04893863 | 0.75 | testing_debugging_repair_refactoring | 771 | false | 2026-07-17 |
using System;
namespace Moq
{
/// <summary>
/// Annotates a method that is a factory for mocks, so that a
/// compile-time or design-time generator can generate them ahead of time.
/// </summary>
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor)]
public class MockGenerat... | Moq/moq | src/Moq.Sdk/MockGeneratorAttribute.cs | https://github.com/Moq/moq/blob/HEAD/src/Moq.Sdk/MockGeneratorAttribute.cs | ghcode:00175:1d3966b49c22 | apache-2.0 | codeparrot/github-code | 1d3966b49c22d5c7ef34b5e2f8dd20033b208ccf8deb7429b2aa160c4eb611dd | 0.85 | testing_debugging_repair_refactoring | 78 | false | 2026-07-17 |
// Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | ctaggart/google-cloud-dotnet | tools/Google.Cloud.Docs.Snippets/PageStreamingSnippets.cs | https://github.com/ctaggart/google-cloud-dotnet/blob/HEAD/tools/Google.Cloud.Docs.Snippets/PageStreamingSnippets.cs | ghcode:00175:d63d92d9434a | apache-2.0 | codeparrot/github-code | d63d92d9434ae6f6551dec3e6f92c39909156239c1da2dfac349bdbaeb208217 | 0.7 | testing_debugging_repair_refactoring | 962 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using UnitTestGenerator;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
namespace UnitTestGenerator.Tests
{
[TestClass]
public class TestClassTests
{
pri... | pcsikos/UnitTestGenerator | src/UnitTestGenerator.Tests/TestClassTests.cs | https://github.com/pcsikos/UnitTestGenerator/blob/HEAD/src/UnitTestGenerator.Tests/TestClassTests.cs | ghcode:00175:c6229bdd3566 | apache-2.0 | codeparrot/github-code | c6229bdd3566208a6d9a14a5cd2fe8ea5fdc80862939b9e1a93ffb206cadb4ac | 0.75 | testing_debugging_repair_refactoring | 171 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.