text stringlengths 40 299k | repo_name stringlengths 7 71 | path stringlengths 4 235 | source_url stringlengths 45 289 | commit_or_blob_id stringlengths 25 25 | license stringclasses 7
values | source_dataset stringclasses 1
value | content_sha256 stringlengths 64 64 | quality_score float64 0.2 0.95 | category_slice stringclasses 1
value | token_count int64 11 109k | is_synthetic bool 1
class | collected_at stringdate 2026-07-17 00:00:00 2026-07-17 00:00:00 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
using NUnit.Framework;
using SimpleEventStore.Tests.Events;
namespace SimpleEventStore.AzureDocumentDb.Tests
{
[TestFixture]
public class AzureDocumentDbEventStoreReadingParti... | DaveAurionix/SimpleEventStore | src/SimpleEventStore/SimpleEventStore.AzureDocumentDb.Tests/AzureDocumentDbEventStoreReadingPartiallyDeletedStreams.cs | https://github.com/DaveAurionix/SimpleEventStore/blob/HEAD/src/SimpleEventStore/SimpleEventStore.AzureDocumentDb.Tests/AzureDocumentDbEventStoreReadingPartiallyDeletedStreams.cs | ghcode:00010:f032eba044bd | mit | codeparrot/github-code | f032eba044bded395389f711e45d03bc49e9e79edf870f8ab6435f74624d5277 | 0.6 | testing_debugging_repair_refactoring | 354 | false | 2026-07-17 |
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using FluentAssertions;
using System.Threading.Tasks;
using CK.Text;
using CK.CodeGen;
namespace CK.CodeGen.Roslyn.Tests
{
enum ESByte : sbyte
{
Min = SByte.MinValue,
... | Invenietis/CK-CodeGen | Tests/CK.CodeGen.Roslyn.Tests/EnumValueTests.cs | https://github.com/Invenietis/CK-CodeGen/blob/HEAD/Tests/CK.CodeGen.Roslyn.Tests/EnumValueTests.cs | ghcode:00010:56c593182521 | mit | codeparrot/github-code | 56c593182521d0c3159635890f7a88251ac73b17576c9f1602ebc94f621b58ff | 0.75 | testing_debugging_repair_refactoring | 1,350 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Linq;
using Vstack.Common.Exceptions;
using Vstack.Externals.Scheduling;
namespace Vstack.Externals.Tests.Scheduling
{
[TestClass]
public class WeekScheduleTests
{
[TestMethod]
[ExpectedException(typeof(NotValid... | vintage-software/vstack | Vstack.Externals.Tests/Scheduling/WeekScheduleTests.cs | https://github.com/vintage-software/vstack/blob/HEAD/Vstack.Externals.Tests/Scheduling/WeekScheduleTests.cs | ghcode:00010:0aeb07f6c6e3 | mit | codeparrot/github-code | 0aeb07f6c6e3a67e8ff371648f5756480458d1f27b4b0b85ea11641dcb379cb5 | 0.75 | testing_debugging_repair_refactoring | 728 | false | 2026-07-17 |
using System.IO;
using System.Threading.Tasks;
using NUnit.Framework;
using vCardLib.Enums;
using vCardLib.Models;
namespace vCardLib.Tests.ModelTests
{
[TestFixture]
public class PhotoTests
{
[Test]
public void WhenPictureIsNull()
{
var photo = new Photo {
Type = PhotoType.URL,
Encoding = PhotoEn... | bolorundurowb/vCardLib | vCardLib.Tests/ModelTests/PhotoTests.cs | https://github.com/bolorundurowb/vCardLib/blob/HEAD/vCardLib.Tests/ModelTests/PhotoTests.cs | ghcode:00010:867dd8902f81 | mit | codeparrot/github-code | 867dd8902f810181a8eabd892ba3f5483032f9ceee24e992fed575bef372c9b8 | 0.75 | testing_debugging_repair_refactoring | 265 | false | 2026-07-17 |
using CharacterGen.Domain.Tables;
using CharacterGen.Randomizers.Races;
using Moq;
using NUnit.Framework;
using System.Collections.Generic;
namespace CharacterGen.Tests.Unit.Generators.Randomizers.Races.Metaraces
{
[TestFixture]
public abstract class MetaraceRandomizerTestBase : RaceRandomizerTestBase
{
... | DnDGen/CharacterGen | CharacterGen.Tests.Unit/Generators/Randomizers/Races/Metaraces/MetaraceRandomizerTestBase.cs | https://github.com/DnDGen/CharacterGen/blob/HEAD/CharacterGen.Tests.Unit/Generators/Randomizers/Races/Metaraces/MetaraceRandomizerTestBase.cs | ghcode:00010:5a25c2bfa794 | mit | codeparrot/github-code | 5a25c2bfa794c7588a3f4eb7b67076cd58a3378e3e1c2103bba35f7b105b26a4 | 0.75 | testing_debugging_repair_refactoring | 197 | false | 2026-07-17 |
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Judgement... | Damnae/osu | osu.Game/Rulesets/UI/RulesetContainer.cs | https://github.com/Damnae/osu/blob/HEAD/osu.Game/Rulesets/UI/RulesetContainer.cs | ghcode:00010:ebfaa56221a2 | mit | codeparrot/github-code | ebfaa56221a28ca166f5dc97cd0a3752fb5f0790585bdd93281a527de478a818 | 0.85 | testing_debugging_repair_refactoring | 3,224 | false | 2026-07-17 |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Whathecode.System.Arithmetic.Range;
namespace Whathecode.Tests.System.Arithmetic.Range
{
/// <summary>
/// Unit tests for <see cref="IntervalEnumerator{TMath, TSize}" />.
/// </summary>
/// <author>Steven Jeuris</author>... | Whathecode/Framework-Class-Library-Extension | Whathecode.System.Tests/Arithmetic/Range/IntervalEnumeratorTest.cs | https://github.com/Whathecode/Framework-Class-Library-Extension/blob/HEAD/Whathecode.System.Tests/Arithmetic/Range/IntervalEnumeratorTest.cs | ghcode:00010:dfdacca3d2c5 | mit | codeparrot/github-code | dfdacca3d2c504819ca5718a4f158aa5946af7a0e583cc277a2e4dd280037dd6 | 0.7 | testing_debugging_repair_refactoring | 1,072 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using OpenTelemetry.Trace;
using System;
using System.Reflection;
using Xunit;
namespace Azure.Monitor.OpenTelemetry.Exporter.Tests
{
public class AzureMonitorTraceExporterTests
{
[Fact]
public vo... | Azure/azure-sdk-for-net | sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/AzureMonitorTraceExporterTests.cs | https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/tests/Azure.Monitor.OpenTelemetry.Exporter.Tests/AzureMonitorTraceExporterTests.cs | ghcode:00010:b50a657d0008 | mit | codeparrot/github-code | b50a657d0008e92ca760fa982bc4bb48d6186b5357053117da6611492bb6d74a | 0.95 | testing_debugging_repair_refactoring | 654 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Reflection;
namespace DotNetStarter.Extensions.WebApi.Tests
{
[TestClass]
public class _TestSetup
{
[AssemblyInitialize]
public static void Setup(TestContext context)
{
var scannableAssemblies = new Assemb... | bmcdavid/DotNetStarter | tests/DotNetStarter.Extensions.WebApi.UnitTests/_TestSetup.cs | https://github.com/bmcdavid/DotNetStarter/blob/HEAD/tests/DotNetStarter.Extensions.WebApi.UnitTests/_TestSetup.cs | ghcode:00010:7824c7fcbcf4 | mit | codeparrot/github-code | 7824c7fcbcf405dcd2a5a3a57889d9506f7f0f059fefe9d7f84d969a6c1988b1 | 0.6 | testing_debugging_repair_refactoring | 179 | false | 2026-07-17 |
using System;
using Campus.Core.Pulse.Common.Extensions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Campus.PulseTests.Common.Extensions
{
[TestClass()]
public class DateTimeExtensionsTests
{
[TestMethod()]
public void ToUnixTimeTest()
{
var testDate =... | zjklee/campus.core | TestContainer/Common/Extensions/DateTimeExtensionsTests.cs | https://github.com/zjklee/campus.core/blob/HEAD/TestContainer/Common/Extensions/DateTimeExtensionsTests.cs | ghcode:00010:5480bddf11fc | mit | codeparrot/github-code | 5480bddf11fc2294ba75a4b51941963a38956e064813f0845db5ba95f5e17e86 | 0.75 | testing_debugging_repair_refactoring | 120 | 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.Text;
using Internal.TypeSystem;
using Debug = System.Diagnostics.Debug;
namespace Int... | kyulee1/corert | src/Common/src/TypeSystem/IL/ILDisassember.cs | https://github.com/kyulee1/corert/blob/HEAD/src/Common/src/TypeSystem/IL/ILDisassember.cs | ghcode:00010:5ff35d1cd90f | mit | codeparrot/github-code | 5ff35d1cd90fc50e35c7ff72d6bfca0a3ef3913d3755f4c5b157e817b4c8cb2e | 0.8 | testing_debugging_repair_refactoring | 4,118 | false | 2026-07-17 |
using BenchmarkDotNet.Exporters;
namespace BenchmarkDotNet.Attributes.Exporters
{
public class HtmlExporterAttribute : ExporterConfigBaseAttribute
{
public HtmlExporterAttribute() : base(DefaultExporters.Html)
{
}
}
} | Teknikaali/BenchmarkDotNet | src/BenchmarkDotNet.Core/Attributes/Exporters/HtmlExporterAttribute.cs | https://github.com/Teknikaali/BenchmarkDotNet/blob/HEAD/src/BenchmarkDotNet.Core/Attributes/Exporters/HtmlExporterAttribute.cs | ghcode:00010:6f3bc301a7c7 | mit | codeparrot/github-code | 6f3bc301a7c7571631ac3c52c34283207ed8745526e6911e22f06f2141150540 | 0.75 | testing_debugging_repair_refactoring | 51 | false | 2026-07-17 |
using ActionPack.Helpers;
using MbUnit.Framework;
namespace ActionPack.Tests.ActionView
{
[TestFixture]
public class NumberHelperTests
{
[Test]
public void NumberToPhone()
{
Assert.AreEqual("123-555-1234", NumberHelper.NumberToPhone("1235551234","","","-",fal... | jondot/actionpacknet | ActionView.Tests/ActionView/NumberHelperTests.cs | https://github.com/jondot/actionpacknet/blob/HEAD/ActionView.Tests/ActionView/NumberHelperTests.cs | ghcode:00010:e560926098f7 | mit | codeparrot/github-code | e560926098f73bd4f7f19bf33833fd0c63c1e86edbb5c78ee23067444e6e2138 | 0.75 | testing_debugging_repair_refactoring | 185 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DynamicQuantityTests.cs" company="QuantityTypes">
// Copyright (c) 2014 QuantityTypes contributors
// </copyright>
// -----------------------------------------------------------... | objorke/QuantityTypes | Source/QuantityTypes.Dynamic.Tests/DynamicQuantityTests.cs | https://github.com/objorke/QuantityTypes/blob/HEAD/Source/QuantityTypes.Dynamic.Tests/DynamicQuantityTests.cs | ghcode:00010:6e3f0e1694f3 | mit | codeparrot/github-code | 6e3f0e1694f345f3ce98c87d56bd7a53abaa2146a1855512dd52f3d3e32acf1e | 0.85 | testing_debugging_repair_refactoring | 632 | false | 2026-07-17 |
using System;
using System.Linq;
using NUnit.Framework;
using Moq;
using BookStore.Data.Repositories;
using BookStore.Data.Model;
using System.Collections.Generic;
using BookStore.Data.Repositories.SaveContext;
namespace BookStore.Services.Tests.CategoryServiceTests
{
[TestFixture]
public class CommentGetById... | RossyB/ASP.NET-MVC-Final-Project | BookStore/Tests/BookStore.Services.Tests/CommentServiceTests/GetById_Should.cs | https://github.com/RossyB/ASP.NET-MVC-Final-Project/blob/HEAD/BookStore/Tests/BookStore.Services.Tests/CommentServiceTests/GetById_Should.cs | ghcode:00010:f0b66d426e38 | mit | codeparrot/github-code | f0b66d426e38bce71fa59dee538d6be2df0b99cadce6154832dca0bcfc67bb82 | 0.95 | testing_debugging_repair_refactoring | 347 | false | 2026-07-17 |
namespace Swetugg.Tix.Tests.Helpers
{
public interface IGivenCommands
{
void AddCommand(object cmd);
}
} | andlju/swetugg-tix | test/Swetugg.Tix.Tests.Helpers/IGivenCommands.cs | https://github.com/andlju/swetugg-tix/blob/HEAD/test/Swetugg.Tix.Tests.Helpers/IGivenCommands.cs | ghcode:00010:7414c5569dec | mit | codeparrot/github-code | 7414c5569decdaba92a7360ff5cd48619cb26556f322365daa0b24b634d8f474 | 0.35 | testing_debugging_repair_refactoring | 29 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace TypeLite.Tests {
public class ScriptBuilderTests {
ScriptBuilder _sb;
public ScriptBuilderTests() {
_sb = new ScriptBuilder("\t");
}
... | BluestoneEU/TypeGap | LukasKabrt-typelite-076249af9d12/TypeLite.Tests/ScriptBuilderTests.cs | https://github.com/BluestoneEU/TypeGap/blob/HEAD/LukasKabrt-typelite-076249af9d12/TypeLite.Tests/ScriptBuilderTests.cs | ghcode:00010:ac51a679e098 | mit | codeparrot/github-code | ac51a679e0989d0b05144c8c62e673a2e2e2d53e91768f91df228b167ba62ba6 | 0.75 | testing_debugging_repair_refactoring | 443 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Xrm.Sdk;
using System;
using System.Linq;
namespace Augustus.CRM.GeneratedProxyCode.Test
{
[TestClass]
public class OpportunityTests
{
private static CrmServiceContext context;
private static OpportunityTools opportunityTo... | gothandy/Augustus | Augustus.GeneratedProxyCode.Test/OpportunityTests.cs | https://github.com/gothandy/Augustus/blob/HEAD/Augustus.GeneratedProxyCode.Test/OpportunityTests.cs | ghcode:00010:4591aa5f7335 | mit | codeparrot/github-code | 4591aa5f7335608f9a99859d3f763dffeb457b6b562d8a6cbc7a9b15179407e2 | 0.75 | testing_debugging_repair_refactoring | 389 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace WmcSoft.Business
{
public class TemporalEnumerableTests
{
class Person : ITemporal
{
public int Id { get; set; }
public string Name { get; set; }
public DateTime? Vali... | vjacquet/WmcSoft | WmcSoft.Business.Tests/TemporalEnumerableTests.cs | https://github.com/vjacquet/WmcSoft/blob/HEAD/WmcSoft.Business.Tests/TemporalEnumerableTests.cs | ghcode:00010:3fdc5d4f276f | mit | codeparrot/github-code | 3fdc5d4f276f0a05f5f56db5cbf306fe4f0101f6f277ef5a054dd3ad50d26908 | 0.75 | testing_debugging_repair_refactoring | 741 | false | 2026-07-17 |
using Dongle.Utils;
using NUnit.Framework;
namespace Dongle.Tests.Utils
{
[TestFixture]
public class UrlUtilsTest
{
[Test]
public void IsIp()
{
//IPV4
Assert.IsTrue(UrlUtils.IsIp("192.169.1.1"));
Assert.IsFalse(UrlUtils.IsIp("256.1.3.4"));
... | webbers/dongle.net | src/Dongle.Tests/Utils/UrlUtilsTest.cs | https://github.com/webbers/dongle.net/blob/HEAD/src/Dongle.Tests/Utils/UrlUtilsTest.cs | ghcode:00010:f4b17be862dc | mit | codeparrot/github-code | f4b17be862dca365d1609172e11e9496e3ae2739a6bcd88632b6f220b6db40b4 | 0.6 | testing_debugging_repair_refactoring | 355 | false | 2026-07-17 |
namespace TestApplication.Types
{
public class StandardCard : CreditCard
{
public StandardCard(string accountId)
{
}
}
} | hmemcpy/AgentMulder | src/Test/Data/Types/StandardCard.cs | https://github.com/hmemcpy/AgentMulder/blob/HEAD/src/Test/Data/Types/StandardCard.cs | ghcode:00010:30fe3ab30b95 | mit | codeparrot/github-code | 30fe3ab30b95a498c5fe9e980fa4ecb4d25c34a3356296056687f95d259eceb5 | 0.6 | testing_debugging_repair_refactoring | 31 | false | 2026-07-17 |
using System.Collections.Generic;
using NUnit.Framework;
namespace MeetMe.Data.Models.Tests.PublicationTests
{
[TestFixture]
public class Comments_Should
{
[Test]
public void SetComments_Correct()
{
// Arrange
var comments = new HashSet<Comment>();
... | Warez-VD/MeetMe | MeetMe/MeetMe.Data.Models.Tests/PublicationTests/Comments_Should.cs | https://github.com/Warez-VD/MeetMe/blob/HEAD/MeetMe/MeetMe.Data.Models.Tests/PublicationTests/Comments_Should.cs | ghcode:00010:326e318c1b86 | mit | codeparrot/github-code | 326e318c1b864c73d9c16531681d6b3a3aa0762f06c20385b046263a39f7574c | 0.7 | testing_debugging_repair_refactoring | 154 | false | 2026-07-17 |
namespace System.Collections.Generic
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
/// <summary>
/// Unit tests for the <see cref="ReadOnlyList{T}"/>
/// </summary>
/// <threadsafety static="true" instance="true"/>
[TestClass]
public sealed class ReadOnlyListUnitTests
... | corranrogue9/FxCore | Source/Core.Tests/System/Collections/Generic/ReadOnlyListUnitTests.cs | https://github.com/corranrogue9/FxCore/blob/HEAD/Source/Core.Tests/System/Collections/Generic/ReadOnlyListUnitTests.cs | ghcode:00010:ed0a559b925f | mit | codeparrot/github-code | ed0a559b925f08d91cac2d68ccaa70b90d2600b8f1cd5e71aa8b33e4ef62245a | 0.85 | testing_debugging_repair_refactoring | 985 | false | 2026-07-17 |
using System;
using System.Linq;
using NUnit.Framework;
namespace algorithms.Strings
{
public class WordsAndCharacters
{
public bool IsUnique(string value)
{
if (string.IsNullOrWhiteSpace(value))
return false;
var data = new bool[127];
for (... | ewilde/dotnet-playground | programming/algorithms/Strings/WordsAndCharacters.cs | https://github.com/ewilde/dotnet-playground/blob/HEAD/programming/algorithms/Strings/WordsAndCharacters.cs | ghcode:00010:8ebbf07e03a4 | unlicense | codeparrot/github-code | 8ebbf07e03a41579f36570f136028a3c69a0a03c2f6d7d8702fa30f3de98f5dd | 0.63 | testing_debugging_repair_refactoring | 2,102 | false | 2026-07-17 |
using NBi.Core.Scalar.Conversion;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Testing.Core.Scalar.Conversion
{
public class TextToNumericConverterTest
{
[Test]
... | Seddryck/NBi | NBi.Testing.Core/Scalar/Conversion/TextToNumericConverterTest.cs | https://github.com/Seddryck/NBi/blob/HEAD/NBi.Testing.Core/Scalar/Conversion/TextToNumericConverterTest.cs | ghcode:00010:b1da6611af31 | apache-2.0 | codeparrot/github-code | b1da6611af3168e00294ece0afdfe32841ae9942c2d47024b97298598be08c07 | 0.6 | testing_debugging_repair_refactoring | 405 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using UnityEngine;
namespace AGXUnity.Model
{
public class DeformableTerrainProperties : ScriptAsset
{
[SerializeField]
private float m_soilMergeSpeedThreshold = 4.0f;
/// <summary>
/// The maximum speed (m/s) threshold where soil particles
/// ... | Algoryx/agxUnity | AGXUnity/Model/DeformableTerrainProperties.cs | https://github.com/Algoryx/agxUnity/blob/HEAD/AGXUnity/Model/DeformableTerrainProperties.cs | ghcode:00010:dc96bfa3da30 | apache-2.0 | codeparrot/github-code | dc96bfa3da30e5a16cfaaea786723932da65be0191d5768f8752c81e2685648a | 0.7 | testing_debugging_repair_refactoring | 2,668 | false | 2026-07-17 |
using NUnit.Framework;
using com.google.zxing.qrcode.encoder;
using Custom.Algebra.QrCode.Encoding.Masking;
using Custom.Algebra.QrCode.Encoding.Masking.Scoring;
namespace Custom.Algebra.QrCode.Encoding.Tests.PenaltyScore
{
public class Penalty2TestCaseFactory : PenaltyScoreTestCaseFactory
{
protected ... | InnPad/Formall.NET | Formall.MySql/branches/WebSiteWithPresentation/QrCode.Tests/PenaltyScore/TestCases/Penalty2TestCaseFactory.cs | https://github.com/InnPad/Formall.NET/blob/HEAD/Formall.MySql/branches/WebSiteWithPresentation/QrCode.Tests/PenaltyScore/TestCases/Penalty2TestCaseFactory.cs | ghcode:00010:5aab1194fae5 | apache-2.0 | codeparrot/github-code | 5aab1194fae5a3b9bbe8ca38b5e715e13495ad9f5ce28aa27d142082bce5e2d2 | 0.6 | testing_debugging_repair_refactoring | 143 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace NMF.Expressions.Test
{
[TestClass]
public class AddExpressionTests
{
[TestMethod]
public void AddChecked_Int_NoObservable_NoUpdate()
{
checked
{
var updated = false;... | mlessmann/NMF | Expressions/Tests/Expressions.Test/Arithmetic/AddExpressionTests.cs | https://github.com/mlessmann/NMF/blob/HEAD/Expressions/Tests/Expressions.Test/Arithmetic/AddExpressionTests.cs | ghcode:00010:67a29ffeb3da | apache-2.0 | codeparrot/github-code | 67a29ffeb3daeaec644def0cdd641eeee2b2e88cc413895b9be4bb2cc9dfc1c8 | 0.85 | testing_debugging_repair_refactoring | 4,518 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using DotVVM.Framework.Configuration;
using DotVVM.Framework.Controls;
using DotVVM.Framework.Testing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace DotVVM.Framework.Tests.Runtime
{
[TestClass]
public class Htm... | riganti/dotvvm | src/Tests/Runtime/HtmlWriterTests.cs | https://github.com/riganti/dotvvm/blob/HEAD/src/Tests/Runtime/HtmlWriterTests.cs | ghcode:00010:4251f1feb102 | apache-2.0 | codeparrot/github-code | 4251f1feb10216a78040c4a1851df8d80ab5fd09280a466d81f1cd466b9257f9 | 0.85 | testing_debugging_repair_refactoring | 196 | false | 2026-07-17 |
// Copyright 2007-2011 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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.... | eswann/Burrows | src/Tests/Burrows.Tests/Configuration/Diagnostics_Specs.cs | https://github.com/eswann/Burrows/blob/HEAD/src/Tests/Burrows.Tests/Configuration/Diagnostics_Specs.cs | ghcode:00010:fe0aacbc8dbb | apache-2.0 | codeparrot/github-code | fe0aacbc8dbbc82bf5a2f5fba28f654d6d378f20dd49ff67c9f236f048d20b0c | 0.95 | testing_debugging_repair_refactoring | 299 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Purify;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Tests.Framework.MockData;
using Xunit;
using static Nest.Inf... | adam-mccoy/elasticsearch-net | src/Tests/Document/Multiple/ReindexOnServer/ReindexOnServerRemoteApiTests.cs | https://github.com/adam-mccoy/elasticsearch-net/blob/HEAD/src/Tests/Document/Multiple/ReindexOnServer/ReindexOnServerRemoteApiTests.cs | ghcode:00010:90f0a943cfa7 | apache-2.0 | codeparrot/github-code | 90f0a943cfa7a8da2a90e810549a174db963ac4a77b7049308109ecf7f6dbc0c | 0.85 | testing_debugging_repair_refactoring | 659 | false | 2026-07-17 |
//
// NotificationTest.cs
//
// Copyright (c) 2017 Couchbase, 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-... | couchbase/couchbase-lite-net | src/Couchbase.Lite.Tests.Shared/NotificationTest.cs | https://github.com/couchbase/couchbase-lite-net/blob/HEAD/src/Couchbase.Lite.Tests.Shared/NotificationTest.cs | ghcode:00010:bd3ca3c706a7 | apache-2.0 | codeparrot/github-code | bd3ca3c706a7ca9d405886842d9608e65ebf254f752c6fb712b58e31c4281e5a | 0.85 | testing_debugging_repair_refactoring | 1,452 | false | 2026-07-17 |
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using ImageMagick;
using Xunit;
namespace Magick.NET.Tests
{
public partial class ExifProfileTests
{
public class TheToByteArrayMethod
{
[Fact]
public v... | dlemstra/Magick.NET | tests/Magick.NET.Tests/Profiles/Exif/ExifProfileTests/TheToByteArrayMethod.cs | https://github.com/dlemstra/Magick.NET/blob/HEAD/tests/Magick.NET.Tests/Profiles/Exif/ExifProfileTests/TheToByteArrayMethod.cs | ghcode:00010:a155c0b98f32 | apache-2.0 | codeparrot/github-code | a155c0b98f322fc2674835d1d7b8a364a900c8fa20fa6f6a0a276236b6aabd09 | 0.7 | testing_debugging_repair_refactoring | 309 | false | 2026-07-17 |
// -----------------------------------------------------------------------------------------
// <copyright file="FileUploadDownloadTest.cs" company="Microsoft">
// Copyright 2013 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in... | SaschaDittmann/azure-storage-net | Test/ClassLibraryCommon/File/FileUploadDownloadTest.cs | https://github.com/SaschaDittmann/azure-storage-net/blob/HEAD/Test/ClassLibraryCommon/File/FileUploadDownloadTest.cs | ghcode:00010:298f82743d10 | apache-2.0 | codeparrot/github-code | 298f82743d10574d5c5e58623077c08218ac382c37942090da5533e5d0871abd | 0.7 | testing_debugging_repair_refactoring | 11,070 | false | 2026-07-17 |
#region license
// ==============================================================================
// Microsoft patterns & practices Enterprise Library
// Semantic Logging Application Block
// ==============================================================================
// Copyright © Microsoft Corporation. All right... | IharYakimush/EntLibLight | Blocks/SemanticLogging/Tests/SemanticLogging.Tests/TestSupport/AssertEx.cs | https://github.com/IharYakimush/EntLibLight/blob/HEAD/Blocks/SemanticLogging/Tests/SemanticLogging.Tests/TestSupport/AssertEx.cs | ghcode:00010:2a21b538f658 | apache-2.0 | codeparrot/github-code | 2a21b538f6588a3a052144c52580785437e8af93630d9cb31adc600ca7af884d | 0.95 | testing_debugging_repair_refactoring | 317 | false | 2026-07-17 |
using Rutt.Net;
using Test.Rutt.Net.vsTestAdapter.Utility;
namespace Test.Rutt.Net.vsTestAdapter
{
[Trait("vsAcceptance","Basic")]
[AcceptanceTestCollection]
public class AcceptanceTests
{
[TestCase]
public void AcceptanceTestMethood()
{
}
}
} | Redbolts/rutt.net | test/test.rutt.net.vstestadapter/AcceptanceTests.cs | https://github.com/Redbolts/rutt.net/blob/HEAD/test/test.rutt.net.vstestadapter/AcceptanceTests.cs | ghcode:00010:9a34c0d282c4 | apache-2.0 | codeparrot/github-code | 9a34c0d282c4fc760200a8f9c9b5f3b2016ee7b4c9dd29a72baf333169f56fad | 0.75 | testing_debugging_repair_refactoring | 73 | false | 2026-07-17 |
using iOS4Unity;
using NUnit.Framework;
using System;
#if !UNITY_EDITOR
[TestFixture]
public class UILocalNotificationTests
{
[Test]
public void NewObject()
{
var obj = new UILocalNotification();
Assert.AreNotEqual(IntPtr.Zero, obj.ClassHandle);
Assert.AreNotEqual(IntPtr.Zero, ob... | Hitcents/iOS4Unity | Assets/Tests/UILocalNotificationTests.cs | https://github.com/Hitcents/iOS4Unity/blob/HEAD/Assets/Tests/UILocalNotificationTests.cs | ghcode:00010:0b7ccb9811b4 | apache-2.0 | codeparrot/github-code | 0b7ccb9811b42a6698eacb72362386e8243e8f356f95659bc4f879e1b1700157 | 0.85 | testing_debugging_repair_refactoring | 272 | false | 2026-07-17 |
using Serilog.Configuration;
using Serilog.Core;
using Serilog.Core.Enrichers;
using Serilog.Core.Pipeline;
using Serilog.Events;
using Serilog.Tests.Support;
using System;
using System.Collections.Generic;
using System.Linq;
using TestDummies;
using Xunit;
#pragma warning disable Serilog004 // Constant MessageTemplat... | CaioProiete/serilog | test/Serilog.Tests/Core/LoggerTests.cs | https://github.com/CaioProiete/serilog/blob/HEAD/test/Serilog.Tests/Core/LoggerTests.cs | ghcode:00010:faacbaae4abc | apache-2.0 | codeparrot/github-code | faacbaae4abc805df5bf3c19afc10e57ff5db6a9e05f2cb966f5c7cb671e1531 | 0.85 | testing_debugging_repair_refactoring | 1,795 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using Digipost.Signature.Api.Client.Core.Tests.Utilities;
using Xunit.Sdk;
namespace Digipost.Signature.Api.Client.Core.Tests.Fakes
{
public class FakeHttpClientHandlerForTooManyRequestsResponse : FakeHttpClientHandlerResponse... | digipost/signature-api-client-dotnet | Digipost.Signature.Api.Client.Core.Tests/Fakes/FakeHttpClientHandlerForTooManyRequestsResponse.cs | https://github.com/digipost/signature-api-client-dotnet/blob/HEAD/Digipost.Signature.Api.Client.Core.Tests/Fakes/FakeHttpClientHandlerForTooManyRequestsResponse.cs | ghcode:00010:30954ba291b2 | apache-2.0 | codeparrot/github-code | 30954ba291b2fe728bf03c30e3781d948caf9d8228c73f859d92d7ead51b3e4c | 0.75 | testing_debugging_repair_refactoring | 139 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
namespace Csg.Data.Sql.Tests
{
[TestClass]
public class DbQueryBuilderTests
{
static DbQueryBuilderTests()
{
C... | csgsolutions/Csg.Data | Csg.Data.Sql.Tests/DbQueryBuilderTests.cs | https://github.com/csgsolutions/Csg.Data/blob/HEAD/Csg.Data.Sql.Tests/DbQueryBuilderTests.cs | ghcode:00010:7f6239d4973c | apache-2.0 | codeparrot/github-code | 7f6239d4973c81727a65fb148ee7fa529381ff2ac45477f2443372cbcdeb3759 | 0.75 | testing_debugging_repair_refactoring | 988 | false | 2026-07-17 |
namespace StripeTests
{
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Stripe;
using Xunit;
public class CustomerServiceTest : BaseStripeTest
{
private const string CustomerId = "cus_123";
private readonl... | stripe/stripe-dotnet | src/StripeTests/Services/Customers/CustomerServiceTest.cs | https://github.com/stripe/stripe-dotnet/blob/HEAD/src/StripeTests/Services/Customers/CustomerServiceTest.cs | ghcode:00010:4ff02c406d0b | apache-2.0 | codeparrot/github-code | 4ff02c406d0bef35cb0341d0866dc23bb27ac6b629bb65800a698ff453aa8180 | 0.6 | testing_debugging_repair_refactoring | 938 | false | 2026-07-17 |
using DataExplorer.Presentation.Shell.MainMenu;
using DataExplorer.Presentation.Shell.MainMenu.EditMenu;
using DataExplorer.Presentation.Shell.MainMenu.FileMenu;
using DataExplorer.Presentation.Shell.MainMenu.HelpMenu;
using DataExplorer.Presentation.Shell.MainMenu.ViewMenu;
using Moq;
using NUnit.Framework;
namespac... | dataexplorer/dataexplorer | Presentation.Tests/Shell/MainMenu/MainMenuViewModelTests.cs | https://github.com/dataexplorer/dataexplorer/blob/HEAD/Presentation.Tests/Shell/MainMenu/MainMenuViewModelTests.cs | ghcode:00010:3fa94c4bcfe5 | bsd-3-clause | codeparrot/github-code | 3fa94c4bcfe5e333fe4bd32f5259046e2ac796f05e27373c9d8d0f7437552a70 | 0.75 | testing_debugging_repair_refactoring | 458 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using DataExplorer.Application;
using DataExplorer.Domain.Sources;
using DataExplorer.Persistence.Sources;
using Moq;
using NUnit.Framework;
namespace DataExplorer.Persistence.Tests.Sources
{
[TestFixture]
public class SourceRepositoryTests
{
private... | dataexplorer/dataexplorer | Persistence.Tests/Sources/SourceRepositoryTests.cs | https://github.com/dataexplorer/dataexplorer/blob/HEAD/Persistence.Tests/Sources/SourceRepositoryTests.cs | ghcode:00010:ccc975401c16 | bsd-3-clause | codeparrot/github-code | ccc975401c162dc63c9fe6fcafeceda94b553e61837f87f3b2b446c8903ce097 | 0.75 | testing_debugging_repair_refactoring | 308 | false | 2026-07-17 |
using System.IO;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using NJsonSchema.Converters;
using Xunit;
namespace NJsonSchema.Tests.Generation
{
public class JsonInheritanceConverterTests
{
private static readonly JsonSerializer DefaultSerializer = JsonSerializer.CreateDefault();
... | NJsonSchema/NJsonSchema | src/NJsonSchema.Tests/Generation/JsonInheritanceConverterTests.cs | https://github.com/NJsonSchema/NJsonSchema/blob/HEAD/src/NJsonSchema.Tests/Generation/JsonInheritanceConverterTests.cs | ghcode:00010:3e7b7ee804af | mit | codeparrot/github-code | 3e7b7ee804af5b9eb576204a15fb0f9e0e89f29cb5ecd46f89eea50a23ae8018 | 0.85 | testing_debugging_repair_refactoring | 668 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Mapster.Tests
{
[TestClass]
public class WhenRunningOnMultipleThreads
{
[TestInitialize]
public void Setup()
{
TypeAdapterConfig<Customer, Cust... | chaowlert/Mapster | src/Mapster.Tests/WhenRunningOnMultipleThreads.cs | https://github.com/chaowlert/Mapster/blob/HEAD/src/Mapster.Tests/WhenRunningOnMultipleThreads.cs | ghcode:00010:e7e63f4f2c85 | mit | codeparrot/github-code | e7e63f4f2c8566b3e40f5cfa886e18dd14a995da5ab5b6ef44fd59dee514a397 | 0.6 | testing_debugging_repair_refactoring | 703 | false | 2026-07-17 |
using System.Diagnostics;
using System.Linq;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using UWNLPAssignment1;
namespace UWNLPAssignment1UnitTests
{
[TestClass]
public class SimpleCorpusUnitTests
{
readonly CorpusParsingResult _twoDogSentencesCorpus = CorpusParsing.ParseCorpus(S... | jogonzal/UWNLPAssignment1 | UWNLPAssignment1/UWNLPAssignment1UnitTests/SimpleCorpusUnitTests.cs | https://github.com/jogonzal/UWNLPAssignment1/blob/HEAD/UWNLPAssignment1/UWNLPAssignment1UnitTests/SimpleCorpusUnitTests.cs | ghcode:00010:30fca19124e9 | mit | codeparrot/github-code | 30fca19124e98431cdc327ef23c3ca0148435578af9532a574d09fdbcfaa3f9f | 0.85 | testing_debugging_repair_refactoring | 1,435 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using PHPAnalysis.Analysis;
using PHPAnalysis.Analysis.AST;
using PHPAnalysis.Analysis.CFG;
using PHPAnalysis.Analysis.CFG.Taint;
using PHPAnalysis.Anal... | Chikila/Eir | PHPAnalysis/PHPAnalysis.Tests/Analysis/StoredVulnTests.cs | https://github.com/Chikila/Eir/blob/HEAD/PHPAnalysis/PHPAnalysis.Tests/Analysis/StoredVulnTests.cs | ghcode:00010:9fb881998173 | mit | codeparrot/github-code | 9fb881998173594cb2980be2404fdeaeb62d005d3c4fe3791c80c072d3f89553 | 0.75 | testing_debugging_repair_refactoring | 1,432 | false | 2026-07-17 |
using NUnit.Framework;
namespace Xenon.Tests.ClickDialogBoxTests
{
[TestFixture]
public class XenonScreenClickDialogBoxTests : BaseClickDialogBoxTests<DummyXenonScreen>
{
protected override BaseXenonTest<DummyXenonScreen> CreateInstance( IXenonBrowser browser )
{
return new DummyXenonScreen( browser );
}
... | adeel41/Xenon | Xenon.Tests/ClickDialogBoxTests/XenonScreenClickDialogBoxTests.cs | https://github.com/adeel41/Xenon/blob/HEAD/Xenon.Tests/ClickDialogBoxTests/XenonScreenClickDialogBoxTests.cs | ghcode:00010:f7e7769d030e | mit | codeparrot/github-code | f7e7769d030e9f14450f7ba0be20070af276f455745567f4b255c4c57647214f | 0.75 | testing_debugging_repair_refactoring | 86 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Test.Utilities;
usin... | swaroop-sridhar/roslyn | src/Compilers/CSharp/Test/Semantic/Semantics/SemanticAnalyzerTests.cs | https://github.com/swaroop-sridhar/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Semantic/Semantics/SemanticAnalyzerTests.cs | ghcode:00010:57a3a06fa87c | apache-2.0 | codeparrot/github-code | 57a3a06fa87c3a47069608725ed86ee0ac21f982851b8b15d15d3fdbd2031f19 | 0.82 | testing_debugging_repair_refactoring | 21,071 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.VisualStudio.Debugger.Evaluation;
using Microsoft.VisualStudio.Debugger.Evaluation.ClrCompilation;
using System.Collections.ObjectModel;
using... | weltkante/roslyn | src/ExpressionEvaluator/Core/Source/ResultProvider/Expansion/DebuggerTypeProxyExpansion.cs | https://github.com/weltkante/roslyn/blob/HEAD/src/ExpressionEvaluator/Core/Source/ResultProvider/Expansion/DebuggerTypeProxyExpansion.cs | ghcode:00010:74147be1dc9d | apache-2.0 | codeparrot/github-code | 74147be1dc9dc35c047698592898b8310332bbfc2cae69b19b13621cb298679d | 0.85 | testing_debugging_repair_refactoring | 1,550 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
... | a-ctor/roslyn | src/EditorFeatures/Core/Implementation/IntelliSense/Completion/Controller.Session_FilterModel.cs | https://github.com/a-ctor/roslyn/blob/HEAD/src/EditorFeatures/Core/Implementation/IntelliSense/Completion/Controller.Session_FilterModel.cs | ghcode:00010:81d5c7337db5 | apache-2.0 | codeparrot/github-code | 81d5c7337db54ebf647d9a3436e6673f3b1432a92f2e7d5bd5b1af421b75d35f | 0.7 | testing_debugging_repair_refactoring | 5,009 | 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.Linq;
using Microsoft.CodeAnalysis.CSharp.Test.Utilities;
using Microsoft.CodeAnalysis.Te... | davkean/roslyn | src/Compilers/CSharp/Test/Syntax/Parsing/RefReadonlyTests.cs | https://github.com/davkean/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Syntax/Parsing/RefReadonlyTests.cs | ghcode:00010:71eca7caa600 | apache-2.0 | codeparrot/github-code | 71eca7caa600324690ff6ecf31a295eea2ad30eb251611eda433d1474ad97fa8 | 0.95 | testing_debugging_repair_refactoring | 5,792 | false | 2026-07-17 |
using NUnit.Framework;
using FluentAssertions;
namespace NSpec.Tests.WhenRunningSpecs
{
[TestFixture]
public class describe_skipped_before_alls_when_excluded_by_tag : when_running_specs
{
class InnocentBystander : nspec
{
public static string sequence = "";
void be... | mattflo/NSpec | sln/test/NSpec.Tests/WhenRunningSpecs/describe_skipped_before_after_alls_when_excluded_by_tag.cs | https://github.com/mattflo/NSpec/blob/HEAD/sln/test/NSpec.Tests/WhenRunningSpecs/describe_skipped_before_after_alls_when_excluded_by_tag.cs | ghcode:00010:e5331d0e8479 | mit | codeparrot/github-code | e5331d0e84797f58fe96fc6cd7433e6a005e02138435e2664d5a13808ad3ada4 | 0.85 | testing_debugging_repair_refactoring | 432 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------
// <copyright file="CachingDataLoaderFixture.cs" company="Effort Team">
// Copyright (C) 2011-2014 Effort Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this s... | arangas/effort | Main/Source/Effort.Test/DataLoaders/CachingDataLoaderFixture.cs | https://github.com/arangas/effort/blob/HEAD/Main/Source/Effort.Test/DataLoaders/CachingDataLoaderFixture.cs | ghcode:00010:7fc77ee41e8c | mit | codeparrot/github-code | 7fc77ee41e8c5659550f788f6859b66fa2519a76a787a35386be9bf6750967fa | 0.85 | testing_debugging_repair_refactoring | 1,406 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2011 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, incl... | Therzok/nunit | src/NUnitFramework/tests/Constraints/NUnitEqualityComparerTests.cs | https://github.com/Therzok/nunit/blob/HEAD/src/NUnitFramework/tests/Constraints/NUnitEqualityComparerTests.cs | ghcode:00010:67960f216840 | mit | codeparrot/github-code | 67960f2168406aec4f19f977ecbfdef617f044c022eb95ec70c5a37a7eac0a41 | 0.95 | testing_debugging_repair_refactoring | 2,359 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using NBitcoin;
using Stratis.Bitcoin.Consensus;
using Stratis.Bitcoin.Features.Miner.Interfaces;
using Stratis.Bitcoin.Features.Miner.Staking;
using Stratis.Bitcoin.Features.Wallet;
using Stratis.Bitcoin.IntegrationTests.Common... | quantumagi/StratisBitcoinFullNode | src/Stratis.Bitcoin.IntegrationTests/Miners/ProofOfStakeMiningTests.cs | https://github.com/quantumagi/StratisBitcoinFullNode/blob/HEAD/src/Stratis.Bitcoin.IntegrationTests/Miners/ProofOfStakeMiningTests.cs | ghcode:00010:2ebb728d7c0d | mit | codeparrot/github-code | 2ebb728d7c0dba59e6e7a8df1a136927f451794a2bf6a140c890c8e40110df63 | 0.85 | testing_debugging_repair_refactoring | 1,121 | false | 2026-07-17 |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using FluentAssertions;
using Microsoft.DotNet.Cli.Utils;
using Microsoft.DotNet.CommandFactory;
using Microsoft.D... | livarcocc/cli-1 | test/Microsoft.DotNet.CommandFactory.Tests/GivenAProjectPathCommandResolver.cs | https://github.com/livarcocc/cli-1/blob/HEAD/test/Microsoft.DotNet.CommandFactory.Tests/GivenAProjectPathCommandResolver.cs | ghcode:00010:0f645606e132 | mit | codeparrot/github-code | 0f645606e132850b114ba6b71e365a891c19957f173307a835cf55b8fe95b1cd | 0.6 | testing_debugging_repair_refactoring | 1,861 | 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... | rryk/omp-server | OpenSim/ApplicationPlugins/Rest/Inventory/tests/Remote.cs | https://github.com/rryk/omp-server/blob/HEAD/OpenSim/ApplicationPlugins/Rest/Inventory/tests/Remote.cs | ghcode:00010:7bf4b75639e5 | bsd-3-clause | codeparrot/github-code | 7bf4b75639e58506e7949aa0c5e053a04c0bf9f3e188ea1cd8f39f2588741867 | 0.95 | testing_debugging_repair_refactoring | 1,471 | false | 2026-07-17 |
using Orchard.DisplayManagement.Descriptors.ShapeTemplateStrategy;
using System.Linq;
using Xunit;
namespace Orchard.Tests.DisplayManagement.Decriptors
{
public class BasicShapeTemplateHarvesterTests
{
private static void VerifyShapeType(string givenSubPath, string givenFileName, string expectedShapeT... | GVX111/Orchard2 | test/Orchard.Tests/DisplayManagement/Decriptors/BasicShapeTemplateHarvesterTests.cs | https://github.com/GVX111/Orchard2/blob/HEAD/test/Orchard.Tests/DisplayManagement/Decriptors/BasicShapeTemplateHarvesterTests.cs | ghcode:00010:c9b157ab926c | bsd-3-clause | codeparrot/github-code | c9b157ab926cf6936e4d9e956846d31a98e441469f6ca2a847600492dc3d7577 | 0.75 | testing_debugging_repair_refactoring | 1,169 | false | 2026-07-17 |
using PactNet.Models;
using Xunit;
namespace PactNet.Tests.Models
{
public class InteractionTests
{
[Fact]
public void AsJsonString_WhenCalled_ReturnsJsonRepresentation()
{
const string expectedInteractionJson = "{\"description\":\"My description\",\"provider_stat... | humblelistener/pact-net | PactNet.Tests/Models/InteractionTests.cs | https://github.com/humblelistener/pact-net/blob/HEAD/PactNet.Tests/Models/InteractionTests.cs | ghcode:00010:f49eb6addf0c | mit | codeparrot/github-code | f49eb6addf0c17b3e9ad72a16cffdb4f7021f0f7fa07077338ae8b403841b931 | 0.75 | testing_debugging_repair_refactoring | 119 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ExpressMapper.Tests.Model.Models
{
public class Venue
{
public Guid Id { get; set; }
public string Name { get; set; }
}
}
| bo-stig-christensen/ExpressMapper | ExpressMapper.Tests.Model/Models/Venue.cs | https://github.com/bo-stig-christensen/ExpressMapper/blob/HEAD/ExpressMapper.Tests.Model/Models/Venue.cs | ghcode:00010:6c491e4470cf | apache-2.0 | codeparrot/github-code | 6c491e4470cf6191970e9ca1dff2b1a8a0042107baab92340fed5a2140dd3814 | 0.75 | testing_debugging_repair_refactoring | 54 | 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.IO;
using System.Linq;
using System.Net.Http;
using System.Net.Sockets;
using System.Text;
using System... | dotnet-bot/corefx | src/System.Net.HttpListener/tests/HttpRequestStreamTests.cs | https://github.com/dotnet-bot/corefx/blob/HEAD/src/System.Net.HttpListener/tests/HttpRequestStreamTests.cs | ghcode:00010:3efa6176a49a | mit | codeparrot/github-code | 3efa6176a49ab37ae4038b3b80a531131c21a34e2d2379fb1699498f83d2ab94 | 0.95 | testing_debugging_repair_refactoring | 4,592 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Diagnostics;
using System.Globalization;
using System.Text;
using AutoRest.Core.ClientModel;
using AutoRest.Swagger.Model;
using AutoR... | tbombach/autorest | src/modeler/AutoRest.Swagger/CollectionFormatBuilder.cs | https://github.com/tbombach/autorest/blob/HEAD/src/modeler/AutoRest.Swagger/CollectionFormatBuilder.cs | ghcode:00010:1e8292a68eb6 | mit | codeparrot/github-code | 1e8292a68eb6a8d86ff27689cc13fc3318d3b1912cd492b86410339456475cf7 | 0.7 | testing_debugging_repair_refactoring | 591 | false | 2026-07-17 |
// **********************************************************************************
// The MIT License (MIT)
//
// Copyright (c) 2014 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"), ... | NikolayPianikov/nunit | src/NUnitFramework/tests/Attributes/AuthorTests.cs | https://github.com/NikolayPianikov/nunit/blob/HEAD/src/NUnitFramework/tests/Attributes/AuthorTests.cs | ghcode:00010:b042c13896d9 | mit | codeparrot/github-code | b042c13896d9f82dcce87500d9c18fe30b14277bfae8070ee546166a90a82a4e | 0.95 | testing_debugging_repair_refactoring | 1,010 | 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... | atpham256/azure-powershell | src/ResourceManager/Insights/Commands.Insights.Test/Metrics/GetAzureRmMetricTests.cs | https://github.com/atpham256/azure-powershell/blob/HEAD/src/ResourceManager/Insights/Commands.Insights.Test/Metrics/GetAzureRmMetricTests.cs | ghcode:00010:485e4004ed1c | apache-2.0 | codeparrot/github-code | 485e4004ed1c3a52e356bd657dd94f197bb13228b0b487dd7a836ccf4ce97cd0 | 0.85 | testing_debugging_repair_refactoring | 1,270 | false | 2026-07-17 |
//
// MarkdownDeep - http://www.toptensoftware.com/markdowndeep
// Copyright (C) 2010-2011 Topten Software
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this product except in
// compliance with the License. You may obtain a copy of the License at
//
// http://www.ap... | fanta-mnix/ServiceStack | src/ServiceStack/WebHost.Endpoints/Support/MarkdownDeep/BlockProcessor.cs | https://github.com/fanta-mnix/ServiceStack/blob/HEAD/src/ServiceStack/WebHost.Endpoints/Support/MarkdownDeep/BlockProcessor.cs | ghcode:00010:a49dd58d1b3a | bsd-3-clause | codeparrot/github-code | a49dd58d1b3aa5ba8b3fe14d38fd802bbe5a72eded9ecc0b587c4cf2a6712826 | 0.85 | testing_debugging_repair_refactoring | 9,618 | 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;
namespace System.Linq.Parallel.Tests
{
internal static class Enumerables<T>
... | janhenke/corefx | src/System.Linq.Parallel/tests/Helpers/Enumerables.cs | https://github.com/janhenke/corefx/blob/HEAD/src/System.Linq.Parallel/tests/Helpers/Enumerables.cs | ghcode:00010:7654baa0f548 | mit | codeparrot/github-code | 7654baa0f5483d4c4a486b2b69d0efcd1bca65e7118621725a26e3a9fa7997b6 | 0.95 | testing_debugging_repair_refactoring | 247 | false | 2026-07-17 |
// ****************************************************************
// Copyright 2008, Charlie Poole
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org
// ****************************************************************
using System;
using NUnit.Frame... | prepare/LiteDB | NUnit-2.6.0.12051/src/tests/test-assembly/ThreadingFixture.cs | https://github.com/prepare/LiteDB/blob/HEAD/NUnit-2.6.0.12051/src/tests/test-assembly/ThreadingFixture.cs | ghcode:00010:cd047e03162c | mit | codeparrot/github-code | cd047e03162cb8d0cf49d7036f59edcbe355d4e8b50e4092d322e9735f6374d3 | 0.95 | testing_debugging_repair_refactoring | 265 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp.CodeFixes.Async;
using Microsoft.CodeAnalysis.Diagno... | weltkante/roslyn | src/EditorFeatures/CSharpTest/Diagnostics/Async/ChangeToAsyncTests.cs | https://github.com/weltkante/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/Diagnostics/Async/ChangeToAsyncTests.cs | ghcode:00010:a261943319eb | apache-2.0 | codeparrot/github-code | a261943319eb2d9060b3de5b4e88465deb316d6ccbfe85834905d6249643b4d2 | 0.75 | testing_debugging_repair_refactoring | 269 | false | 2026-07-17 |
using Abot.Core;
using Abot.Poco;
using NUnit.Framework;
using System;
namespace Abot.Tests.Unit.Core
{
[TestFixture]
public class CsQueryHyperLinkParserTest : HyperLinkParserTest
{
protected override HyperLinkParser GetInstance()
{
return new CSQueryHyperlinkParser... | pedditi/abot | Abot.Tests.Unit/Core/CsQueryHyperLinkParserTest.cs | https://github.com/pedditi/abot/blob/HEAD/Abot.Tests.Unit/Core/CsQueryHyperLinkParserTest.cs | ghcode:00010:03c38ecfc8bb | apache-2.0 | codeparrot/github-code | 03c38ecfc8bbdb0ee8a81c64d0bf7ea4bd67d59b85dd89832eebc482cd81f2ed | 0.75 | testing_debugging_repair_refactoring | 72 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CSharp.Syntax;
using static Microsoft.CodeAnalysis.CSharp.SyntaxKind;
namespace Microsoft.CodeAnalysis.CSharp
{
public stat... | furesoft/roslyn | src/Compilers/CSharp/Portable/Syntax/SyntaxFacts.cs | https://github.com/furesoft/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Syntax/SyntaxFacts.cs | ghcode:00010:4dd3f0369cf5 | apache-2.0 | codeparrot/github-code | 4dd3f0369cf5a2c68e8ff3a9bd721e8ffdebef3c36537ec2f6f6922c25c4ba40 | 0.85 | testing_debugging_repair_refactoring | 2,549 | false | 2026-07-17 |
//-----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
namespace System.Activities.Runtime
{
using System;
using System.Runtime;
using Syste... | sekcheong/referencesource | System.Activities/System/Activities/Runtime/FaultContext.cs | https://github.com/sekcheong/referencesource/blob/HEAD/System.Activities/System/Activities/Runtime/FaultContext.cs | ghcode:00010:7b5f69f5d834 | mit | codeparrot/github-code | 7b5f69f5d83431c54000311413a1605e412d6379d9d9cab0f649545f9bd28304 | 0.7 | testing_debugging_repair_refactoring | 267 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2014 Charlie Poole
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, incl... | msgpack/msgpack-cli | test/NUnitLite/NUnitFramework/framework/Internal/Builders/DefaultSuiteBuilder.cs | https://github.com/msgpack/msgpack-cli/blob/HEAD/test/NUnitLite/NUnitFramework/framework/Internal/Builders/DefaultSuiteBuilder.cs | ghcode:00010:3b833827867e | apache-2.0 | codeparrot/github-code | 3b833827867e5c65944aea5327b94b1abb28062dbb2525f6f02e15055a191917 | 0.7 | testing_debugging_repair_refactoring | 1,344 | false | 2026-07-17 |
using NUnit.Framework;
using Saltarelle.Compiler.Compiler;
using Saltarelle.Compiler.ScriptSemantics;
namespace Saltarelle.Compiler.Tests.CompilerTests.MethodCompilation.Statements {
[TestFixture]
public class SwitchTests : MethodCompilerTestBase {
[Test]
public void SwitchStatementWorks() {
AssertCorrect(
@... | cezary12/SaltarelleCompiler | Compiler/Saltarelle.Compiler.Tests/CompilerTests/MethodCompilation/Statements/SwitchTests.cs | https://github.com/cezary12/SaltarelleCompiler/blob/HEAD/Compiler/Saltarelle.Compiler.Tests/CompilerTests/MethodCompilation/Statements/SwitchTests.cs | ghcode:00010:8b4116411d8f | apache-2.0 | codeparrot/github-code | 8b4116411d8f668441f077e1ff20d15b20e54d840ad4c08b4ccebd2f0fe82ec1 | 0.85 | testing_debugging_repair_refactoring | 1,511 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Diagnostics;
using System.IO;
using System.Linq;
usi... | physhi/roslyn | src/Compilers/Core/Portable/Emit/EditAndContinueMethodDebugInformation.cs | https://github.com/physhi/roslyn/blob/HEAD/src/Compilers/Core/Portable/Emit/EditAndContinueMethodDebugInformation.cs | ghcode:00010:1f01170c4331 | apache-2.0 | codeparrot/github-code | 1f01170c4331018adb9cc14c378cba8e8c17611af7edf4605bf6a308b5809d51 | 0.85 | testing_debugging_repair_refactoring | 2,017 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Reflection.Tests
{
// System.Reflection.EventInfo.RemoveEvenHandler(System object... | iamjasonp/corefx | src/System.Reflection.TypeExtensions/tests/EventInfo/EventInfoRemoveEventHandler.cs | https://github.com/iamjasonp/corefx/blob/HEAD/src/System.Reflection.TypeExtensions/tests/EventInfo/EventInfoRemoveEventHandler.cs | ghcode:00010:5ab953b25818 | mit | codeparrot/github-code | 5ab953b258183f8484f957ee70b1fddb1dd1f106e0269632d4501676a65c2744 | 0.95 | testing_debugging_repair_refactoring | 1,039 | 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.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing... | zhencui/azure-powershell | src/ServiceManagement/Services/Commands.Test/MediaServices/GetAzureMediaServicesTests.cs | https://github.com/zhencui/azure-powershell/blob/HEAD/src/ServiceManagement/Services/Commands.Test/MediaServices/GetAzureMediaServicesTests.cs | ghcode:00010:7477f4744e42 | apache-2.0 | codeparrot/github-code | 7477f4744e42170c1ca12ea339eeb866710b7fdf522b20c86808e1e5db4104ff | 0.85 | testing_debugging_repair_refactoring | 1,371 | 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.IO;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
... | ptoonen/corefx | src/System.Net.Http/tests/FunctionalTests/HttpResponseMessageTest.cs | https://github.com/ptoonen/corefx/blob/HEAD/src/System.Net.Http/tests/FunctionalTests/HttpResponseMessageTest.cs | ghcode:00010:3bd3715aca27 | mit | codeparrot/github-code | 3bd3715aca27a80125110f6aa6abc9abf8723fe64cfeb4eb1494937421df11cf | 0.95 | testing_debugging_repair_refactoring | 2,135 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis... | DanielRosenwasser/roslyn | src/Compilers/Core/Portable/CodeGen/LocalSlotManager.cs | https://github.com/DanielRosenwasser/roslyn/blob/HEAD/src/Compilers/Core/Portable/CodeGen/LocalSlotManager.cs | ghcode:00010:d8d547fe125a | apache-2.0 | codeparrot/github-code | d8d547fe125a4637a3aab88410d65d2b99f99c6683edc96d09d44036388d193f | 0.85 | testing_debugging_repair_refactoring | 1,681 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using NUnit.Framework;
using Phoenix;
using Newtonsoft.Json.Linq;
namespace PhoenixTests {
[TestFixture()]
public class MessageSerializationTests {
private Message sampleMessage {
get {
var payload = new Dictionary<string, object> {
{ "some key", 12 }... | Mazyod/PhoenixSharp | PhoenixTests/MessageSerializationTests.cs | https://github.com/Mazyod/PhoenixSharp/blob/HEAD/PhoenixTests/MessageSerializationTests.cs | ghcode:00010:f1cdaa3f50ed | mit | codeparrot/github-code | f1cdaa3f50ed5af5aac72fa3cca00dad29ecfb0538d4bd367c0bda84b26f00b6 | 0.75 | testing_debugging_repair_refactoring | 326 | false | 2026-07-17 |
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// --------------------------------------------------------... | p-org/PSharp | Tests/LanguageServices.Tests/Statements/GotoStateTests.cs | https://github.com/p-org/PSharp/blob/HEAD/Tests/LanguageServices.Tests/Statements/GotoStateTests.cs | ghcode:00010:c617c5c18049 | mit | codeparrot/github-code | c617c5c18049a35476a01345637d92c4e2cc5d202a69b8513b285f60d14d37ba | 0.85 | testing_debugging_repair_refactoring | 676 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="AddressTests.cs">
// Copyright (c) 2016 Jacob Ferm, All rights Reserved
// </copyright>
//-----------------------------------------------------------------------
using Microsoft.VisualStudio.TestTools.UnitTesting;
using S... | SliderVM/Faker.Data | Faker/Faker.Tests/AddressTests.cs | https://github.com/SliderVM/Faker.Data/blob/HEAD/Faker/Faker.Tests/AddressTests.cs | ghcode:00010:f75bc3842a9f | mit | codeparrot/github-code | f75bc3842a9f0562db8db679a15ec806ab15357226faa507a986fb985879c409 | 0.85 | testing_debugging_repair_refactoring | 601 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BBS.Libraries.Extensions;
using NUnit.Framework;
namespace BBS.Libraries.UnitTests.General
{
[TestFixture]
public class Emails
{
[Test]
public void Emails_Can_Be_Serial... | brentonlamar/bbs.libraries | UnitTests/BBS.Libraries.UnitTests.General/Emails.cs | https://github.com/brentonlamar/bbs.libraries/blob/HEAD/UnitTests/BBS.Libraries.UnitTests.General/Emails.cs | ghcode:00010:3c402ba60e20 | mit | codeparrot/github-code | 3c402ba60e2001cd255e8fb0b1a85dae5fc6b1162bd1e7170a0fae7a4eef2512 | 0.6 | testing_debugging_repair_refactoring | 677 | false | 2026-07-17 |
using IbanLib.Countries;
using IbanLib.Domain;
using IbanLib.Domain.Splitters;
using IbanLib.Domain.Validators;
using Moq;
using NUnit.Framework;
namespace IbanLib.Test
{
[TestFixture]
public abstract class ATest
{
protected const string BankCode = "BANKCODE";
protected const string Branch... | epreviati/IbanLib | IbanLib.Test/ATest.cs | https://github.com/epreviati/IbanLib/blob/HEAD/IbanLib.Test/ATest.cs | ghcode:00010:a465a292246a | mit | codeparrot/github-code | a465a292246aa2120398910d70e6b2285e570fe17a104b9bad2e33612987c989 | 0.6 | testing_debugging_repair_refactoring | 765 | false | 2026-07-17 |
namespace Cars.Tests.JustMock
{
using System;
using System.Collections.Generic;
using System.Linq;
using Cars.Contracts;
using Cars.Controllers;
using Cars.Infrastructure;
using Cars.Models;
using Cars.Tests.JustMock.Mocks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
//... | svetlai/TelerikAcademy | Programming-with-C#/High-Quality-Code/16-Mocking-with-Moq-and-JustMock/Cars.Tests.JustMock/CarsControllerTests.cs | https://github.com/svetlai/TelerikAcademy/blob/HEAD/Programming-with-C#/High-Quality-Code/16-Mocking-with-Moq-and-JustMock/Cars.Tests.JustMock/CarsControllerTests.cs | ghcode:00010:65fcbdc7e7a4 | mit | codeparrot/github-code | 65fcbdc7e7a414d619be3d4b997e608ab049c94592cfe00c6ce0e6f30572bc53 | 0.85 | testing_debugging_repair_refactoring | 872 | false | 2026-07-17 |
using Xunit;
namespace ZabbixApiTests.Integration
{
public class UserServiceIntegrationTest : IntegrationTestBase
{
[Fact]
public void MustGetAny()
{
var result = context.Users.Get();
Assert.NotNull(result);
Assert.NotEmpty(result);
}
}
}... | HenriqueCaires/ZabbixApi | ZabbixApiTests/Integration/UserServiceIntegrationTest.cs | https://github.com/HenriqueCaires/ZabbixApi/blob/HEAD/ZabbixApiTests/Integration/UserServiceIntegrationTest.cs | ghcode:00010:703732e966aa | mit | codeparrot/github-code | 703732e966aa026e99068e5d97086bf9b6050b8b8b60e515259da190a9907883 | 0.6 | testing_debugging_repair_refactoring | 62 | false | 2026-07-17 |
#region Copyright (c) 2014 Systematic
// **********************************************************************************
// The MIT License (MIT)
//
// Copyright (c) 2014 Systematic
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation f... | systematic-com/nunit | src/Systematic.NUnit.Test/Constraints/ObjectPropertiesNotEqualsConstraintTest.cs | https://github.com/systematic-com/nunit/blob/HEAD/src/Systematic.NUnit.Test/Constraints/ObjectPropertiesNotEqualsConstraintTest.cs | ghcode:00010:1ab5e1d34f19 | mit | codeparrot/github-code | 1ab5e1d34f19cc4c43f4aa44806f49a105db05ad2ff29ccb80d78123b6285898 | 0.7 | testing_debugging_repair_refactoring | 1,223 | false | 2026-07-17 |
using Contoso.Abstract.EventSourcing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Abstract.EventSourcing;
using System.Abstract.AbstractTests;
namespace System.Abstract.Tests.EventSourcing.Integration
{
[TestClass]
public class FileEventStoreTest : AbstractEventStoreTest
{
... | BclEx/System.Abstract | src/System.Abstract.Tests/EventSourcing/Integration/FileEventStoreTest.cs | https://github.com/BclEx/System.Abstract/blob/HEAD/src/System.Abstract.Tests/EventSourcing/Integration/FileEventStoreTest.cs | ghcode:00010:d3be22ee7e6a | mit | codeparrot/github-code | d3be22ee7e6a6992a63bf9a3278e4cfef8b354d9a819964f6e888c58b85761da | 0.6 | testing_debugging_repair_refactoring | 111 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DocsBr.Validation.IE;
namespace DocsBr.Tests
{
[TestClass]
public class IEDistritoFederalValidatorTests : IEValidatorTests
{
private static string[] validValues =
{
"07300001001-09", "07.343.623/001-77", "07.451.530/001... | martinusso/docsbr.net | DocsBr.Tests/IEDistritoFederalValidatorTests.cs | https://github.com/martinusso/docsbr.net/blob/HEAD/DocsBr.Tests/IEDistritoFederalValidatorTests.cs | ghcode:00010:39020ed7ef74 | mit | codeparrot/github-code | 39020ed7ef74b517b8dfb6d186bcb66b6dd2dedf3a398180d8415e51fd47e257 | 0.75 | testing_debugging_repair_refactoring | 526 | false | 2026-07-17 |
using System.Collections.Generic;
using Codestellation.Emisstar.Impl;
using NUnit.Framework;
using SharpTestsEx;
namespace Codestellation.Emisstar.Tests.Impl
{
[TestFixture]
public class CompositeHandlerSourceTests
{
private CompositeHandlerSource _compositeSource;
private SimpleSubscriber... | Codestellation/Emisstar | src/Emisstar.Tests/Impl/CompositeHandlerSourceTests.cs | https://github.com/Codestellation/Emisstar/blob/HEAD/src/Emisstar.Tests/Impl/CompositeHandlerSourceTests.cs | ghcode:00010:891d53636ca7 | mit | codeparrot/github-code | 891d53636ca7ab6059b115e727affe0d7ba433ee3fc3a70a8a0a50e07cd40c2a | 0.75 | testing_debugging_repair_refactoring | 480 | false | 2026-07-17 |
// Copyright (C) 2016 Jay Bazuzi - This software may be modified and distributed under the terms of the MIT license. See the LICENSE.md file for details.
using System;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bazuzi.ValueTypeAssertions.Tests.Incorrectly_Implemented_Types... | JayBazuzi/ValueTypeAssertions | ValueTypeAssertions.Tests/Incorrectly Implemented Types/IEquatable.Equals/EqualityCheckIsReversed.cs | https://github.com/JayBazuzi/ValueTypeAssertions/blob/HEAD/ValueTypeAssertions.Tests/Incorrectly Implemented Types/IEquatable.Equals/EqualityCheckIsReversed.cs | ghcode:00010:57fffad8842e | mit | codeparrot/github-code | 57fffad8842e107e68517d2ef1ef240e1fc1e571ab6ee49ee654e1a8742365f3 | 0.6 | testing_debugging_repair_refactoring | 438 | false | 2026-07-17 |
namespace Gu.Analyzers.Test.GU0015DontAssignMoreThanOnceTests
{
using Gu.Roslyn.Asserts;
using Microsoft.CodeAnalysis.Diagnostics;
using NUnit.Framework;
internal class ValidCode
{
private static readonly DiagnosticAnalyzer Analyzer = new SimpleAssignmentAnalyzer();
[Test]
... | JohanLarsson/Gu.Analyzers | Gu.Analyzers.Test/GU0015DontAssignMoreThanOnceTests/ValidCode.cs | https://github.com/JohanLarsson/Gu.Analyzers/blob/HEAD/Gu.Analyzers.Test/GU0015DontAssignMoreThanOnceTests/ValidCode.cs | ghcode:00010:2ef136b22ea0 | mit | codeparrot/github-code | 2ef136b22ea0c3b593a9ae4eb70c374bb72fb1a081142ba51e61da696ef5195b | 0.6 | testing_debugging_repair_refactoring | 1,434 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DXTools.CRM.Solutions.CustomEmails.Common;
using Microsoft.Xrm.Sdk.Fakes;
using Microsoft.Xrm.Sdk;
using System.Collections.Generic;
using Microsoft.Xrm.Sdk.Messages;
using Microsoft.Xrm.Sdk.Metadata;
using Microsoft.Xrm.Sdk.Metadata.Fakes;
using ... | rtebar/dynamics-custom-emails | DXTools.CRM.Solutions.CustomEmails.UnitTests/Common/TextProcessing/StaticParametersTest.cs | https://github.com/rtebar/dynamics-custom-emails/blob/HEAD/DXTools.CRM.Solutions.CustomEmails.UnitTests/Common/TextProcessing/StaticParametersTest.cs | ghcode:00010:2884be171028 | mit | codeparrot/github-code | 2884be17102820426d4c0d5f084dec715e4c89366e4bdf2d916e07b137b631db | 0.6 | testing_debugging_repair_refactoring | 291 | false | 2026-07-17 |
namespace FitnessAppTests
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium.Appium;
using OpenQA.Selenium.Appium.Android;
using OpenQA.Selenium.Appium.Service;
using OpenQA.Se... | dechoD/Telerik-Homeworks | Module III Homeworks (QA Track)/Part 3/MobileTestingHW/FitnessAppTests/FitnessAppTests.cs | https://github.com/dechoD/Telerik-Homeworks/blob/HEAD/Module III Homeworks (QA Track)/Part 3/MobileTestingHW/FitnessAppTests/FitnessAppTests.cs | ghcode:00010:a4665a39f51f | mit | codeparrot/github-code | a4665a39f51f3f139229f859fb992c65175ba365448a440ee4a113003f838056 | 0.85 | testing_debugging_repair_refactoring | 1,179 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using InfiniteCity.Control;
using InfiniteCity.Control.Tiles;
using InfiniteCity.Model;
using InfiniteCity.Model.Enums;
using InfiniteCity.Tests.Model;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace InfiniteCity.Tests... | llanes1990/RecreatingInfiniteCity | Infinite City Tests/Control/Tiles/GuildHallTest.cs | https://github.com/llanes1990/RecreatingInfiniteCity/blob/HEAD/Infinite City Tests/Control/Tiles/GuildHallTest.cs | ghcode:00010:dfba09bef0f0 | mit | codeparrot/github-code | dfba09bef0f03393fece4a06e30042f90662a65b10b5e59b2dda63fad0f95142 | 0.7 | testing_debugging_repair_refactoring | 443 | false | 2026-07-17 |
namespace DevTeam.Patterns.IoC.Tests
{
using System;
using System.Collections.Generic;
using Moq;
using NUnit.Framework;
public class ControlledLifetimeTests : LifetimeTestsBase
{
[Test]
[TestCase(typeof(int), typeof(string), "abc", typeof(string), typeof(long), typeof(DateTi... | DevTeam/patterns | DevTeam.Patterns.IoC.Tests/ControlledLifetimeTests.cs | https://github.com/DevTeam/patterns/blob/HEAD/DevTeam.Patterns.IoC.Tests/ControlledLifetimeTests.cs | ghcode:00010:468effee1b74 | mit | codeparrot/github-code | 468effee1b7475cf8648669814e56e135b823bf32089d8f072f749f20f2dff2e | 0.85 | testing_debugging_repair_refactoring | 425 | 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.Core.Tests.ControlBus
{
public class ConfigurationCommandStopTests
{
const string CONNEC... | BrighterCommand/Brighter | tests/Paramore.Brighter.Core.Tests/ControlBus/When_receiving_a_stop_message_for_a_connection.cs | https://github.com/BrighterCommand/Brighter/blob/HEAD/tests/Paramore.Brighter.Core.Tests/ControlBus/When_receiving_a_stop_message_for_a_connection.cs | ghcode:00010:173ee0c563f9 | mit | codeparrot/github-code | 173ee0c563f9281deadcf052ef77506434bd43aa7521e92c87422dd4dbc1230f | 0.75 | testing_debugging_repair_refactoring | 223 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Xunit;
namespace CSharpViaTest.Collections._30_MapReducePractices
{
/*
* Description
* ===========
*
* This test will try create dictionary from source data.
*
* Difficulty: Mediu... | AxeDotNet/AxePractice.CSharpViaTest | src/CSharpViaTest.Collections/30_MapReducePractices/AggregateToDictionary.cs | https://github.com/AxeDotNet/AxePractice.CSharpViaTest/blob/HEAD/src/CSharpViaTest.Collections/30_MapReducePractices/AggregateToDictionary.cs | ghcode:00010:fca85727d350 | mit | codeparrot/github-code | fca85727d3502f0fe991a78cfaddb02700b50da9b3ea317ace4cfc67ac81ea35 | 0.6 | testing_debugging_repair_refactoring | 759 | false | 2026-07-17 |
namespace app.web.Repositories.Tests
{
using System.Collections.Generic;
using System.Threading.Tasks;
using Moq;
public class MockDatabaseRepository
{
public static IDatabaseRepository Create<T>(T result, List<T> results)
{
var mockDatabaseRepository = new Mock<IDatabas... | jscoobyced/jsc-people-profiler | app.test/Repositories/MockDatabaseRepository.cs | https://github.com/jscoobyced/jsc-people-profiler/blob/HEAD/app.test/Repositories/MockDatabaseRepository.cs | ghcode:00010:338f0ddd98c9 | mit | codeparrot/github-code | 338f0ddd98c96ed1c90270b86c10f33927055ea9e3ad2090f5fd024f46b94ce3 | 0.6 | testing_debugging_repair_refactoring | 209 | false | 2026-07-17 |
using JsonApiSerializer.Exceptions;
using JsonApiSerializer.JsonApi;
using JsonApiSerializer.Test.Models.Articles;
using JsonApiSerializer.Test.Models.Locations;
using JsonApiSerializer.Test.TestUtils;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using Xunit;
namespace JsonA... | codecutout/JsonApiSerializer | tests/JsonApiSerializer.Test/SerializationTests/SerializationRelationshipTests.cs | https://github.com/codecutout/JsonApiSerializer/blob/HEAD/tests/JsonApiSerializer.Test/SerializationTests/SerializationRelationshipTests.cs | ghcode:00010:831dd2a76e73 | mit | codeparrot/github-code | 831dd2a76e73d7af1d6a3b230ffdfde4bcca59112768704ab2950e4322ba09df | 0.85 | testing_debugging_repair_refactoring | 4,371 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.