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 NUnit.Framework;
using TopinFrassi.GraphTheories.Graphs.Edges;
using TopinFrassi.GraphTheories.Graphs;
namespace TopinFrassi.Tests.GraphTheories.Graphs.Edges
{
[TestFixture]
public class EdgeTest
{
[Test]
public void Constructor_NullFrom()
{
//Build
... | topinfrassi01/GraphTheories | Tests/TopinFrassi.Tests.GraphTheories.Graphs/Edges/EdgeTest.cs | https://github.com/topinfrassi01/GraphTheories/blob/HEAD/Tests/TopinFrassi.Tests.GraphTheories.Graphs/Edges/EdgeTest.cs | ghcode:00161:8642008c79d0 | mit | codeparrot/github-code | 8642008c79d0103844f09998a0916f219c845d0c0241c45b13b78e1d92fe1eb8 | 0.85 | testing_debugging_repair_refactoring | 1,323 | false | 2026-07-17 |
namespace Macabre2D.Tests.Physics {
using Macabre2D.Framework.Physics;
using Microsoft.Xna.Framework;
using NUnit.Framework;
[TestFixture]
public static class PolygonColliderTests {
[Test]
[Category("Unit Tests")]
[TestCase(0f, 0f, 1f, 1f, 0f, 0f, 0.5f, false, TestName = ... | BrettMStory/Rambler2D | Tests/Physics/PolygonColliderTests.cs | https://github.com/BrettMStory/Rambler2D/blob/HEAD/Tests/Physics/PolygonColliderTests.cs | ghcode:00161:1d7ba3467cea | mit | codeparrot/github-code | 1d7ba3467cea97b70784e17ddb306cdaaa7f31f6fd63acea2cfeb6bbf20f0fe8 | 0.75 | testing_debugging_repair_refactoring | 2,793 | false | 2026-07-17 |
using System;
using Inform.Tests.Common;
using Inform;
using Inform.Sql;
using NUnit.Framework;
namespace Inform.Tests.Sql {
[TestFixture]
public class SqlDataStoreTest : DataStoreTest {
override public DataStore CreateDataStore() {
SqlDataStore dataStore = new Inform.Sql.SqlDataStore();
d... | mlehman/inform | src/Inform.Tests/Sql/SqlDataStoreTest.cs | https://github.com/mlehman/inform/blob/HEAD/src/Inform.Tests/Sql/SqlDataStoreTest.cs | ghcode:00161:47d5307ac686 | mit | codeparrot/github-code | 47d5307ac686f821fadcdea60dcb01ae47556542bdf49ff93646096bb7a79b74 | 0.6 | testing_debugging_repair_refactoring | 113 | false | 2026-07-17 |
using Microsoft.Reactive.Testing;
using NUnit.Framework;
namespace Shoutr.Tests
{
public class ListenerTests
{
private TestScheduler _scheduler;
[SetUp]
public void Setup()
{
_scheduler = new TestScheduler();
}
/*[Test]
public async Task Test... | zerotwooneone/Shoutr | Shoutr.Tests/ListenerTests.cs | https://github.com/zerotwooneone/Shoutr/blob/HEAD/Shoutr.Tests/ListenerTests.cs | ghcode:00161:0c72ba3e614e | mit | codeparrot/github-code | 0c72ba3e614efcd5cffa19330864e70700ac6266ddfc439ab3fa15d600e481ec | 0.75 | testing_debugging_repair_refactoring | 376 | false | 2026-07-17 |
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Soap;
using NUnit.Framework;
namespace Unity.InterceptionExtension.Serialization.Test
{
[TestFixture]
public class TestSoapFormatter : TestBaseFormatter
{
protected override string GetVMFileName()
{
... | pablodgonzalez/Unity.Interception.Serialization | Unity.Interception.Serialization.Test/TestSoapFormatter.cs | https://github.com/pablodgonzalez/Unity.Interception.Serialization/blob/HEAD/Unity.Interception.Serialization.Test/TestSoapFormatter.cs | ghcode:00161:f72c5fa37f49 | mit | codeparrot/github-code | f72c5fa37f49774e133a6fd7918d596e5e8f1a1988cbd2447cf9803266550816 | 0.75 | testing_debugging_repair_refactoring | 105 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using SFA.DAS.CommitmentsV2.Shared.Extensions;
using SFA.DAS.CommitmentsV2.Types;
namespace SFA.DAS.CommitmentsV2.Shared.UnitTests.Extensions
{
[TestFixture]
public class EnumExtensionTests
{
[TestCase(ApprenticeshipStatus.WaitingToStart, "Waiting to start")]
... | SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Shared.UnitTests/Extensions/EnumExtensionTests.cs | https://github.com/SkillsFundingAgency/das-commitments/blob/HEAD/src/CommitmentsV2/SFA.DAS.CommitmentsV2.Shared.UnitTests/Extensions/EnumExtensionTests.cs | ghcode:00161:dcf77505aeba | mit | codeparrot/github-code | dcf77505aeba46b1be8b7c18f08235fa20d47f0a4f09644f654fa60fa3ea7706 | 0.75 | testing_debugging_repair_refactoring | 184 | false | 2026-07-17 |
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
namespace DbUp.Tests.ScriptProvider
{
static class TestScripts
{
public static void Create(out string testPath)
{
var assembly = typeof(TestScripts).GetTypeInfo().Assembly;
... | DbUp/DbUp | src/dbup-tests/ScriptProvider/TestScripts.cs | https://github.com/DbUp/DbUp/blob/HEAD/src/dbup-tests/ScriptProvider/TestScripts.cs | ghcode:00161:cddab0762323 | mit | codeparrot/github-code | cddab0762323be2bd443f1e02eed05145525aa906113188497aad6a29a7b83ea | 0.75 | testing_debugging_repair_refactoring | 295 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Gwent.NET.Events;
using Gwent.NET.Model;
using Gwent.NET.Model.Enums;
using Gwent.NET.Model.States;
using Xunit;
namespace Gwent.NET.Test.States
{
public class RedrawStateTest
{
[Fact]
public void InitializeRedrawState()
... | Atvaark/Gwent.NET | Gwent.NET.Test/States/RedrawStateTest.cs | https://github.com/Atvaark/Gwent.NET/blob/HEAD/Gwent.NET.Test/States/RedrawStateTest.cs | ghcode:00161:584f2ead1a67 | mit | codeparrot/github-code | 584f2ead1a6733366fc6a884aa9b699f7981e818f7df63ed096f7e38acae6d77 | 0.6 | testing_debugging_repair_refactoring | 677 | false | 2026-07-17 |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
namespace NUnit.Framework.Constraints
{
/// <summary>
/// Abstract base class for constraints that compare values to
/// d... | nunit/nunit | src/NUnitFramework/framework/Constraints/ComparisonConstraint.cs | https://github.com/nunit/nunit/blob/HEAD/src/NUnitFramework/framework/Constraints/ComparisonConstraint.cs | ghcode:00161:0a06fc923555 | mit | codeparrot/github-code | 0a06fc923555927ce128093644960ddcb7b850f3426d00831ebe34142702e055 | 0.85 | testing_debugging_repair_refactoring | 1,138 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace CodeContracts.Tests
{
public class StrictlyPositiveAttributeTests
{
[Theory(DisplayName = "Проверка атрибута контракта StrictlyPositive")]
[InlineData(-1, ... | NickRusinov/CodeContracts.Fody | CodeContracts.Tests/StrictlyPositiveAttributeTests.cs | https://github.com/NickRusinov/CodeContracts.Fody/blob/HEAD/CodeContracts.Tests/StrictlyPositiveAttributeTests.cs | ghcode:00161:f6cbdfb66afe | mit | codeparrot/github-code | f6cbdfb66afe8f16166086811a3a1c55ee151e11dcbbc1fd322fddd304f8da5c | 0.75 | testing_debugging_repair_refactoring | 375 | false | 2026-07-17 |
using KF2WorkshopUrlConverter.Core.KF2ServerUtils;
using KF2WorkshopUrlConverter.Core.SteamWorkshop.Entities;
using NUnit.Framework;
using System;
using System.Collections.Generic;
namespace KF2WorkshopUrlConverter.Test.KF2ServerUtils
{
[TestFixture]
[Description("Tests related to KF2WorkshopUrlConverter.Core... | DouglasAntunes/KF2-Workshop-Collection-URL-Converter | KF2 Workshop URL Converter/KF2WorkshopUrlConverter.Test/KF2ServerUtils/WorkshopCollectionListBuilderTest.cs | https://github.com/DouglasAntunes/KF2-Workshop-Collection-URL-Converter/blob/HEAD/KF2 Workshop URL Converter/KF2WorkshopUrlConverter.Test/KF2ServerUtils/WorkshopCollectionListBuilderTest.cs | ghcode:00161:ed14226b52f9 | mit | codeparrot/github-code | ed14226b52f9bac49acd7195da64c94650b0537afccf068b19e4ef5fe5efbb30 | 0.7 | testing_debugging_repair_refactoring | 952 | false | 2026-07-17 |
/*
* SonarLint for Visual Studio
* Copyright (C) 2016-2021 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version ... | SonarSource-VisualStudio/sonarlint-visualstudio | src/Integration/Binding/BindingProcessImpl.cs | https://github.com/SonarSource-VisualStudio/sonarlint-visualstudio/blob/HEAD/src/Integration/Binding/BindingProcessImpl.cs | ghcode:00161:e91cb0967bb7 | mit | codeparrot/github-code | e91cb0967bb7209b171eadb4197c856983c8fbe83f8226756dab20ea9ad9811d | 0.85 | testing_debugging_repair_refactoring | 2,586 | false | 2026-07-17 |
/*
* Copyright (c) 2005 Mike Bridge <mike@bridgecanada.com>
*
* 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 us... | dineshkummarc/DotNetOpenMail-0.5.8b-src | DotNetOpenMailTests/EmailMessageTests.cs | https://github.com/dineshkummarc/DotNetOpenMail-0.5.8b-src/blob/HEAD/DotNetOpenMailTests/EmailMessageTests.cs | ghcode:00161:cb5bd64f7f51 | mit | codeparrot/github-code | cb5bd64f7f51aa61281f9580ac3f227831528c19a0e6d2c7ef5a073893fda4df | 0.85 | testing_debugging_repair_refactoring | 4,981 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="RollBackTests.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>no summary</summary>
//-------------------------------------------... | MarimerLLC/csla | Source/Csla.test/RollBack/RollBackTests.cs | https://github.com/MarimerLLC/csla/blob/HEAD/Source/Csla.test/RollBack/RollBackTests.cs | ghcode:00161:c3ac1b4c3cdc | mit | codeparrot/github-code | c3ac1b4c3cdcfddafabb54aaa106bf1abd442bd4c912c0af777937a4c529b3be | 0.85 | testing_debugging_repair_refactoring | 1,371 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace HoloToolkit.Unity
{
/// <summary>
/// Singleton behaviour class, used for components that should only have one instance
///... | out-of-pixel/HoloToolkit-Unity | Assets/HoloToolkit/Utilities/Scripts/Singleton.cs | https://github.com/out-of-pixel/HoloToolkit-Unity/blob/HEAD/Assets/HoloToolkit/Utilities/Scripts/Singleton.cs | ghcode:00161:981081baf755 | mit | codeparrot/github-code | 981081baf755efc4c9e41c5fb6a1f2be92c5d7307a7524ec551a3407d192f86b | 0.7 | testing_debugging_repair_refactoring | 378 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CssOptimizer.Domain;
using HtmlAgilityPack;
using NUnit.Framework;
namespace CssOptimizer.Tests
{
[TestFixture]
public class HtmlDocumentExtensionsTests
{
private Ht... | sbezludny/CssOptimizer | src/CssOptimizer/CssOptimizer.Tests/HtmlDocumentExtensionsTests.cs | https://github.com/sbezludny/CssOptimizer/blob/HEAD/src/CssOptimizer/CssOptimizer.Tests/HtmlDocumentExtensionsTests.cs | ghcode:00161:d31e8960cb58 | mit | codeparrot/github-code | d31e8960cb5837fa9c2fb5d06f39b56afb398c4c82c430cb18c015260653c79f | 0.85 | testing_debugging_repair_refactoring | 1,327 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
u... | diryboy/roslyn | src/Compilers/CSharp/Portable/Symbols/Source/SourcePropertySymbol.cs | https://github.com/diryboy/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/Symbols/Source/SourcePropertySymbol.cs | ghcode:00161:b402d26c1bf8 | mit | codeparrot/github-code | b402d26c1bf88b4e96bd5bfd259ae31abede73d41fc46f8431d176cf2440f9b1 | 0.85 | testing_debugging_repair_refactoring | 3,249 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Grean.AtomEventStore;
using Ploeh.AutoFixture.Xunit;
using Xunit;
using Xunit.Extensions;
using Ploeh.SemanticComparison.Fluent;
using System.Xml;
using System.Xml.Linq;
using System.IO;
namespace... | GreanTech/AtomEventStore | AtomEventStore.UnitTests/XmlAtomContentTests.cs | https://github.com/GreanTech/AtomEventStore/blob/HEAD/AtomEventStore.UnitTests/XmlAtomContentTests.cs | ghcode:00161:da71ae3ebb91 | mit | codeparrot/github-code | da71ae3ebb91572c1beab42b06e746854c4708ad2a348df59aad53c6a48a9ef3 | 0.85 | testing_debugging_repair_refactoring | 1,314 | false | 2026-07-17 |
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using Debug = System.Diagnostics.Debug;
using System.Reflection.Metadata;
using System.Reflection.Metadata.Ecma335;
using Internal.T... | zenos-os/zenos | vendor/corert/src/ILCompiler.ReadyToRun/src/Compiler/DependencyAnalysis/ReadyToRun/SignatureBuilder.cs | https://github.com/zenos-os/zenos/blob/HEAD/vendor/corert/src/ILCompiler.ReadyToRun/src/Compiler/DependencyAnalysis/ReadyToRun/SignatureBuilder.cs | ghcode:00161:a67ad4d0415e | mit | codeparrot/github-code | a67ad4d0415e4af58ed4d118a4e72371ca3a6067c5e25bfc1b956eedeb5f1b26 | 0.95 | testing_debugging_repair_refactoring | 3,919 | false | 2026-07-17 |
// <copyright file="FrameTest.cs" company="GameFifteen2Team">
// The MIT License (MIT)
// Copyright(c) 2015 Team "Game-Fifteen-2"
// </copyright>
// <summary>
// FrameTest class.
// </summary>
// <author>GameFifteen2Team</author>
namespace Tests_GameFifteen.Logic.Tests_Frames
{
using GameFifteen.Logic.Frames;
... | TeamGameFifteen2AtTelerikAcademy/Game-Fifteen | src/Tests_GameFifteen.Logic/Tests_Frames/FrameTest.cs | https://github.com/TeamGameFifteen2AtTelerikAcademy/Game-Fifteen/blob/HEAD/src/Tests_GameFifteen.Logic/Tests_Frames/FrameTest.cs | ghcode:00161:0465ffde4ab9 | mit | codeparrot/github-code | 0465ffde4ab9e8c832c97323088291e29ea5a7b326f81158f764dead1f9f9f6c | 0.85 | testing_debugging_repair_refactoring | 923 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using cba.Util;
using System.IO;
using System.Diagnostics;
namespace cba
{
// For reading flags from the command line
public static class FlagReader
{
// Reads the set of flags supplied on the command line. Norma... | boogie-org/corral | source/CoreLib/FlagReader.cs | https://github.com/boogie-org/corral/blob/HEAD/source/CoreLib/FlagReader.cs | ghcode:00161:f8e2adeaac43 | mit | codeparrot/github-code | f8e2adeaac43ea61f9f2fc0c15a2c8fc0879cbcf14060c7c2e77613c4c6bd20e | 0.7 | testing_debugging_repair_refactoring | 1,008 | false | 2026-07-17 |
using System.Text;
using tlplib.test_framework;
using NUnit.Framework;
namespace com.tinylabproductions.TLPLib.Functional {
public class BiMapperTestString {
[Test]
public void TestString() {
var bm = BiMapper.byteArrString(Encoding.UTF8).reverse;
const string str = "UTF8 string: ąčęėįšųž";
... | tinylabproductions/tlplib | parts/0000-TLPLib/Assets/Vendor/TLPLib/Test/Functional/BiMapperTest.cs | https://github.com/tinylabproductions/tlplib/blob/HEAD/parts/0000-TLPLib/Assets/Vendor/TLPLib/Test/Functional/BiMapperTest.cs | ghcode:00161:16c48e48e7a6 | mit | codeparrot/github-code | 16c48e48e7a6b58817fb55bfd042603cb4225fa4903b1ddf16a3aa12f2a69c80 | 0.85 | testing_debugging_repair_refactoring | 112 | false | 2026-07-17 |
using System;
using log4net;
namespace IntroToMocks.HandRolled.Tests
{
public class FakeLog:ILog
{
public bool LastCallWasDebug { get; set; }
public object LastMessage { get; set; }
#region ILog Members
public void Debug(object message, Exception exception)
{
throw new N... | mathias-brandewinder/Presentations | for-those-about-to-mock/code/IntroToMocks.HandRolled/Tests/FakeLog.cs | https://github.com/mathias-brandewinder/Presentations/blob/HEAD/for-those-about-to-mock/code/IntroToMocks.HandRolled/Tests/FakeLog.cs | ghcode:00161:13273cc24116 | mit | codeparrot/github-code | 13273cc241168f42caa7878d4d430a8248234b7542705291f5efc010d59befac | 0.85 | testing_debugging_repair_refactoring | 999 | false | 2026-07-17 |
using Foundation.Data.Hibernate;
using Foundation.Tests.Data.Hierarchy;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using NHibernate;
namespace Foundation.Tests.Data.Hibernate
{
[TestClass]
public class HibernateRepositoryTests
{
HibernateRepository<Category> reposito... | DavidMoore/Foundation | Tests/UnitTests/Foundation.Tests/Data/Hibernate/HibernateRepositoryTests.cs | https://github.com/DavidMoore/Foundation/blob/HEAD/Tests/UnitTests/Foundation.Tests/Data/Hibernate/HibernateRepositoryTests.cs | ghcode:00161:e294cfa59b7c | apache-2.0 | codeparrot/github-code | e294cfa59b7c81994007b841a5fe56c0df88a11e31ad0881dc02b72472cdea1b | 0.75 | testing_debugging_repair_refactoring | 314 | false | 2026-07-17 |
using System;
using System.Linq;
using Moq;
using NBi.NUnit.Query;
using NBi.Core.ResultSet;
using NBi.Core.Calculation;
using NBi.Core.Evaluate;
using System.Collections.Generic;
using NUnit.Framework;
using NBi.Core.Scalar.Resolver;
using NBi.Core.Calculation.Predicate;
using NBi.Core.Variable;
using NBi.Core.Result... | Seddryck/NBi | NBi.Testing/Unit/NUnit/ResultSetComparison/NoRowsConstraintTest.cs | https://github.com/Seddryck/NBi/blob/HEAD/NBi.Testing/Unit/NUnit/ResultSetComparison/NoRowsConstraintTest.cs | ghcode:00161:89754cf50ee4 | apache-2.0 | codeparrot/github-code | 89754cf50ee4e2d42a6d4fdffd9668f2dcd3c65c5925c3adb30858afd0cf7144 | 0.75 | testing_debugging_repair_refactoring | 1,350 | false | 2026-07-17 |
#region License
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
... | jorgebay/tinkerpop | gremlin-dotnet/test/Gremlin.Net.UnitTest/Structure/IO/GraphSON/BytecodeGraphSONSerializerTests.cs | https://github.com/jorgebay/tinkerpop/blob/HEAD/gremlin-dotnet/test/Gremlin.Net.UnitTest/Structure/IO/GraphSON/BytecodeGraphSONSerializerTests.cs | ghcode:00161:aa3357385997 | apache-2.0 | codeparrot/github-code | aa3357385997521766a0a3f7aa67d6086aeddd307926e3f22af8e014e76611f9 | 0.95 | testing_debugging_repair_refactoring | 1,474 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using DotVVM.Framework.Compilation.Javascript.Ast;
using DotVVM.Framework.Utils;
namespace DotVVM.Framework.Compilation.Javascript
{
public class JsFormattingVisitor : IJsNodeVisitor
{
publi... | riganti/dotvvm | src/Framework/Framework/Compilation/Javascript/JsFormattingVisitor.cs | https://github.com/riganti/dotvvm/blob/HEAD/src/Framework/Framework/Compilation/Javascript/JsFormattingVisitor.cs | ghcode:00161:e9d621a53fde | apache-2.0 | codeparrot/github-code | e9d621a53fde647ea3f8db07546595943ea7c417d193d019c9f8b56d1849177b | 0.75 | testing_debugging_repair_refactoring | 2,987 | false | 2026-07-17 |
using System.Collections.Generic;
namespace Tfs.TransitionSpecs
{
public class ExpressionWithAsOfSpec : Expression
{
public Expression Expression { get; set; }
public AsOfSpec AsOf { get; set; }
public override bool Equals(object value)
{
var type = value... | FutureProcessing/TestCaseViewer | src/Tfs/TransitionSpecs/ExpressionWithAsOfSpec.cs | https://github.com/FutureProcessing/TestCaseViewer/blob/HEAD/src/Tfs/TransitionSpecs/ExpressionWithAsOfSpec.cs | ghcode:00161:f7d3a50c6235 | apache-2.0 | codeparrot/github-code | f7d3a50c6235d183361e813fccb9997df62d5cb2b7dae906de420792a22d74a1 | 0.75 | testing_debugging_repair_refactoring | 295 | false | 2026-07-17 |
using NETMF.OpenSource.XBee.Api;
using NUnit.Framework;
namespace NETMF.OpenSource.XBee.Util
{
[TestFixture]
class ArraysTests
{
[Test]
public void equal_arrays_test()
{
var a1 = new byte[] { 1, 6, 9, 34 };
var a2 = new byte[] { 1, 6, 9, 34 };
As... | VerdantAutomation/GBee | source/XBee.UnitTests/Util/ArraysTests.cs | https://github.com/VerdantAutomation/GBee/blob/HEAD/source/XBee.UnitTests/Util/ArraysTests.cs | ghcode:00161:a2661bc8cde5 | apache-2.0 | codeparrot/github-code | a2661bc8cde5418e5a1cc5fdacecd0f28ae2fbf8ac585efcef2c3895ff381a68 | 0.75 | testing_debugging_repair_refactoring | 743 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using CoolNameGenerator.GA.Randomizations;
using CoolNameGenerator.GeneticWordProcessing;
using CoolNameGenerator.Helper;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Test.Other
{
[Tes... | Behzadkhosravifar/CoolNameGenerator | src/Test/Other/TestExtensions.cs | https://github.com/Behzadkhosravifar/CoolNameGenerator/blob/HEAD/src/Test/Other/TestExtensions.cs | ghcode:00161:5746599c0f65 | apache-2.0 | codeparrot/github-code | 5746599c0f6542f39c8842ab1185827af590e19930cbc2c4ce12de1f95a2867b | 0.95 | testing_debugging_repair_refactoring | 931 | 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 requir... | NakedObjectsGroup/NakedObjectsFramework | NakedObjects/NakedObjects.Reflector.Test/FacetFactory/IteratorFilteringFacetFactoryTest.cs | https://github.com/NakedObjectsGroup/NakedObjectsFramework/blob/HEAD/NakedObjects/NakedObjects.Reflector.Test/FacetFactory/IteratorFilteringFacetFactoryTest.cs | ghcode:00161:ae2cae5f7414 | apache-2.0 | codeparrot/github-code | ae2cae5f7414529837412cb43a07ee688bc62c9bbda1455c3154586ffae26563 | 0.85 | testing_debugging_repair_refactoring | 627 | false | 2026-07-17 |
using Emeraldwalk.PerlLanguage.Perl.Parsing;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Emeraldwalk.PerlLanguageService._Tests
{
[TestClass]
public class TokenMatcherTester
... | bmingles/Emeraldwalk.PerlLanguageService | Emeraldwalk.PerlLanguageService._Tests/Perl/Parsers/TokenMatcherTester.cs | https://github.com/bmingles/Emeraldwalk.PerlLanguageService/blob/HEAD/Emeraldwalk.PerlLanguageService._Tests/Perl/Parsers/TokenMatcherTester.cs | ghcode:00161:9a09236f8a29 | apache-2.0 | codeparrot/github-code | 9a09236f8a29bda44d195c856853c2c371808cd2f25361d445fdc3a9e841ccab | 0.6 | testing_debugging_repair_refactoring | 128 | false | 2026-07-17 |
//------------------------------------------------------------------------------
// Symbooglix
//
//
// Copyright 2014-2017 Daniel Liew
//
// This file is licensed under the MIT license.
// See LICENSE.txt for details.
//------------------------------------------------------------------... | symbooglix/symbooglix | src/SymbooglixLibTests/ExecutorTerminatedEvent.cs | https://github.com/symbooglix/symbooglix/blob/HEAD/src/SymbooglixLibTests/ExecutorTerminatedEvent.cs | ghcode:00161:f93e8db90ebd | bsd-2-clause | codeparrot/github-code | f93e8db90ebdc8e2bfaa11f0c7f4ba2c6383ce91b87aaf54e6ad5cfc739d4b3b | 0.78 | testing_debugging_repair_refactoring | 562 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using ThScoreFileConverter.Models;
using ThScoreFileConverter.Models.Th105;
namespace ThScoreFileConverterTests.Models.Th105
{
[TestClass]
public class CardFo... | y-iihoshi/ThScoreFileConverter | ThScoreFileConverterTests/Models/Th105/CardForDeckReplacerTests.cs | https://github.com/y-iihoshi/ThScoreFileConverter/blob/HEAD/ThScoreFileConverterTests/Models/Th105/CardForDeckReplacerTests.cs | ghcode:00161:99fd181864f6 | bsd-2-clause | codeparrot/github-code | 99fd181864f6f0f97720bacefb8ef8e805bcae7ede64cef92eeea4ebe1e45299 | 0.68 | testing_debugging_repair_refactoring | 2,953 | false | 2026-07-17 |
#region FreeBSD
// Copyright (c) 2013, John Batte
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that
// the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice, this list ... | patterns-group/code-patterns | src/_specs/Steps/Logging/MockMixins.cs | https://github.com/patterns-group/code-patterns/blob/HEAD/src/_specs/Steps/Logging/MockMixins.cs | ghcode:00161:742fe7c71301 | bsd-2-clause | codeparrot/github-code | 742fe7c7130160b46365b5b954df67c7a939f2d53154e59c17ade11747cc2d2f | 0.78 | testing_debugging_repair_refactoring | 550 | false | 2026-07-17 |
// Copyright (c) Alexandre Mutel. All rights reserved.
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using Lunet.Core;
using Lunet.Yaml;
using Scriban.Runtime;
using Zio;
names... | lunet-io/lunet | src/Lunet.Menus/MenuProcessor.cs | https://github.com/lunet-io/lunet/blob/HEAD/src/Lunet.Menus/MenuProcessor.cs | ghcode:00161:b760d2f1bc3b | bsd-2-clause | codeparrot/github-code | b760d2f1bc3b3b1eeb736e09924bcacaffe1e6d17702add019eaca70e34c693c | 0.63 | testing_debugging_repair_refactoring | 1,252 | false | 2026-07-17 |
using System;
using NSubstitute.Exceptions;
using NSubstitute.Experimental;
using NUnit.Framework;
namespace NSubstitute.Acceptance.Specs
{
[TestFixture]
public class ExceptionsWhenCheckingSequencesOfCalls
{
public interface IFoo
{
void Bar();
void Zap();
}
... | jbialobr/NSubstitute | Source/NSubstitute.Acceptance.Specs/ExceptionsWhenCheckingSequencesOfCalls.cs | https://github.com/jbialobr/NSubstitute/blob/HEAD/Source/NSubstitute.Acceptance.Specs/ExceptionsWhenCheckingSequencesOfCalls.cs | ghcode:00161:106b1b071b82 | bsd-3-clause | codeparrot/github-code | 106b1b071b826915d59a3c0a8ddfae2100541575d45ef69c88337ac5e9544605 | 0.75 | testing_debugging_repair_refactoring | 1,129 | false | 2026-07-17 |
//
// Author:
// Alexandru Ciobanu alex+git@ciobanu.org
//
// Copyright (c) 2015-2018, Alexandru Ciobanu (alex+git@ciobanu.org)
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
//
// ... | pavkam/XtraLiteTemplates | XtraLiteTemplates.Tests/Directives/StandardPreformattedDirectiveTests.cs | https://github.com/pavkam/XtraLiteTemplates/blob/HEAD/XtraLiteTemplates.Tests/Directives/StandardPreformattedDirectiveTests.cs | ghcode:00161:c8cb55b52a7b | bsd-3-clause | codeparrot/github-code | c8cb55b52a7b58d77ad6e672d5a63391d7999fd76f82e0eab446a6de3b3a6411 | 0.85 | testing_debugging_repair_refactoring | 782 | false | 2026-07-17 |
using System;
using System.Net;
using System.Threading;
using Funq;
using NUnit.Framework;
using ServiceStack.CacheAccess;
using ServiceStack.CacheAccess.Providers;
using ServiceStack.Service;
using ServiceStack.ServiceClient.Web;
using ServiceStack.ServiceHost;
using ServiceStack.ServiceInterface;
using Se... | mangra/ServiceStack | tests/ServiceStack.WebHost.Endpoints.Tests/AuthTests.cs | https://github.com/mangra/ServiceStack/blob/HEAD/tests/ServiceStack.WebHost.Endpoints.Tests/AuthTests.cs | ghcode:00161:c3258fb53d35 | bsd-3-clause | codeparrot/github-code | c3258fb53d35373f5bf9af26aefebce6b970a02c16ba6c97c6247367bd5b7c8a | 0.85 | testing_debugging_repair_refactoring | 1,836 | false | 2026-07-17 |
// <copyright file="MatrixLoader.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
//
// Copyright (c) 2009-2016 Math.NET
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this... | albertp007/mathnet-numerics | src/UnitTests/LinearAlgebraTests/Complex/MatrixLoader.cs | https://github.com/albertp007/mathnet-numerics/blob/HEAD/src/UnitTests/LinearAlgebraTests/Complex/MatrixLoader.cs | ghcode:00161:0b987e2f2e41 | mit | codeparrot/github-code | 0b987e2f2e418280d6225c3b0547ce5ec79200cc29659ac8c3450eb16ac35aaf | 0.85 | testing_debugging_repair_refactoring | 1,486 | false | 2026-07-17 |
// ******************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THE CODE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILI... | bkaankose/UWPCommunityToolkit | UnitTests/Helpers/Test_BackgroundTaskHelper.cs | https://github.com/bkaankose/UWPCommunityToolkit/blob/HEAD/UnitTests/Helpers/Test_BackgroundTaskHelper.cs | ghcode:00161:d14b388ef980 | mit | codeparrot/github-code | d14b388ef980cef1f8124c98803dbbdc22cea06984a876e74e5edb59182df30d | 0.85 | testing_debugging_repair_refactoring | 700 | false | 2026-07-17 |
using System.Diagnostics.Contracts;
using System;
public class A
{
public void Foo(string s)
{
{caret}Contract.Requires<CustomException>(s != null);
}
}
public class CustomException : ArgumentException
{} | Diagonactic/ReSharperContractExtensions | ReSharper.ContractExtensions.Tests/test/data/QuickFixes/PreconditionAnalyzers/RequiresExceptionValidity/FixThatGenerateTwoConstructors.cs | https://github.com/Diagonactic/ReSharperContractExtensions/blob/HEAD/ReSharper.ContractExtensions.Tests/test/data/QuickFixes/PreconditionAnalyzers/RequiresExceptionValidity/FixThatGenerateTwoConstructors.cs | ghcode:00161:f0b0eac92659 | mit | codeparrot/github-code | f0b0eac92659d97bd38a3c56d1a340c4f757e8f51be51444eb8c634d34e6df69 | 0.85 | testing_debugging_repair_refactoring | 47 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using Xunit;
namespace System.Linq.Tests.LegacyTests
{
public class RepeatTests
{
public class Repeat00... | jmhardison/corefx | src/System.Linq/tests/LegacyTests/RepeatTests.cs | https://github.com/jmhardison/corefx/blob/HEAD/src/System.Linq/tests/LegacyTests/RepeatTests.cs | ghcode:00161:012d52af28a2 | mit | codeparrot/github-code | 012d52af28a291af9aa0ff04eeef753f8b74b309dde0e959e5fbfa3d88b4d392 | 0.95 | testing_debugging_repair_refactoring | 936 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using Microsoft.Build.Evaluation;
using Microsoft.Build.Execution;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Xunit;
using Xunit.Abstractions;
namespace MSBuild... | MobileEssentials/MSBuilder | src/Roslyn/Roslyn.Tests/EndToEnd.cs | https://github.com/MobileEssentials/MSBuilder/blob/HEAD/src/Roslyn/Roslyn.Tests/EndToEnd.cs | ghcode:00161:17dd75db258e | mit | codeparrot/github-code | 17dd75db258ec2257d8a944cd89de822708810ddc5994846fc1e3f8abef4ebb5 | 0.75 | testing_debugging_repair_refactoring | 306 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System... | abock/roslyn | src/Test/Utilities/Portable/Diagnostics/TestDiagnosticAnalyzer.cs | https://github.com/abock/roslyn/blob/HEAD/src/Test/Utilities/Portable/Diagnostics/TestDiagnosticAnalyzer.cs | ghcode:00161:8bdadacb3324 | mit | codeparrot/github-code | 8bdadacb3324844db001a73f488f05aeee2e9c1bd8cc47bbb74ea3535e2be1a9 | 0.95 | testing_debugging_repair_refactoring | 943 | false | 2026-07-17 |
using System;
using Common.Logging.ETW;
using Microsoft.Diagnostics.Tracing;
namespace Common.Logging.ETWLogger.Tests
{
public sealed class TestEventSource5 : EventSource,ICommonLoggingEventSource
{
public void Trace(string message)
{
throw new NotImplementedException();
}
... | net-commons/common-logging | test/Common.Logging.ETWLogger.Tests/Logging/ETWLogger/TestEventSource5.cs | https://github.com/net-commons/common-logging/blob/HEAD/test/Common.Logging.ETWLogger.Tests/Logging/ETWLogger/TestEventSource5.cs | ghcode:00161:3716bf4a602b | apache-2.0 | codeparrot/github-code | 3716bf4a602b3507324c5eefbda335b8639669c1b0fe21510847c54d7e192aa2 | 0.75 | testing_debugging_repair_refactoring | 264 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Calamari.Deployment;
using Calamari.Integration.Processes;
using Calamari.Tests.Helpers;
using NUnit.Framework;
namespace Calamari.Tests.Fixtures.Deployment.Packages
{
class PackageBuilder
{
pu... | NoesisLabs/Calamari | source/Calamari.Tests/Fixtures/Deployment/Packages/PackageBuilder.cs | https://github.com/NoesisLabs/Calamari/blob/HEAD/source/Calamari.Tests/Fixtures/Deployment/Packages/PackageBuilder.cs | ghcode:00161:c93f55ce9066 | apache-2.0 | codeparrot/github-code | c93f55ce90668273575c6826e36bfd05f60cda6b9a4af76ee54f86003299428e | 0.6 | testing_debugging_repair_refactoring | 629 | false | 2026-07-17 |
using System;
using System.Diagnostics;
using System.Xml;
using System.Xml.Linq;
using FluentAssertions.Common;
using FluentAssertions.Execution;
using FluentAssertions.Primitives;
using FluentAssertions.Xml.Equivalency;
namespace FluentAssertions.Xml
{
/// <summary>
/// Contains a number of methods to assert... | jnyrup/fluentassertions | Src/FluentAssertions/Xml/XElementAssertions.cs | https://github.com/jnyrup/fluentassertions/blob/HEAD/Src/FluentAssertions/Xml/XElementAssertions.cs | ghcode:00161:b39c677d28ed | apache-2.0 | codeparrot/github-code | b39c677d28edad1b1577d3fcd2d768d9f14a25efdbbdda7d4a652dae1562af9c | 0.7 | testing_debugging_repair_refactoring | 3,014 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Diagnostics;
using Microsoft.R.Core.AST.DataTypes;
using Microsoft.R.Core.Parser;
using Microsoft.R.Core.Tokens;
namespace Microsoft.R.Co... | AlexanderSher/RTVS | src/R/Core/Impl/AST/Values/LogicalValue.cs | https://github.com/AlexanderSher/RTVS/blob/HEAD/src/R/Core/Impl/AST/Values/LogicalValue.cs | ghcode:00161:dc5f0f8222e2 | mit | codeparrot/github-code | dc5f0f8222e2429cedfdaf8573bba564722ea52a850a7f3eebb0ff44e69bc744 | 0.85 | testing_debugging_repair_refactoring | 274 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2007 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, inclu... | alanmcgovern/MacUnit | src/framework/Internal/Tests/TestSuite.cs | https://github.com/alanmcgovern/MacUnit/blob/HEAD/src/framework/Internal/Tests/TestSuite.cs | ghcode:00161:33bd200d7664 | mit | codeparrot/github-code | 33bd200d766487f39bc4faf0a4050319d3bca269e040d5e525d40030502b35bf | 0.95 | testing_debugging_repair_refactoring | 1,922 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TextAdventures.Quest.Functions;
namespace TextAdventures.Quest.Scripts
{
public interface IIfScript : IScript
{
void SetElse(IScript elseScript);
IElseIfScript AddElseIf(string expression, IS... | textadventures/quest | WorldModel/WorldModel/Scripts/IfScript.cs | https://github.com/textadventures/quest/blob/HEAD/WorldModel/WorldModel/Scripts/IfScript.cs | ghcode:00161:b0c963d0a21e | mit | codeparrot/github-code | b0c963d0a21e58b4391704a8b6f18e388c1000e95daae76133d7aebbdb7be313 | 0.85 | testing_debugging_repair_refactoring | 3,289 | false | 2026-07-17 |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Net.Http;
using System.Collections.Generic;
using Microsoft.Owin.Testing;
using Owin;
using LightNode.Formatter;
using System.IO;
using LightNode.Server;
namespace LightNode.Server.Tests
{
[TestClass]
public clas... | neuecc/LightNode | Tests/LightNode.Server.Tests/NegotiateFormatterTest.cs | https://github.com/neuecc/LightNode/blob/HEAD/Tests/LightNode.Server.Tests/NegotiateFormatterTest.cs | ghcode:00161:a1ce399568e4 | mit | codeparrot/github-code | a1ce399568e4ae3e8cfa66f6c692bfec89388a23f3e4deccfa4284fc0b0d2797 | 0.7 | testing_debugging_repair_refactoring | 1,454 | false | 2026-07-17 |
using System.Linq;
using NUnit.Framework;
using Shouldly;
namespace StructureMap.Testing.Configuration.DSL
{
[TestFixture]
public class AddTypesTester
{
public interface IAddTypes
{
}
public class RedAddTypes : IAddTypes
{
}
public ... | zhangwei900808/structuremap | src/StructureMap.Testing/Configuration/DSL/AddTypesTester.cs | https://github.com/zhangwei900808/structuremap/blob/HEAD/src/StructureMap.Testing/Configuration/DSL/AddTypesTester.cs | ghcode:00161:a53d3d63e477 | apache-2.0 | codeparrot/github-code | a53d3d63e4776adafc634fcc50f7c40f33e23e48519c901920ddab975375a247 | 0.7 | testing_debugging_repair_refactoring | 496 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Avro;
using Avro.Generic;
using Azure.Core.TestFramework;
using Azure.Data.SchemaRegistry;
using NUnit.Framework;
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using TestSchema;... | brjohnstmsft/azure-sdk-for-net | sdk/schemaregistry/Microsoft.Azure.Data.SchemaRegistry.ApacheAvro/tests/SchemaRegistryAvroObjectSerializerLiveTests.cs | https://github.com/brjohnstmsft/azure-sdk-for-net/blob/HEAD/sdk/schemaregistry/Microsoft.Azure.Data.SchemaRegistry.ApacheAvro/tests/SchemaRegistryAvroObjectSerializerLiveTests.cs | ghcode:00161:2aea0e382773 | mit | codeparrot/github-code | 2aea0e38277346baa327e78faee71a3ce15b70692eafa031d5ae16b648183178 | 0.85 | testing_debugging_repair_refactoring | 781 | false | 2026-07-17 |
using NUnit.Framework;
using OpenQA.Selenium;
namespace MvcMusicStore.FunctionalTests
{
class BrittleTests
{
[Test]
public void Can_buy_an_Album_when_registered()
{
var driver = Host.Instance.Application.Browser;
driver.Navigate().GoToUrl(driver.Url);
... | bendetat/TestStack.Seleno | src/Samples/MusicStore/MvcMusicStore.FunctionalTests/BrittleTests.cs | https://github.com/bendetat/TestStack.Seleno/blob/HEAD/src/Samples/MusicStore/MvcMusicStore.FunctionalTests/BrittleTests.cs | ghcode:00161:db4f42067c5e | mit | codeparrot/github-code | db4f42067c5eb75c7b8d8953e536a7d641c83e4e05da379be3db0d00152bf378 | 0.75 | testing_debugging_repair_refactoring | 589 | false | 2026-07-17 |
// Visual Studio Shared Project
// Copyright(c) Microsoft Corporation
// 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
//
... | int19h/PTVS | Common/Tests/MockVsTests/MockClassifierAggregatorService.cs | https://github.com/int19h/PTVS/blob/HEAD/Common/Tests/MockVsTests/MockClassifierAggregatorService.cs | ghcode:00161:9c9bcf7ffebc | apache-2.0 | codeparrot/github-code | 9c9bcf7ffebc15994397aedc5634dee56ae8fbedf0124c12bd7bf1d5978916f0 | 0.95 | testing_debugging_repair_refactoring | 615 | false | 2026-07-17 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeRefactorings;
using Microsoft.CodeAnalysis.CSharp.CodeStyle;
... | amcasey/roslyn | src/EditorFeatures/CSharpTest/UseExpressionBody/Refactoring/UseExpressionBodyForConstructorsRefactoringTests.cs | https://github.com/amcasey/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest/UseExpressionBody/Refactoring/UseExpressionBodyForConstructorsRefactoringTests.cs | ghcode:00161:1e321c080cec | apache-2.0 | codeparrot/github-code | 1e321c080cec65f8d4e6862b55883122f16305e3015a7264b94db8df15d19f1f | 0.75 | testing_debugging_repair_refactoring | 656 | false | 2026-07-17 |
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http:... | xJom/mbunit-v3 | src/Gallio/Gallio.Tests/Runtime/Caching/TemporaryDiskCacheTest.cs | https://github.com/xJom/mbunit-v3/blob/HEAD/src/Gallio/Gallio.Tests/Runtime/Caching/TemporaryDiskCacheTest.cs | ghcode:00161:b36e560089e8 | apache-2.0 | codeparrot/github-code | b36e560089e8a9b1e89799f30efb135fa83d7235c784ca82216a04c8a13f0ccd | 0.85 | testing_debugging_repair_refactoring | 374 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace BoletoNet.Testes
{
[TestClass]
public class BancoSantanderTeste
{
#region Carteira 101
private BoletoBancario GerarBoletoCarteira101()
{
DateTime vencimento = new DateTime(2022, 12, 4);
... | transis2/boletonet | src/Boleto.Net.Testes/BancoSantanderTeste.cs | https://github.com/transis2/boletonet/blob/HEAD/src/Boleto.Net.Testes/BancoSantanderTeste.cs | ghcode:00161:087fb5d4b40c | apache-2.0 | codeparrot/github-code | 087fb5d4b40c25e9bef0970e1b1ed76e736d092235cc5f34c5503879034274db | 0.7 | testing_debugging_repair_refactoring | 1,532 | false | 2026-07-17 |
using System;
using System.Data;
using DbUp.Engine;
using NSubstitute;
using NUnit.Framework;
namespace DbUp.Tests
{
[TestFixture]
public class DeployChangesBuilderTests
{
[Test]
public void can_use_variables_with_builder()
{
var journal = Substitute.For<IJournal>();
... | JakeGinnivan/DbUp | src/DbUp.Tests/DeployChangesBuilderTests.cs | https://github.com/JakeGinnivan/DbUp/blob/HEAD/src/DbUp.Tests/DeployChangesBuilderTests.cs | ghcode:00161:1e93f03eaeda | mit | codeparrot/github-code | 1e93f03eaeda813964759dee429b0b788bfd3765cb5e243853a8d9a5ec3aed80 | 0.75 | testing_debugging_repair_refactoring | 543 | false | 2026-07-17 |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using StackExchange.DataExplorer.Helpers;
using StackExchange.DataExplorer.Models;
namespace StackExchange.DataExplorer.Tests.Util {
[TestClass]
public class Test... | vebin/StackExchange.DataExplorer | App/StackExchange.DataExplorer.Tests/Helpers/TestAppSettings.cs | https://github.com/vebin/StackExchange.DataExplorer/blob/HEAD/App/StackExchange.DataExplorer.Tests/Helpers/TestAppSettings.cs | ghcode:00161:2014e5302a4e | mit | codeparrot/github-code | 2014e5302a4eeef9cba7703b6b1aa865d7fb3e35262d1ea4bc00799a73b3eeaa | 0.75 | testing_debugging_repair_refactoring | 254 | 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.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Microsoft.DotNet.MSBuildSdkResolver.Tests, PublicKey=00240000048000009400... | livarcocc/cli-1 | src/Microsoft.DotNet.MSBuildSdkResolver/InternalsVisibleToTests.cs | https://github.com/livarcocc/cli-1/blob/HEAD/src/Microsoft.DotNet.MSBuildSdkResolver/InternalsVisibleToTests.cs | ghcode:00161:07f7500c9a3a | mit | codeparrot/github-code | 07f7500c9a3a530f4fafd71a67a72acbd65cde9de3df486ac65c12a90a18a921 | 0.75 | testing_debugging_repair_refactoring | 347 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2015 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... | elbaloo/nunit | src/NUnitFramework/framework/Internal/Results/TestSuiteResult.cs | https://github.com/elbaloo/nunit/blob/HEAD/src/NUnitFramework/framework/Internal/Results/TestSuiteResult.cs | ghcode:00161:fac5961b1adf | mit | codeparrot/github-code | fac5961b1adfabb2f7a4c382d5a5cd90b0aa61904efe8177d7523175da193043 | 0.85 | testing_debugging_repair_refactoring | 708 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Azure.Management.Compute;
using Microsoft.Azure.Management.Compute.Models;
using Microsoft.Azure.Management.ResourceManager;
using Microsoft.Rest.... | ayeletshpigelman/azure-sdk-for-net | sdk/compute/Microsoft.Azure.Management.Compute/tests/ScenarioTests/VMDiskEncryptionTests.cs | https://github.com/ayeletshpigelman/azure-sdk-for-net/blob/HEAD/sdk/compute/Microsoft.Azure.Management.Compute/tests/ScenarioTests/VMDiskEncryptionTests.cs | ghcode:00161:1015d68b0f27 | mit | codeparrot/github-code | 1015d68b0f279be2bcc0ae6d936776bb86c549dc0b047de6efb3fc6399ed3e31 | 0.95 | testing_debugging_repair_refactoring | 539 | false | 2026-07-17 |
// ****************************************************************
// This is free software licensed under the NUnit license. You may
// obtain a copy of the license at http://nunit.org
// ****************************************************************
using System;
using System.Collections.Generic;
using System.Te... | acken/AutoTest.Net | lib/NUnit/src/NUnit-2.5.9.10348/src/GuiException/tests/CSharpParser/TestLexer.cs | https://github.com/acken/AutoTest.Net/blob/HEAD/lib/NUnit/src/NUnit-2.5.9.10348/src/GuiException/tests/CSharpParser/TestLexer.cs | ghcode:00161:c846235d4732 | mit | codeparrot/github-code | c846235d4732f1aa6afa9fee291233f8f46126c4df86de34d907893a7bf00e8b | 0.95 | testing_debugging_repair_refactoring | 2,422 | 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;
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.... | sharwell/roslyn | src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenAsyncSpillTests.cs | https://github.com/sharwell/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/CodeGen/CodeGenAsyncSpillTests.cs | ghcode:00161:1bd0b8f4d909 | mit | codeparrot/github-code | 1bd0b8f4d909b7e5874ac43f22998363b7c5eca6e33dd5837550e9650040efc6 | 0.75 | testing_debugging_repair_refactoring | 51,883 | false | 2026-07-17 |
// The ATF 3 LevelEditor has been removed. Until we have another sample app that uses LiveConnect, we have to disable these tests.
/*
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using Sy... | jethac/ATF | Test/FunctionalTests/LiveConnectServiceTests.cs | https://github.com/jethac/ATF/blob/HEAD/Test/FunctionalTests/LiveConnectServiceTests.cs | ghcode:00161:51cca84c1cfb | apache-2.0 | codeparrot/github-code | 51cca84c1cfb5dd935517f8c792705ed2a3eb5fb9ec1ff2f6c080a4c0400810a | 0.85 | testing_debugging_repair_refactoring | 1,193 | 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;
using System.Runtime.CompilerServices;
namespace System.Text.Json.Tests
{
// a List<T> l... | ptoonen/corefx | src/System.Text.Json/tests/ResizableArray.cs | https://github.com/ptoonen/corefx/blob/HEAD/src/System.Text.Json/tests/ResizableArray.cs | ghcode:00161:28f17db76c12 | mit | codeparrot/github-code | 28f17db76c12bf8d5b003f7f7a0289090638767307e7a984619c43e019eb6c62 | 0.95 | testing_debugging_repair_refactoring | 299 | 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.Linq;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
using Rosly... | OmarTawfik/roslyn | src/Compilers/CSharp/Test/Syntax/Syntax/SyntaxNodeTests.cs | https://github.com/OmarTawfik/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Syntax/Syntax/SyntaxNodeTests.cs | ghcode:00161:4ecda4b32856 | apache-2.0 | codeparrot/github-code | 4ecda4b32856abe4c0ea21d2640492b741435185cc8111ceafe4ebe76548942d | 0.82 | testing_debugging_repair_refactoring | 27,793 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="ActorProducerPipelineTests.cs" company="Akka.NET Project">
// Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net>
// <... | nanderto/akka.net | src/core/Akka.Tests/Actor/ActorProducerPipelineTests.cs | https://github.com/nanderto/akka.net/blob/HEAD/src/core/Akka.Tests/Actor/ActorProducerPipelineTests.cs | ghcode:00161:ea60e36dc91a | apache-2.0 | codeparrot/github-code | ea60e36dc91a47d10bf460125f054661a791657cb691ab239df19cbc19f7db3f | 0.85 | testing_debugging_repair_refactoring | 1,396 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1.CopiedFolderWithItemsNotInProject
{
class Class
{
}
}
| nareshjo/nodejstools | Nodejs/Tests/TestData/NodejsProjectData/ConsoleApplication1/CopiedFolderWithItemsNotInProject/Class.cs | https://github.com/nareshjo/nodejstools/blob/HEAD/Nodejs/Tests/TestData/NodejsProjectData/ConsoleApplication1/CopiedFolderWithItemsNotInProject/Class.cs | ghcode:00161:0df35e4ce5e5 | apache-2.0 | codeparrot/github-code | 0df35e4ce5e514a5e67c52ab441a0b6df462b0a02e932e76128e5957247c4f96 | 0.85 | testing_debugging_repair_refactoring | 45 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Net.Sockets;
using System.Threading.Tasks;
using Xunit;
namespace ... | Ermiar/corefx | src/System.Net.NameResolution/tests/FunctionalTests/GetHostEntryTest.cs | https://github.com/Ermiar/corefx/blob/HEAD/src/System.Net.NameResolution/tests/FunctionalTests/GetHostEntryTest.cs | ghcode:00161:681aed7f4125 | mit | codeparrot/github-code | 681aed7f4125d7e12cc6a732627cb5c856a52e4285bbd0694351ecc996172784 | 0.95 | testing_debugging_repair_refactoring | 1,794 | false | 2026-07-17 |
/*
* Copyright 2014, 2015 Dominick Baier, Brock Allen
*
* 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 applica... | faithword/IdentityServer3 | source/Tests/UnitTests/Endpoints/Setup/IdSvrHostTestBase.cs | https://github.com/faithword/IdentityServer3/blob/HEAD/source/Tests/UnitTests/Endpoints/Setup/IdSvrHostTestBase.cs | ghcode:00161:b1a502562fbd | apache-2.0 | codeparrot/github-code | b1a502562fbd7dab8359048b613bc427d0ee66f1607aeb01284744ef49d5d5f8 | 0.95 | testing_debugging_repair_refactoring | 1,735 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Xunit;
namespace System.IO.Compression.Test
{
public partial class ZipTest
{
private static void ConstructorThrows<TException>(Func<ZipArchive> c... | dkorolev/corefx | src/System.IO.Compression.ZipFile/tests/ZipFileInvalidFileTests.cs | https://github.com/dkorolev/corefx/blob/HEAD/src/System.IO.Compression.ZipFile/tests/ZipFileInvalidFileTests.cs | ghcode:00161:2fceb8f4e3d8 | mit | codeparrot/github-code | 2fceb8f4e3d8abc5b47017e4ac4ce6a5efa6a316edb38f8a6b2d099cfe4d8562 | 0.95 | testing_debugging_repair_refactoring | 1,619 | false | 2026-07-17 |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution... | enricosada/VisualStudio-SharedProject | Product/SharedProject/UpdateSolutionEventsListener.cs | https://github.com/enricosada/VisualStudio-SharedProject/blob/HEAD/Product/SharedProject/UpdateSolutionEventsListener.cs | ghcode:00161:d1efa37eef5c | apache-2.0 | codeparrot/github-code | d1efa37eef5c0a9dbedbcb4a0a702451387b3a747373581527f338faa4d5f64d | 0.7 | testing_debugging_repair_refactoring | 2,343 | 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.Security.Cryptography.EcDsa.Tests;
namespace System.Security.Cryptography.Cng.Tests
{
... | nbarbettini/corefx | src/System.Security.Cryptography.Cng/tests/ECDsaCngImportExportTests.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Security.Cryptography.Cng/tests/ECDsaCngImportExportTests.cs | ghcode:00161:1e077e5c2fcc | mit | codeparrot/github-code | 1e077e5c2fcc85f370d2c3253ada58b53b129e40f7a17038eb41d24c799e45ed | 0.95 | testing_debugging_repair_refactoring | 690 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Globalization;
using Xunit;
namespace System.Globalization.CalendarsTests
{
//System.Globalization.KoreanCalendar.GetDayOfMonth(System.D... | Yanjing123/corefx | src/System.Globalization.Calendars/tests/KoreanCalendar/KoreanCalendarGetDayOfMonth.cs | https://github.com/Yanjing123/corefx/blob/HEAD/src/System.Globalization.Calendars/tests/KoreanCalendar/KoreanCalendarGetDayOfMonth.cs | ghcode:00161:e3c4c2cafef4 | mit | codeparrot/github-code | e3c4c2cafef4fe5cf8a91d1111fdd62434a2651f94a82d1053c18ec0eefcc645 | 0.95 | testing_debugging_repair_refactoring | 556 | 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.Globalization.Tests
{
public class NumberFormatInfoValidateParseStyle
{
... | nbarbettini/corefx | src/System.Globalization/tests/NumberFormatInfo/NumberFormatInfoValidateParseStyle.cs | https://github.com/nbarbettini/corefx/blob/HEAD/src/System.Globalization/tests/NumberFormatInfo/NumberFormatInfoValidateParseStyle.cs | ghcode:00161:eca616084c28 | mit | codeparrot/github-code | eca616084c28c84754c84d738dcea777f7f0f4e7663f53623b51813d890481df | 0.95 | testing_debugging_repair_refactoring | 331 | 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... | Drezi126/osu | osu.Game/Rulesets/UI/RulesetContainer.cs | https://github.com/Drezi126/osu/blob/HEAD/osu.Game/Rulesets/UI/RulesetContainer.cs | ghcode:00161:4869caf3e269 | mit | codeparrot/github-code | 4869caf3e2694dd1797a5571f5d545b9d62626d49383768fcd7229e309db5aba | 0.85 | testing_debugging_repair_refactoring | 2,647 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using TIKSN.Finance.ForeignExchange.Cumulative;
using TIKSN.Framework.IntegrationTests;
using TIKSN.Globalization;
using TIKSN.Time;
using Xunit;
namespace TIKSN.Finance.ForeignExchang... | tiksn/TIKSN-Framework | TIKSN.Framework.IntegrationTests/Finance/ForeignExchange/MyCurrencyDotNetTests.cs | https://github.com/tiksn/TIKSN-Framework/blob/HEAD/TIKSN.Framework.IntegrationTests/Finance/ForeignExchange/MyCurrencyDotNetTests.cs | ghcode:00161:88dd7d8c0e97 | mit | codeparrot/github-code | 88dd7d8c0e97a56a6e1ec1fe13b7128fb0640c8126201cdbecc73e17b32f6d02 | 0.75 | testing_debugging_repair_refactoring | 499 | false | 2026-07-17 |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Threading;
using ManagedBass;
using NUnit.Framework;
using osu.Framework.Audio.Sample;
using osu.Framework.Development;
using osu.Framework.IO.... | EVAST9919/osu-framework | osu.Framework.Tests/Audio/SampleBassTest.cs | https://github.com/EVAST9919/osu-framework/blob/HEAD/osu.Framework.Tests/Audio/SampleBassTest.cs | ghcode:00161:637f06aa0bb5 | mit | codeparrot/github-code | 637f06aa0bb5f763f4c6e2fc81d9229cbbbcbca4ffda42675e1c889d70015d70 | 0.85 | testing_debugging_repair_refactoring | 523 | false | 2026-07-17 |
//------------------------------------------------------------------------------
// Microsoft Avalon
// Copyright (c) Microsoft Corporation, 2005
//
// File: PieceNameHelper.cs
//
// Description: The static class PieceNameHelper contains utilities to parse
// and create piece names in ... | mind0n/hive | Cache/Libs/net46/wpf/src/Base/MS/Internal/IO/Packaging/PieceNameHelper.cs | https://github.com/mind0n/hive/blob/HEAD/Cache/Libs/net46/wpf/src/Base/MS/Internal/IO/Packaging/PieceNameHelper.cs | ghcode:00161:bf8860e1f75e | mit | codeparrot/github-code | bf8860e1f75e64c9de0ae68d7dfcc8d792908a3395e564a0dfb731cf042e770a | 0.95 | testing_debugging_repair_refactoring | 3,283 | false | 2026-07-17 |
// MIT License
//
// Copyright(c) 2022 ICARUS Consulting GmbH
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, cop... | icarus-consulting/Yaapii.Atoms | tests/Yaapii.Atoms.Tests/Scalar/FalseTest.cs | https://github.com/icarus-consulting/Yaapii.Atoms/blob/HEAD/tests/Yaapii.Atoms.Tests/Scalar/FalseTest.cs | ghcode:00161:b10d2af8299e | mit | codeparrot/github-code | b10d2af8299e9a8e0d66599636e5deba58e37ba1b5db6813621b35a24d289259 | 0.85 | testing_debugging_repair_refactoring | 290 | false | 2026-07-17 |
using System.Collections.Generic;
using GenericApp;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MultiDictionaryTester
{
[TestClass]
public class MultiDictionaryUnitTest
{
[TestMethod]
public void Test_Add_First_Key_To_Empty_Dictionary()
{
var dictionar... | KamilKhair/Lab02-to-Lab07 | Lab7.2/GenericApp/MultiDictionaryTester/MultiDictionaryUnitTest.cs | https://github.com/KamilKhair/Lab02-to-Lab07/blob/HEAD/Lab7.2/GenericApp/MultiDictionaryTester/MultiDictionaryUnitTest.cs | ghcode:00161:d58cd2357507 | mit | codeparrot/github-code | d58cd2357507b2a98629223ccab14a0955c023c2cbc377839bfe6cd0d2e9d306 | 0.6 | testing_debugging_repair_refactoring | 1,536 | 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.Collections.Generic;
using System.IO;
using System.Text;
using Microsoft.DotNet.TestFramework;
using Microsoft.DotNet... | Faizan2304/cli | test/dotnet-new.Tests/GivenThatIWantANewAppWithSpecifiedType.cs | https://github.com/Faizan2304/cli/blob/HEAD/test/dotnet-new.Tests/GivenThatIWantANewAppWithSpecifiedType.cs | ghcode:00161:f34cf037bc05 | mit | codeparrot/github-code | f34cf037bc05235eb38059b3ac2dfea5c7879832ef668a1a87795cc9ec650f3d | 0.85 | testing_debugging_repair_refactoring | 746 | false | 2026-07-17 |
using NUnit.Framework;
namespace MappingParser.Tests.Assembly
{
[TestFixture]
class NormalAssemblyTests: BaseAssemblyTests
{
[SetUp]
public void SetUp()
{
PreLoad("normal", "mapping.xml");
}
}
}
| BrokenEvent/ObfuscarMappingParser | MappingParser.Tests/Assembly/NormalAssemblyTests.cs | https://github.com/BrokenEvent/ObfuscarMappingParser/blob/HEAD/MappingParser.Tests/Assembly/NormalAssemblyTests.cs | ghcode:00161:e5a8b5b1c786 | mit | codeparrot/github-code | e5a8b5b1c78685aeb2e9e1cc3d786df6175ab1dfc21d6d82e88af330d43aada1 | 0.75 | testing_debugging_repair_refactoring | 53 | false | 2026-07-17 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Azure.Devices.Gateway.Tests
{
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Threa... | whizlingo/azure-iot-protocol-gateway | test/ProtocolGateway.Tests/TestScenarioRunner.cs | https://github.com/whizlingo/azure-iot-protocol-gateway/blob/HEAD/test/ProtocolGateway.Tests/TestScenarioRunner.cs | ghcode:00161:a2dbe9a4028d | mit | codeparrot/github-code | a2dbe9a4028d9c04f0f0f6d70105d546659fcad9828dca2ede0a2489aa7ed6d0 | 0.85 | testing_debugging_repair_refactoring | 992 | false | 2026-07-17 |
namespace ArmyOfCreatures.Tests.Battles.BattleManagerTests
{
using System;
using ArmyOfCreatures.Logic;
using ArmyOfCreatures.Logic.Battles;
using ArmyOfCreatures.Logic.Creatures;
using Moq;
using NUnit.Framework;
[TestFixture]
public class AddCreatures_Should
{
[Test]
... | Valsinev/ComponentTestingWithC | WritedTestsForExams/OOP - 06 April 2015 - Evening/2/ArmyOfCreatures.Tests/Logic/Battles/BattleManagerTests/AddCreatures_Should.cs | https://github.com/Valsinev/ComponentTestingWithC/blob/HEAD/WritedTestsForExams/OOP - 06 April 2015 - Evening/2/ArmyOfCreatures.Tests/Logic/Battles/BattleManagerTests/AddCreatures_Should.cs | ghcode:00161:36f69258a426 | mit | codeparrot/github-code | 36f69258a4260707fae718249d526d965ed6b280ef71b4249f12294fc6f34620 | 0.6 | testing_debugging_repair_refactoring | 426 | false | 2026-07-17 |
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using NUnit.Framework.Internal;
using NUnit.TestUtilities.Comparers;
namespace NUnit.Framework.Constraints
{
[TestFixture... | nunit/nunit | src/NUnitFramework/tests/Constraints/EqualConstraintTests.cs | https://github.com/nunit/nunit/blob/HEAD/src/NUnitFramework/tests/Constraints/EqualConstraintTests.cs | ghcode:00161:47b38e6bf666 | mit | codeparrot/github-code | 47b38e6bf66645e62f209ab43b0eacb7a17869572a2735c118056328ed053ff7 | 0.95 | testing_debugging_repair_refactoring | 8,050 | false | 2026-07-17 |
#if UNITY_EDITOR
using AssetGenerator;
using Newtonsoft.Json;
using NUnit.Framework;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.Rendering;
using UnityEngine.TestTools;
using UnityGLTF... | robertlong/UnityGLTFLoader | UnityGLTF/Assets/UnityGLTF/Scripts/Tests/Editor/GLTFAssetGeneratorTests.cs | https://github.com/robertlong/UnityGLTFLoader/blob/HEAD/UnityGLTF/Assets/UnityGLTF/Scripts/Tests/Editor/GLTFAssetGeneratorTests.cs | ghcode:00161:af533463b0a7 | mit | codeparrot/github-code | af533463b0a7daa853921f70751bb9e1aefd9a2eace455cb987a0feef9133f5e | 0.95 | testing_debugging_repair_refactoring | 1,210 | false | 2026-07-17 |
// Copyright (c) 2001-2014 Aspose Pty Ltd. All Rights Reserved.
//
// This file is part of Aspose.Words. The source code in this file
// is only intended as a supplement to the documentation, and is provided
// "as is", without warranty of any kind, either expressed or implied.
////////////////////////////////////////... | assadvirgo/Aspose_Words_NET | QA Tests/AW Tests/Examples/HeaderFooter/ExHeaderFooter.cs | https://github.com/assadvirgo/Aspose_Words_NET/blob/HEAD/QA Tests/AW Tests/Examples/HeaderFooter/ExHeaderFooter.cs | ghcode:00161:0e6354263dc7 | mit | codeparrot/github-code | 0e6354263dc732b4dde9c1c1a23230704035aff1b26c21df5bffb3e9608315e5 | 0.85 | testing_debugging_repair_refactoring | 2,467 | false | 2026-07-17 |
using IronVelocity.Compilation;
using NUnit.Framework;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace IronVelocity.Tests
{
[TestFixture]
public class MethodInfoReflectionTests
{
[TestCaseSource(nameof(TestCases))]
public void Test(FieldInfo field)
... | afscrome/IronVelocity | test/IronVelocity/MethodInfoReflectionTests.cs | https://github.com/afscrome/IronVelocity/blob/HEAD/test/IronVelocity/MethodInfoReflectionTests.cs | ghcode:00161:8c3c8bbd4e26 | mit | codeparrot/github-code | 8c3c8bbd4e26f471492e6ddcc7a99b4958d019a8481d7b573c226e4f7c8d8e53 | 0.75 | testing_debugging_repair_refactoring | 122 | false | 2026-07-17 |
using System;
using Marten.Services;
using Marten.Testing.Documents;
using Marten.Testing.Harness;
using Xunit;
namespace Marten.Testing.CoreFunctionality
{
public class foreign_key_persisting_Tests: IntegrationContext
{
[Fact]
public void persist_and_overwrite_foreign_key()
{
... | mdissel/Marten | src/Marten.Testing/CoreFunctionality/foreign_key_persisting_Tests.cs | https://github.com/mdissel/Marten/blob/HEAD/src/Marten.Testing/CoreFunctionality/foreign_key_persisting_Tests.cs | ghcode:00161:b5489e82bb14 | mit | codeparrot/github-code | b5489e82bb147e58fa5c9357fe82ab08d362daf4443e74b1022fb63f4196c0b9 | 0.75 | testing_debugging_repair_refactoring | 774 | false | 2026-07-17 |
using System.Linq;
using Xunit;
using LanguageExt;
using static LanguageExt.Prelude;
namespace LanguageExt.Tests
{
public class TryOptionTests
{
[Theory]
[InlineData("", "")]
[InlineData("/", "")]
[InlineData("one", "one")]
[InlineData("two/three", "three")]
[In... | slantstack/Slant | test/Slant.Tests/DataTypes/TryOption/TryOption.cs | https://github.com/slantstack/Slant/blob/HEAD/test/Slant.Tests/DataTypes/TryOption/TryOption.cs | ghcode:00161:e992fb7ee39b | mit | codeparrot/github-code | e992fb7ee39b5fec694a5895c34428d7081bc277624107734c5c00b7b6540d0c | 0.75 | testing_debugging_repair_refactoring | 178 | false | 2026-07-17 |
using System.Collections.Generic;
using MbDotNet.Models.Predicates;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MbDotNet.Tests.Models.Predicates
{
[TestClass, TestCategory("Unit")]
public class XPathSelectorTests
{
[TestMethod]
public void XPathSelector_Constructor_SetsSe... | mattherman/MbDotNet | MbDotNet.Tests/Models/Predicates/XPathSelectorTests.cs | https://github.com/mattherman/MbDotNet/blob/HEAD/MbDotNet.Tests/Models/Predicates/XPathSelectorTests.cs | ghcode:00161:396295a4e7b3 | mit | codeparrot/github-code | 396295a4e7b379f4c8c29353db6497e0b60df2bc25f42bec77a5e90e293c2fb3 | 0.85 | testing_debugging_repair_refactoring | 225 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace JotunShard.Extensions.Test.Collections
{
using static Assert;
internal static class Utilities
{
public static void AssertManySequencesEqual(
IEnumerable<IEnumerable<MultiItems>> result,
... | JotunShard/JotunShard.Extensions | spec/Collections/Utilities.cs | https://github.com/JotunShard/JotunShard.Extensions/blob/HEAD/spec/Collections/Utilities.cs | ghcode:00161:e92071e39740 | mit | codeparrot/github-code | e92071e39740fda84b69ed4fa65343cf033317a5bf4fc3b1db7e026862c85ab2 | 0.6 | testing_debugging_repair_refactoring | 145 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Vibrant.Tsdb.Tests.Entries;
using Vibrant.Tsdb.Tests.Model;
using Xunit;
namespace Vibrant.Tsdb.Tests
{
public abstract class AbstractTypedStorageTests<TStorage> : AbstractStorageTests<TStorage>
where TStora... | MikaelGRA/Tsdb | test/Vibrant.Tsdb.Tests/AbstractTypedStorageTests.cs | https://github.com/MikaelGRA/Tsdb/blob/HEAD/test/Vibrant.Tsdb.Tests/AbstractTypedStorageTests.cs | ghcode:00161:667a83bf96bb | mit | codeparrot/github-code | 667a83bf96bb85917d5ebb7d12fbb823442170cb10b94d6bd4b6feb4d4b87078 | 0.75 | testing_debugging_repair_refactoring | 817 | false | 2026-07-17 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
namespace FileHelpers.Examples.Advanced.MultipleDelimiters
{
//-> Name:Multiple Delimiters
//-> Description:Write a file with different delimiters using the same record
public class Multipl... | MarcosMeli/FileHelpers | FileHelpers.Examples/Examples/Advanced/MultipleDelimiters/MultipleDelimiters.cs | https://github.com/MarcosMeli/FileHelpers/blob/HEAD/FileHelpers.Examples/Examples/Advanced/MultipleDelimiters/MultipleDelimiters.cs | ghcode:00161:47ee8778e766 | mit | codeparrot/github-code | 47ee8778e7661889deea35983365181dbb6d25065c02a13bb2c70f7df828e86b | 0.85 | testing_debugging_repair_refactoring | 598 | false | 2026-07-17 |
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MongoDB.Bson.Serialization;
using MongoFramework.Infrastructure.Mapping;
using MongoFramework.Infrastructure.Mapping.Processors;
namespace MongoFramework.Tests.Infrastructure.Mapping.Processors
{
[TestClass]
public class HierarchyProcessor... | TurnerSoftware/MongoFramework | tests/MongoFramework.Tests/Infrastructure/Mapping/Processors/HierarchyProcessorTests.cs | https://github.com/TurnerSoftware/MongoFramework/blob/HEAD/tests/MongoFramework.Tests/Infrastructure/Mapping/Processors/HierarchyProcessorTests.cs | ghcode:00161:408556bc60cc | mit | codeparrot/github-code | 408556bc60cca9b57150f67959252ef02cbf3bc7065f35d105abc6ef1a2347cd | 0.75 | testing_debugging_repair_refactoring | 434 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Microsoft.Xrm.Sdk;
#if NET
using DataverseUnitTest.Assumptions;
using DLaB.Xrm;
namespace DataverseUnitTest.Builders
#else
using DLaB.Xrm.Test.Assumptions;
namespace DLaB.Xrm.Test.Builders
#endif
{
/// <summary>
/// Abstract Entity builder for Creating En... | daryllabar/XrmUnitTest | DLaB.Xrm.Test.Base/Builders/EntityBuilder.cs | https://github.com/daryllabar/XrmUnitTest/blob/HEAD/DLaB.Xrm.Test.Base/Builders/EntityBuilder.cs | ghcode:00161:72e645e9c995 | mit | codeparrot/github-code | 72e645e9c99558c7ebfad987974596e325cb987ad5b867a886a45d93ea3b2a5f | 0.85 | testing_debugging_repair_refactoring | 1,774 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.