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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
// Copyright 2005-2010 Gallio Project - http://www.gallio.org/
// Portions Copyright 2000-2004 Jonathan de Halleux
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.a... | citizenmatt/gallio | src/MbUnit/MbUnit.Tests/Framework/ContractVerifiers/HashCodeAcceptanceContractTest.cs | https://github.com/citizenmatt/gallio/blob/HEAD/src/MbUnit/MbUnit.Tests/Framework/ContractVerifiers/HashCodeAcceptanceContractTest.cs | ghcode:00176:28489a66859a | apache-2.0 | codeparrot/github-code | 28489a66859a61d54c6e8f60258c9d35744b39e1ad31d9924f9c223abeb3da0f | 0.85 | testing_debugging_repair_refactoring | 1,015 | false | 2026-07-17 |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="EncodingNotificationTests.cs" company="VML">
// Copyright VML 2014. All rights reserved.
// </copyright>
// <created>01/29/2014 10:29 AM</created>
// <updated>01/30/2014 11:... | VML/Encoding.NET | src/VML.Encoding.Tests/EncodingNotificationTests.cs | https://github.com/VML/Encoding.NET/blob/HEAD/src/VML.Encoding.Tests/EncodingNotificationTests.cs | ghcode:00176:948baccbb49b | apache-2.0 | codeparrot/github-code | 948baccbb49bf200e1f9d9d2aa6d1ada1424f553afc46fbb51e7e4480043e534 | 0.85 | testing_debugging_repair_refactoring | 1,054 | false | 2026-07-17 |
namespace FluentRegistration.Tests.Issues.Issue_3.Classes
{
public interface IInterfaceOne
{
}
}
| nwendel/FluentRegistration | src/FluentRegistration.Tests.Issues/Issue-3/Classes/IInterfaceOne.cs | https://github.com/nwendel/FluentRegistration/blob/HEAD/src/FluentRegistration.Tests.Issues/Issue-3/Classes/IInterfaceOne.cs | ghcode:00176:f8e6c212fc15 | apache-2.0 | codeparrot/github-code | f8e6c212fc15b4b5598b943b578aa97dabdaa40261078639bd55f1f3837a6a45 | 0.35 | testing_debugging_repair_refactoring | 26 | false | 2026-07-17 |
//-----------------------------------------------------------------------
// <copyright file="RetrySpec.cs" company="Akka.NET Project">
// Copyright (C) 2015-2017 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2017 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//---... | Silv3rcircl3/akka.net | src/core/Akka.Streams.Tests/Dsl/RetrySpec.cs | https://github.com/Silv3rcircl3/akka.net/blob/HEAD/src/core/Akka.Streams.Tests/Dsl/RetrySpec.cs | ghcode:00176:0eeab040614b | apache-2.0 | codeparrot/github-code | 0eeab040614b74e3b1b75656bc4f3c033a0143ffab6adfe34ed795b5351c3a02 | 0.85 | testing_debugging_repair_refactoring | 4,059 | false | 2026-07-17 |
using System.Globalization;
using GeoJSON.Net.CoordinateReferenceSystem;
using GeoJSON.Net.Geometry;
using NUnit.Framework;
using Newtonsoft.Json;
namespace GeoJSON.Net.Tests
{
[TestFixture]
public class SerializationTests
{
[Test]
public void Should_serialize_Enumeration_to_simplified_jso... | steveoh/GeoJSON.Net | src/GeoJSON.Net.Tests/SerializationTests.cs | https://github.com/steveoh/GeoJSON.Net/blob/HEAD/src/GeoJSON.Net.Tests/SerializationTests.cs | ghcode:00176:309a11da1b5f | bsd-3-clause | codeparrot/github-code | 309a11da1b5f5520e302fa6a2cd15d9a24b67fa960838b4ec9cc14e846c65515 | 0.75 | testing_debugging_repair_refactoring | 189 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
namespace MoonSharp.Interpreter.Tests.EndToEnd
{
public static class VtOverloadsExtMethods
{
public static string Method1(this VtUserDataOverloadsTests.OverloadsTestClass obj, string x, bool b)
{
retu... | RainsSoft/moonsharp | src/MoonSharp.Interpreter.Tests/EndToEnd/VtUserDataOverloadsTests.cs | https://github.com/RainsSoft/moonsharp/blob/HEAD/src/MoonSharp.Interpreter.Tests/EndToEnd/VtUserDataOverloadsTests.cs | ghcode:00176:e83cf102bdc8 | bsd-3-clause | codeparrot/github-code | e83cf102bdc80583a6b3d16a2359c3fc48e6d1ec9907686d5f6250f207758a52 | 0.75 | testing_debugging_repair_refactoring | 1,719 | false | 2026-07-17 |
// Prexonite
//
// Copyright (c) 2014, Christian Klauser
// 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 ... | SealedSun/prx | PrexoniteTests/Tests/VMTests.Commands.cs | https://github.com/SealedSun/prx/blob/HEAD/PrexoniteTests/Tests/VMTests.Commands.cs | ghcode:00176:ee3777c0157c | bsd-3-clause | codeparrot/github-code | ee3777c0157cb833b13f10f22bb18e841740a0724dd318b9bd55a7ba79f704ea | 0.95 | testing_debugging_repair_refactoring | 4,219 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Linq;
using DataExplorer.Domain.Columns;
using DataExplorer.Domain.Filters;
using DataExplorer.Domain.FilterTrees.IntegerFilterTrees;
using DataExplorer.Domain.Tests.Columns;
using NUnit.Framework;
namespace DataExplorer.Domain.Tests.FilterTrees.IntegerFilterTrees
{
... | dataexplorer/dataexplorer | Domain.Tests/FilterTrees/IntegerFilterTrees/IntegerFilterTreeNodeTests.cs | https://github.com/dataexplorer/dataexplorer/blob/HEAD/Domain.Tests/FilterTrees/IntegerFilterTrees/IntegerFilterTreeNodeTests.cs | ghcode:00176:6afe006edc96 | bsd-3-clause | codeparrot/github-code | 6afe006edc967ecf52513a371e3219518d6f583f2c095a51e22f93423aec2607 | 0.75 | testing_debugging_repair_refactoring | 1,026 | false | 2026-07-17 |
namespace TDD.Hand.ToString
{
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Poker;
[TestClass]
public class HandToStringTests
{
private readonly List<CardFace> _cardFaces = new List<CardFace>
{
Car... | tokera/TelerikAcademyHomeworks | HighQualityCode/TestDrivenDevelopment(TDD)/TDD.Hand.ToString/HandToStringTests.cs | https://github.com/tokera/TelerikAcademyHomeworks/blob/HEAD/HighQualityCode/TestDrivenDevelopment(TDD)/TDD.Hand.ToString/HandToStringTests.cs | ghcode:00176:320c6bc3c36f | mit | codeparrot/github-code | 320c6bc3c36f058bad7363286b8a14f54692a284c9877453c93802fb4d04f5c6 | 0.75 | testing_debugging_repair_refactoring | 657 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Threading;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Engines;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Tests.Loggers;
using Xunit;
using Xunit.Abstractions;
namespace BenchmarkDotNet.Inte... | Ky7m/BenchmarkDotNet | tests/BenchmarkDotNet.IntegrationTests/RunStrategyTests.cs | https://github.com/Ky7m/BenchmarkDotNet/blob/HEAD/tests/BenchmarkDotNet.IntegrationTests/RunStrategyTests.cs | ghcode:00176:f204c540ecad | mit | codeparrot/github-code | f204c540ecadbb8eca83d7c4d994e681970b3e46b013b472f6cc913b6612a9f9 | 0.85 | testing_debugging_repair_refactoring | 710 | false | 2026-07-17 |
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="Mike Krüger" email="mike@icsharpcode.net"/>
// <version>$Revision: 2314 $</version>
// </file>
using ICSharpCode.TextEditor;
using ICSharpCode.TextEditor.Actions;
using ICSharpCode.TextE... | willrawls/xlg | TextEditor/Src/ICSharpCode.TextEditor/Test/BlockCommentTests.cs | https://github.com/willrawls/xlg/blob/HEAD/TextEditor/Src/ICSharpCode.TextEditor/Test/BlockCommentTests.cs | ghcode:00176:4d78510a761e | mit | codeparrot/github-code | 4d78510a761ee15cf383c8e0d38206ca657911a4c2fe75b97d002e75975ec8e5 | 0.95 | testing_debugging_repair_refactoring | 1,388 | false | 2026-07-17 |
namespace Sitecore.FakeDb.Tests.Security.AccessControl
{
using FluentAssertions;
using NSubstitute;
using Sitecore.FakeDb.Security.AccessControl;
using Sitecore.Security.AccessControl;
using Sitecore.Security.Accounts;
using Xunit;
public class AuthorizationSwitcherTest
{
private readonly Authoriz... | pveller/Sitecore.FakeDb | test/Sitecore.FakeDb.Tests/Security/AccessControl/AuthorizationSwitcherTest.cs | https://github.com/pveller/Sitecore.FakeDb/blob/HEAD/test/Sitecore.FakeDb.Tests/Security/AccessControl/AuthorizationSwitcherTest.cs | ghcode:00176:d63fbc9b56ad | mit | codeparrot/github-code | d63fbc9b56ad52a5cda9b1e0b2392add4b1a0f6dfb212266794216d8ba9cbf81 | 0.7 | testing_debugging_repair_refactoring | 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.
using System.Collections.Generic;
using Xunit;
namespace System.Tests
{
public static partial class StringTests... | marksmeltzer/corefx | src/System.Runtime/tests/System/StringTests.netcoreapp.cs | https://github.com/marksmeltzer/corefx/blob/HEAD/src/System.Runtime/tests/System/StringTests.netcoreapp.cs | ghcode:00176:ed4e26de7466 | mit | codeparrot/github-code | ed4e26de746675fa960e89094fccbd28e842a341432d06397b7916e9acaf9924 | 0.95 | testing_debugging_repair_refactoring | 1,406 | false | 2026-07-17 |
// ***********************************************************************
// Copyright (c) 2016 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... | nunit/nunit-gui | src/TestModel/tests/ResultNodeTests.cs | https://github.com/nunit/nunit-gui/blob/HEAD/src/TestModel/tests/ResultNodeTests.cs | ghcode:00176:32698a4be2e1 | mit | codeparrot/github-code | 32698a4be2e14ebd702caf6568d2ac4dd70764787bad7231c6a6549dc9906f6c | 0.95 | testing_debugging_repair_refactoring | 350 | false | 2026-07-17 |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using... | genlu/roslyn | src/Compilers/CSharp/Portable/BoundTree/BoundDecisionDag.cs | https://github.com/genlu/roslyn/blob/HEAD/src/Compilers/CSharp/Portable/BoundTree/BoundDecisionDag.cs | ghcode:00176:c44fe8791ad6 | mit | codeparrot/github-code | c44fe8791ad6ccbd0729283b4458a3763b07db018f90c597951f4a459644bad5 | 0.85 | testing_debugging_repair_refactoring | 2,534 | false | 2026-07-17 |
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Reflection;
using osu.Framework.Allocation;
using osu.Framework.IO.Stores;
namespace osu.Framework.Tests
{
internal class TestGame : Game
... | Nabile-Rahmani/osu-framework | osu.Framework.Tests/TestGame.cs | https://github.com/Nabile-Rahmani/osu-framework/blob/HEAD/osu.Framework.Tests/TestGame.cs | ghcode:00176:76f0f6c5378b | mit | codeparrot/github-code | 76f0f6c5378b8526ee26731dc7abbb972783dfdd012822794a92f56ddfc2a79a | 0.85 | testing_debugging_repair_refactoring | 128 | false | 2026-07-17 |
using System.Linq;
using System.Threading.Tasks;
using NUnit.Framework;
using SJP.Schematic.Core.Comments;
namespace SJP.Schematic.Core.Tests.Comments
{
[TestFixture]
internal static class EmptyDatabaseSynonymCommentProviderTests
{
[Test]
public static void GetSynonymComments_GivenNullName... | sjp/Schematic | src/SJP.Schematic.Core.Tests/Comments/EmptyDatabaseSynonymCommentProviderTests.cs | https://github.com/sjp/Schematic/blob/HEAD/src/SJP.Schematic.Core.Tests/Comments/EmptyDatabaseSynonymCommentProviderTests.cs | ghcode:00176:f5240d380d78 | mit | codeparrot/github-code | f5240d380d78af741cd68a1b33c0c4f58e259883c8a5283671cd365091c889d6 | 0.75 | testing_debugging_repair_refactoring | 251 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Jurassic;
namespace UnitTests
{
/// <summary>
/// Test the global DataView object.
/// </summary>
[TestClass]
public class DataViewTests : TestBase
{
[TestMethod]
public void Constructor()
{
// Call
... | kpreisser/jurassic | Unit Tests/Library/DataViewTests.cs | https://github.com/kpreisser/jurassic/blob/HEAD/Unit Tests/Library/DataViewTests.cs | ghcode:00176:529cd2d5fa29 | mit | codeparrot/github-code | 529cd2d5fa29cc88c3bff78eb39165427be034cb0243ffcedea2f536f64139c7 | 0.85 | testing_debugging_repair_refactoring | 4,445 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Akka;
using System.Collections.Concurrent;
using Akka.Actor;
using Akka.TestKit;
using Akka.Routing;
namespace Akka.Tests.Routing
{
public class SmallestMailboxSpec : AkkaSpec
... | rodrigovidal/akka.net | src/core/Akka.Tests/Routing/SmallestMailboxSpec.cs | https://github.com/rodrigovidal/akka.net/blob/HEAD/src/core/Akka.Tests/Routing/SmallestMailboxSpec.cs | ghcode:00176:5392d9356a93 | apache-2.0 | codeparrot/github-code | 5392d9356a9370f81a9e078a68e39e7f02cfed9fa666bb1920f37fe9a178f116 | 0.75 | testing_debugging_repair_refactoring | 617 | false | 2026-07-17 |
//
// Copyright (C) DataStax Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... | maxwellb/csharp-driver | src/Cassandra.IntegrationTests/Mapping/Tests/FluentMapping.cs | https://github.com/maxwellb/csharp-driver/blob/HEAD/src/Cassandra.IntegrationTests/Mapping/Tests/FluentMapping.cs | ghcode:00176:73cdfc0b51f0 | apache-2.0 | codeparrot/github-code | 73cdfc0b51f07d8034599ec4bb63ed64bab42841a398e2127c9470384d3491e9 | 0.95 | testing_debugging_repair_refactoring | 1,397 | false | 2026-07-17 |
using Moq;
using NUnit.Framework;
using Parse;
using Parse.Internal;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
namespace ParseTest {
[TestFixture]
public class AnalyticsTests {
[TearDown]
public void TearDow... | kangkot/Parse-SDK-dotNET | ParseTest.Unit/AnalyticsTests.cs | https://github.com/kangkot/Parse-SDK-dotNET/blob/HEAD/ParseTest.Unit/AnalyticsTests.cs | ghcode:00176:be877db1b88b | bsd-3-clause | codeparrot/github-code | be877db1b88bec0d770e09266a3015cf14a3ae5d369dd7775654cd106b50e687 | 0.75 | testing_debugging_repair_refactoring | 599 | false | 2026-07-17 |
// Copyright (c) 2012, Event Store LLP
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// Redistributions of source code must retain the above copyright notice,
// this list of conditi... | msbahrul/EventStore | src/EventStore/EventStore.Projections.Core.Tests/Services/position_tagging/prepare_position_tagger/when_creating_prepare_postion_tracker.cs | https://github.com/msbahrul/EventStore/blob/HEAD/src/EventStore/EventStore.Projections.Core.Tests/Services/position_tagging/prepare_position_tagger/when_creating_prepare_postion_tracker.cs | ghcode:00176:e24538ced5b0 | bsd-3-clause | codeparrot/github-code | e24538ced5b0fe0da85955baa86f74d3ad4e1431b0ab222745cb97733550f1e3 | 0.85 | testing_debugging_repair_refactoring | 636 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using TestStack.BDDfy.Configuration;
using TestStack.BDDfy.Reporters.Html;
using TestStack.BDDfy.Samples;
using TestStack.BDDfy.Samples.Atm;
using Xunit.Abstractions;
using ... | sebgod/TestStack.BDDfy | src/Samples/TestStack.BDDfy.Samples/AssemblySetupFixture.cs | https://github.com/sebgod/TestStack.BDDfy/blob/HEAD/src/Samples/TestStack.BDDfy.Samples/AssemblySetupFixture.cs | ghcode:00176:8d3779c3aeef | mit | codeparrot/github-code | 8d3779c3aeefec46af696f5b581163cef172436220c5d82cd3becb3a3fa15fab | 0.85 | testing_debugging_repair_refactoring | 1,260 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Net;
using Microsoft.Rest.Azure;
using Microsoft.Azure.Management.Network;
using Microsoft.Azure.Management.Network.Models;
using Microsoft.Azure.Management.Resources;
using Microsoft.Azure.Management.Resources.Models;
using Microsoft.Azure.Test;
using Networks.Tests.Help... | r22016/azure-sdk-for-net | src/ResourceManagement/Network/Network.Tests/Tests/ApplicationGatewayTests.cs | https://github.com/r22016/azure-sdk-for-net/blob/HEAD/src/ResourceManagement/Network/Network.Tests/Tests/ApplicationGatewayTests.cs | ghcode:00176:1547747e3807 | mit | codeparrot/github-code | 1547747e38078860f07f0cef614298121090df26e2eb9d3ce1ea9127a5eb51f4 | 0.95 | testing_debugging_repair_refactoring | 4,431 | false | 2026-07-17 |
namespace School.Test
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class StudentTests
{
private const int UniqueStudentNumberMinValue = 10000;
private const int UniqueStudentNumberMaxValue = 99999;
[TestMethod]
[ExpectedEx... | shopOFF/TelerikAcademyCourses | Unit-Testing/TelerikUnitTestingg/UnitTestingHomeworks/Task-1/School.Test/StudentTests.cs | https://github.com/shopOFF/TelerikAcademyCourses/blob/HEAD/Unit-Testing/TelerikUnitTestingg/UnitTestingHomeworks/Task-1/School.Test/StudentTests.cs | ghcode:00176:438fa0af8e79 | mit | codeparrot/github-code | 438fa0af8e79809b2ca03d3cd983767f7836479a165738d653a5c05a46874c97 | 0.75 | testing_debugging_repair_refactoring | 220 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Runtime.Versioning;
using NuGet;
using NuGet.Server.Infrastructure;
using Xunit;
namespace Server.Test
{
public class FeedPackageTest
{
[Fact]
public void FeedPackageHasSam... | anurse/NuGet | test/Server.Test/FeedPackageTest.cs | https://github.com/anurse/NuGet/blob/HEAD/test/Server.Test/FeedPackageTest.cs | ghcode:00176:1dfbeb9e63a2 | apache-2.0 | codeparrot/github-code | 1dfbeb9e63a25acf116d6cc57f63304d5368f93b16b5033b9c4cd05b2f7901b0 | 0.85 | testing_debugging_repair_refactoring | 589 | false | 2026-07-17 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | WilliamDo/ignite | modules/platforms/dotnet/Apache.Ignite.Core.Tests/Binary/BinaryFooterTest.cs | https://github.com/WilliamDo/ignite/blob/HEAD/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Binary/BinaryFooterTest.cs | ghcode:00176:d98f2285e955 | apache-2.0 | codeparrot/github-code | d98f2285e9552b878575aeedf991c03716eee184cb322c3b63249765633011fd | 0.7 | testing_debugging_repair_refactoring | 1,213 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using CCT.NUI.Core;
namespace CCT.NUI.Tests.Core
{
[TestClass]
public class DepthFramePointerDataSourceTests
{
private DepthDataFrame depthDataFrame;
pr... | ourochan/candescantNUI | CCT.NUI.Tests/Core/DepthFramePointerDataSourceTests.cs | https://github.com/ourochan/candescantNUI/blob/HEAD/CCT.NUI.Tests/Core/DepthFramePointerDataSourceTests.cs | ghcode:00176:f909d9259670 | bsd-3-clause | codeparrot/github-code | f909d9259670ee51b5091f3434e5d1568ea386cdc280ab0395e1474e8b528626 | 0.75 | testing_debugging_repair_refactoring | 227 | false | 2026-07-17 |
namespace etcetera.specs
{
using Should;
using Xunit;
public class CanListMembers : EtcdBase
{
[Fact]
public void CanGetListOfMembers()
{
var resp = Client.Members.List();
resp.Members.ShouldNotBeEmpty();
}
}
} | krisdages/etcetera | etcetera.specs/CanListMembers.cs | https://github.com/krisdages/etcetera/blob/HEAD/etcetera.specs/CanListMembers.cs | ghcode:00176:f1e573a4468b | apache-2.0 | codeparrot/github-code | f1e573a4468b4589add4f514de87b0e38ce1c170370d9454d91a5ca6aa6a749f | 0.6 | testing_debugging_repair_refactoring | 64 | false | 2026-07-17 |
using Lucene.Net.Analysis.Tokenattributes;
using Lucene.Net.Attributes;
using Lucene.Net.Documents;
using NUnit.Framework;
using System;
namespace Lucene.Net.Index
{
using System.IO;
/*
/// Copyright 2006 The Apache Software Foundation
///
/// Licensed under the Apache License, Version... | jpsullivan/lucenenet | src/Lucene.Net.Tests/core/Index/TestTermdocPerf.cs | https://github.com/jpsullivan/lucenenet/blob/HEAD/src/Lucene.Net.Tests/core/Index/TestTermdocPerf.cs | ghcode:00176:c7502ba64896 | apache-2.0 | codeparrot/github-code | c7502ba6489617e59b8b84971e8eeb1d294a512f0d0cb11ba5cc862aafe06c79 | 0.85 | testing_debugging_repair_refactoring | 1,222 | 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.Reflection;
using System.Reflection.Emit;
using Xunit;
namespace System.Reflection.Emit.Tests
{
public class TypeBuilderCreateType1
... | Winsto/corefx | src/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderDefineNestedType1.cs | https://github.com/Winsto/corefx/blob/HEAD/src/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderDefineNestedType1.cs | ghcode:00176:f53f93574b40 | mit | codeparrot/github-code | f53f93574b404d78536732b9837e16e2d9c1f4f2c46e0270f89f5422fa9f06e4 | 0.95 | testing_debugging_repair_refactoring | 1,080 | 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.apac... | AzureAutomationTeam/azure-powershell | src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/AdvancedThreatProtectionTests.cs | https://github.com/AzureAutomationTeam/azure-powershell/blob/HEAD/src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/AdvancedThreatProtectionTests.cs | ghcode:00176:0af1207e4640 | apache-2.0 | codeparrot/github-code | 0af1207e4640916db044a0f31b6ddf9980b7c513ce8363da27410c2d8e291085 | 0.85 | testing_debugging_repair_refactoring | 333 | false | 2026-07-17 |
using NSubstitute.Core;
using NSubstitute.Specs.Infrastructure;
using NSubstitute.Routing.Handlers;
using NUnit.Framework;
namespace NSubstitute.Specs.Routing.Handlers
{
public class RecordCallSpecificationHandlerSpecs
{
public class When_handling_call : ConcernFor<RecordCallSpecificationHandler>
... | huoxudong125/NSubstitute | Source/NSubstitute.Specs/Routing/Handlers/RecordCallSpecificationHandlerSpecs.cs | https://github.com/huoxudong125/NSubstitute/blob/HEAD/Source/NSubstitute.Specs/Routing/Handlers/RecordCallSpecificationHandlerSpecs.cs | ghcode:00176:1de36474df95 | bsd-3-clause | codeparrot/github-code | 1de36474df954ce607b05439643f3db7c9b3501773b1bd05e47c83e8838f1379 | 0.6 | testing_debugging_repair_refactoring | 356 | false | 2026-07-17 |
using NSubstitute.Core;
using NSubstitute.Core.Arguments;
using NSubstitute.Exceptions;
using NSubstitute.Specs.Infrastructure;
using NUnit.Framework;
namespace NSubstitute.Specs
{
public class SubstitutionContextSpecs
{
public abstract class Concern : ConcernFor<SubstitutionContext>
{
... | jannickj/NSubstitute | Source/NSubstitute.Specs/SubstitutionContextSpecs.cs | https://github.com/jannickj/NSubstitute/blob/HEAD/Source/NSubstitute.Specs/SubstitutionContextSpecs.cs | ghcode:00176:3713d1467c11 | bsd-3-clause | codeparrot/github-code | 3713d1467c11c1f2911998b32d3a888579b1853f2037332a389a70f95a1cdecd | 0.6 | testing_debugging_repair_refactoring | 968 | 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.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CSharp.Test.Utilitie... | bbarry/roslyn | src/Compilers/CSharp/Test/Emit/CodeGen/EventTests.cs | https://github.com/bbarry/roslyn/blob/HEAD/src/Compilers/CSharp/Test/Emit/CodeGen/EventTests.cs | ghcode:00176:384a08ee4192 | apache-2.0 | codeparrot/github-code | 384a08ee4192fcb635cc5ddf5eb7dcf8ddff2d12567164ae0df21b1593fdbb05 | 0.95 | testing_debugging_repair_refactoring | 7,302 | false | 2026-07-17 |
/* Copyright (c) Citrix Systems, Inc.
* 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... | huizh/xenadmin | XenAdminTests/CompressionTests/ThirdPartyCompressionStreamTests.cs | https://github.com/huizh/xenadmin/blob/HEAD/XenAdminTests/CompressionTests/ThirdPartyCompressionStreamTests.cs | ghcode:00176:26bca729a7cd | bsd-2-clause | codeparrot/github-code | 26bca729a7cdfa107010d7af2303e8b195e561ea73ee89d8444cd633d7856da1 | 0.68 | testing_debugging_repair_refactoring | 1,149 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Azure.Core.Pipeline;
namespace Azure.Core.TestFramework
{
public class MockTransport : HttpPipelineTransport
{... | brjohnstmsft/azure-sdk-for-net | sdk/keyvault/samples/keyvaultproxy/tests/TestFramework/MockTransport.cs | https://github.com/brjohnstmsft/azure-sdk-for-net/blob/HEAD/sdk/keyvault/samples/keyvaultproxy/tests/TestFramework/MockTransport.cs | ghcode:00176:7ec0ac3da316 | mit | codeparrot/github-code | 7ec0ac3da31687bdce943a7cf9e90cfc52d49f617c281820525a7ab552df32dc | 0.85 | testing_debugging_repair_refactoring | 464 | false | 2026-07-17 |
using System;
using NSubstitute.Core.Arguments;
using NUnit.Framework;
namespace NSubstitute.Specs.Arguments
{
public class ExpressionArgumentMatcherSpecs
{
[Test]
public void Should_use_expression_as_string_description()
{
var spec = new ExpressionArgumentMatcher<int>(x =>... | huoxudong125/NSubstitute | Source/NSubstitute.Specs/Arguments/ExpressionArgumentMatcherSpecs.cs | https://github.com/huoxudong125/NSubstitute/blob/HEAD/Source/NSubstitute.Specs/Arguments/ExpressionArgumentMatcherSpecs.cs | ghcode:00176:14c7e62ad455 | bsd-3-clause | codeparrot/github-code | 14c7e62ad4556b9222a227afcc19f27fe223783780051f29e549f39d087e34a0 | 0.6 | testing_debugging_repair_refactoring | 230 | 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.Linq;
using System.Reflection;
using System.Runtime.Serialization;
u... | dhoehna/corefx | src/System.Security.Permissions/tests/SerializationTests.cs | https://github.com/dhoehna/corefx/blob/HEAD/src/System.Security.Permissions/tests/SerializationTests.cs | ghcode:00176:e891eb0d828c | mit | codeparrot/github-code | e891eb0d828c24337958ec475dd9b207dac6b1bbbce53b64ca758d832e150825 | 0.95 | testing_debugging_repair_refactoring | 419 | 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 Roslyn.Test.Utilities;
using Xunit;
namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.Recommendations
{
public... | bbarry/roslyn | src/EditorFeatures/CSharpTest2/Recommendations/IfKeywordRecommenderTests.cs | https://github.com/bbarry/roslyn/blob/HEAD/src/EditorFeatures/CSharpTest2/Recommendations/IfKeywordRecommenderTests.cs | ghcode:00176:dd39c2cfaf94 | apache-2.0 | codeparrot/github-code | dd39c2cfaf94183bf2372cd22e32d8fdc5aff185d7ff65302a01ccc1e5cd9258 | 0.75 | testing_debugging_repair_refactoring | 1,444 | 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.
#if USE_MDT_EVENTSOURCE
using Microsoft.Diagnostics.Tracing;
#else
using System.Diagnostics.Tracing;
#endif
using Xu... | BrennanConroy/corefx | src/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestsTraits.cs | https://github.com/BrennanConroy/corefx/blob/HEAD/src/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestsTraits.cs | ghcode:00176:238930064671 | mit | codeparrot/github-code | 238930064671c8f8e137e30f61808c72906c45100bd579a9b52b743081b0607f | 0.95 | testing_debugging_repair_refactoring | 630 | 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.Threading;
using Xunit;
namespace System.IO.Tests
{
public class TestStream : MemoryStream
{
... | marksmeltzer/corefx | src/System.IO/tests/Stream/Stream.netstandard.cs | https://github.com/marksmeltzer/corefx/blob/HEAD/src/System.IO/tests/Stream/Stream.netstandard.cs | ghcode:00176:e25645f3d5ce | mit | codeparrot/github-code | e25645f3d5ce6774617b10c9b7637c9c3f591b22fd796b50e8ae61de77a897e4 | 0.95 | testing_debugging_repair_refactoring | 249 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using FubuMVC.Core;
using FubuMVC.Swank.Description;
using FubuMVC.Swank.Net;
namespace Tests.Specification.SpecificationService.EndpointTests
{
namespace EndpointDescriptions
{
public class NoDescriptionGetHand... | mikeobrien/FubuMVC.Swank | src/Tests/Specification/SpecificationService/EndpointTests/Handlers.cs | https://github.com/mikeobrien/FubuMVC.Swank/blob/HEAD/src/Tests/Specification/SpecificationService/EndpointTests/Handlers.cs | ghcode:00176:e3dac9d62f94 | mit | codeparrot/github-code | e3dac9d62f948844a28a43a1b156bfe71e5120f1fd047f3233a2ae4a64992a9d | 0.85 | testing_debugging_repair_refactoring | 2,223 | 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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;... | peppy/osu-new | osu.Game/Tests/Visual/OnlinePlay/OnlinePlayTestScene.cs | https://github.com/peppy/osu-new/blob/HEAD/osu.Game/Tests/Visual/OnlinePlay/OnlinePlayTestScene.cs | ghcode:00176:a5f51fdc843d | mit | codeparrot/github-code | a5f51fdc843d9ed3a9630ee10bc8be27d085d53b5cf0ee215dddd1216bf671fe | 0.95 | testing_debugging_repair_refactoring | 781 | false | 2026-07-17 |
using Gnu.MP.BrickCoinProtocol.Crypto;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace Gnu.MP.BrickCoinProtocol.Tests
{
class AssertEx
{
[DebuggerHidden]
internal static void Error(string msg)
... | thepunctuatedhorizon/BrickCoinAlpha.0.0.1 | GnuMP.Tests/Gnu.MP.Tests/Tests/AssertEx.cs | https://github.com/thepunctuatedhorizon/BrickCoinAlpha.0.0.1/blob/HEAD/GnuMP.Tests/Gnu.MP.Tests/Tests/AssertEx.cs | ghcode:00176:67652f3378fb | mit | codeparrot/github-code | 67652f3378fb6d817c2eff9f400e907ea4565c8d55016e66666fc25b4ff8e469 | 0.85 | testing_debugging_repair_refactoring | 355 | false | 2026-07-17 |
using System;
using System.Diagnostics.CodeAnalysis;
using Autofac;
using Xunit;
namespace FluentAssertions.Autofac
{
// ReSharper disable InconsistentNaming
public class RegisterAssertions_Should
{
[Fact]
public void Register_Type_As()
{
var containerShouldHave = Config... | awesome-inc/FluentAssertions.Autofac | FluentAssertions.Autofac.Tests/RegisterAssertions_Should.cs | https://github.com/awesome-inc/FluentAssertions.Autofac/blob/HEAD/FluentAssertions.Autofac.Tests/RegisterAssertions_Should.cs | ghcode:00176:870901814bab | mit | codeparrot/github-code | 870901814bab24f79778fb98faec112b68b75ab3c0393f329db71182305d6b71 | 0.6 | testing_debugging_repair_refactoring | 300 | false | 2026-07-17 |
using AutoBogus.NSubstitute;
using AutoBogus.Tests.Models;
using AutoBogus.Tests.Models.Complex;
using AutoBogus.Tests.Models.Simple;
using FluentAssertions;
using Xunit;
namespace AutoBogus.Tests
{
public class NSubstituteBinderFixture
{
private IAutoFaker _faker;
public NSubstituteBinderFixture()
{
... | nickdodd79/AutoBogus | src/AutoBogus.Tests/NSubstituteBinderFixture.cs | https://github.com/nickdodd79/AutoBogus/blob/HEAD/src/AutoBogus.Tests/NSubstituteBinderFixture.cs | ghcode:00176:a1d0dff9487c | mit | codeparrot/github-code | a1d0dff9487c05703f23f2af451b30bce3b952785fc939913d88486a3a6bc1dc | 0.75 | testing_debugging_repair_refactoring | 202 | false | 2026-07-17 |
#region [R# naming]
// ReSharper disable ArrangeTypeModifiers
// ReSharper disable UnusedMember.Local
// ReSharper disable FieldCanBeMadeReadOnly.Local
// ReSharper disable ArrangeTypeMemberModifiers
// ReSharper disable InconsistentNaming
#endregion
using NSpectator;
using FluentAssertions;
namespace SampleSpecs.Bug
... | nspectator/NSpectator | test/SampleSpecs/Bug/Given_a_subcontext_that_fails.cs | https://github.com/nspectator/NSpectator/blob/HEAD/test/SampleSpecs/Bug/Given_a_subcontext_that_fails.cs | ghcode:00176:2340a0bbd403 | mit | codeparrot/github-code | 2340a0bbd403f6e3113874cabb4c02c3f3a8ed4a722c5e2b564ee8718b85c02f | 0.7 | testing_debugging_repair_refactoring | 169 | false | 2026-07-17 |
namespace TraktApiSharp.Tests.Requests.Shows
{
using FluentAssertions;
using System;
using System.Collections;
using System.Collections.Generic;
using Traits;
using TraktApiSharp.Enums;
using TraktApiSharp.Requests.Shows;
using Xunit;
[Category("Requests.Shows")]
public class S... | henrikfroehling/TraktApiSharp | Source/Tests/TraktApiSharp.Tests/Requests/Shows/ShowListsRequest_Tests.cs | https://github.com/henrikfroehling/TraktApiSharp/blob/HEAD/Source/Tests/TraktApiSharp.Tests/Requests/Shows/ShowListsRequest_Tests.cs | ghcode:00176:0630ea588e2a | mit | codeparrot/github-code | 0630ea588e2a4bf4dc21e08fcbd55c0c6f43eb2379cf8ef4bbaf8abf3665fb35 | 0.95 | testing_debugging_repair_refactoring | 1,961 | false | 2026-07-17 |
namespace TexasHoldem.Tests.GameSimulations
{
using System;
using TexasHoldem.Tests.GameSimulations.GameSimulators;
public static class Program
{
public static void Main()
{
SimulateGames(new ErisVsErisGameSimulator());
SimulateGames(new ErisVsAllwayRiseGameSim... | DYanis/ErisBaseStrategyPokerBot | Eris/Tests/TexasHoldem.Tests.GameSimulations/Program.cs | https://github.com/DYanis/ErisBaseStrategyPokerBot/blob/HEAD/Eris/Tests/TexasHoldem.Tests.GameSimulations/Program.cs | ghcode:00176:25c5e63958b8 | mit | codeparrot/github-code | 25c5e63958b87bfc370bedbead10791ec5c6be558d171465c390467e813fef5c | 0.85 | testing_debugging_repair_refactoring | 244 | false | 2026-07-17 |
//
// TestOrderNeutralEqualityComparer.cs
//
// Author:
// Craig Fowler <craig@csf-dev.com>
//
// Copyright (c) 2015 CSF Software Limited
//
// 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 So... | csf-dev/CSF.Core | Test.CSF/Collections/TestOrderNeutralEqualityComparer.cs | https://github.com/csf-dev/CSF.Core/blob/HEAD/Test.CSF/Collections/TestOrderNeutralEqualityComparer.cs | ghcode:00176:b76314d21aa2 | mit | codeparrot/github-code | b76314d21aa2a433d18a462ba039b96c43dff335061ee78eb47b854898e9ba55 | 0.85 | testing_debugging_repair_refactoring | 640 | false | 2026-07-17 |
// Copyright (c) 2011 Smarkets Limited
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use, copy,
// modify, merge, pu... | smarkets/IronSmarkets | IronSmarkets.Tests/DateTimeTests.cs | https://github.com/smarkets/IronSmarkets/blob/HEAD/IronSmarkets.Tests/DateTimeTests.cs | ghcode:00176:f71740b64a45 | mit | codeparrot/github-code | f71740b64a456274a6504642a64887a0fb60306ab15ed95a3e18f373546b77bb | 0.85 | testing_debugging_repair_refactoring | 869 | false | 2026-07-17 |
using System.IO;
using NFile.Framework;
using NUnit.Framework;
namespace NFile.Tests
{
[TestFixture]
public class AcceptanceTests
{
[Test]
public void TemporaryFileSimpleDemo()
{
using (TemporaryFile temporaryFile = new TemporaryFile())
{
... | constructor-igor/NFile | sources/NFile.Tests/AcceptanceTests.cs | https://github.com/constructor-igor/NFile/blob/HEAD/sources/NFile.Tests/AcceptanceTests.cs | ghcode:00176:add92a02fbe8 | mit | codeparrot/github-code | add92a02fbe8587970b03857ee54f2f036940a075c656ac1810349dda16650ec | 0.75 | testing_debugging_repair_refactoring | 229 | false | 2026-07-17 |
using System;
using NUnit.Framework;
using METRO.Core.Blocks;
using METRO.Core.FluentAPI;
using METRO.Core.Blocks.Oberservation;
using METRO.UI.Blocks.Oberservation;
using System.Threading;
using System.Collections.Generic;
namespace METRO.UI.Tests
{
[TestFixture]
public class UIObserverTest
{
[Te... | starkeeny/METRO | src/METRO.Core/METRO.UI.Tests/UIObserverTest.cs | https://github.com/starkeeny/METRO/blob/HEAD/src/METRO.Core/METRO.UI.Tests/UIObserverTest.cs | ghcode:00176:feea12bdc4e3 | mit | codeparrot/github-code | feea12bdc4e35c78d654b9c0325626ba3a2cb20950c7ba417eca9852e51fe806 | 0.6 | testing_debugging_repair_refactoring | 617 | false | 2026-07-17 |
using DragonSpark.Compose;
using DragonSpark.Composition;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using System.Threading.Tasks;
using Xunit;
namespace DragonSpark.Testing.Composition.Compose;
// ReSharper disable once TestFileNameWarning
public sealed class ConfigureFromEnvironmentTes... | DragonSpark/Framework | DragonSpark.Testing/Composition/Compose/ConfigureFromEnvironmentTests.cs | https://github.com/DragonSpark/Framework/blob/HEAD/DragonSpark.Testing/Composition/Compose/ConfigureFromEnvironmentTests.cs | ghcode:00176:e56d0fb8a0ca | mit | codeparrot/github-code | e56d0fb8a0cae468eb7f7ed0500d11f0a861023b711f2d439b2e2a4ba4201f72 | 0.75 | testing_debugging_repair_refactoring | 138 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using JohnLambe.Util;
using System.Reflection;
using System.Text;
using System.Collections.Generic;
using System.Collections;
using JohnLambe.Util.Types;
namespace JohnLambe.Tests.JLUtilsTest
{
/// <summary>
/// Utilities for unit testing.
... | JohnLambe/JLCSUtils | JLCSUtils/JLUtilsTest/TestUtil.cs | https://github.com/JohnLambe/JLCSUtils/blob/HEAD/JLCSUtils/JLUtilsTest/TestUtil.cs | ghcode:00176:af4945c976f1 | mit | codeparrot/github-code | af4945c976f1375d06bcae0508d1e84403b0320853363ad4bb0704fa241d3555 | 0.85 | testing_debugging_repair_refactoring | 4,032 | false | 2026-07-17 |
namespace Microsoft.Protocols.TestSuites.MS_ASCMD
{
using System;
using Microsoft.Protocols.TestSuites.Common;
using Microsoft.Protocols.TestSuites.Common.DataStructures;
using Microsoft.Protocols.TestTools;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Request = Microsoft.Pro... | OfficeDev/Interop-TestSuites | ExchangeActiveSync/Source/MS-ASCMD/TestSuite/S13_ResolveRecipients.cs | https://github.com/OfficeDev/Interop-TestSuites/blob/HEAD/ExchangeActiveSync/Source/MS-ASCMD/TestSuite/S13_ResolveRecipients.cs | ghcode:00176:20ddce6e9657 | mit | codeparrot/github-code | 20ddce6e965754ec5502ee155866fccfd96507146853715c1f49ff3408d93570 | 0.72 | testing_debugging_repair_refactoring | 15,237 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Xunit;
namespace Leto.MiddlewareFacts
{
public class StreamWrapperFacts
{
[Fact]
public void PropertiesPassThrough()
{
using (var innerStream = new MemoryStream())
{
... | Drawaes/Leto | test/Leto.MiddlewareFacts/StreamWrapperFacts.cs | https://github.com/Drawaes/Leto/blob/HEAD/test/Leto.MiddlewareFacts/StreamWrapperFacts.cs | ghcode:00176:c81d0457497d | mit | codeparrot/github-code | c81d0457497d87472b824c34e1395c3274f5ef9bdd08f1a1b460ff522433715e | 0.75 | testing_debugging_repair_refactoring | 134 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using Wyam.Common;
using Wyam.Common.Tracing;
using Wyam.Core.Execution;
using Wyam.Core.Modules.Control;
using Wyam.Testing;
using Wyam.Testing.Modules;
using Wyam.Common.Executio... | adamclifford/Wyam | tests/core/Wyam.Core.Tests/Execution/PipelineFixture.cs | https://github.com/adamclifford/Wyam/blob/HEAD/tests/core/Wyam.Core.Tests/Execution/PipelineFixture.cs | ghcode:00176:679b456b1959 | mit | codeparrot/github-code | 679b456b1959f50e0a1a97647a2544b968035c43a07631304e988cf5e191f06c | 0.7 | testing_debugging_repair_refactoring | 1,175 | false | 2026-07-17 |
namespace UnitTests
{
using Jose;
using Jose.keys;
using Microsoft.IdentityModel.Tokens;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificate... | dvsekhvalnov/jose-jwt | UnitTestsNet46/jwe/JweTest.cs | https://github.com/dvsekhvalnov/jose-jwt/blob/HEAD/UnitTestsNet46/jwe/JweTest.cs | ghcode:00176:7a3c524ca1b9 | mit | codeparrot/github-code | 7a3c524ca1b973b1656e82704d466024453410359867a109d80e9f101fdfa5ae | 0.85 | testing_debugging_repair_refactoring | 18,896 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Linq.Declarative.Tests.TestTypes
{
public class TestPlainFilter
{
public String Test1 { get; set; }
public int? Test2 { get; set; }
public int? Test3 { get; set... | imgaray/linq-declarative | Linq.Declarative.Tests/TestTypes/TestPlainFilter.cs | https://github.com/imgaray/linq-declarative/blob/HEAD/Linq.Declarative.Tests/TestTypes/TestPlainFilter.cs | ghcode:00176:9399c98e6041 | mit | codeparrot/github-code | 9399c98e604176304cba36a0efd7df63a3e3c36fcdbae9fa17b482eaf85edbb6 | 0.75 | testing_debugging_repair_refactoring | 79 | false | 2026-07-17 |
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MQTTnet.Client;
using MQTTnet.Client.Options;
using MQTTnet.Client.Publishing;
using MQTTnet.Client.Receiving;
using MQTTnet.Client.Subscribing;
using MQTTnet.Client.Unsubscr... | chkr1011/MQTTnet | Tests/MQTTnet.Core.Tests/MQTTv5/Client_Tests.cs | https://github.com/chkr1011/MQTTnet/blob/HEAD/Tests/MQTTnet.Core.Tests/MQTTv5/Client_Tests.cs | ghcode:00176:7faf7084176b | mit | codeparrot/github-code | 7faf7084176bceed207dea18f93f6f3b21bf64b4c149f3a429608cc448ba8de9 | 0.75 | testing_debugging_repair_refactoring | 2,024 | false | 2026-07-17 |
using System;
using System.Threading.Tasks;
using Sniper.Tests.Integration.Helpers;
using Xunit;
namespace Sniper.Tests.Integration.Clients
{
public class RepositoryContentsClientTests
{
public class TheGetReadmeMethod
{
[IntegrationTest]
public async Task ReturnsReadme... | bluetread/sniper | Sniper.Tests.Integration/Clients/RepositoryContentsClientTests.cs | https://github.com/bluetread/sniper/blob/HEAD/Sniper.Tests.Integration/Clients/RepositoryContentsClientTests.cs | ghcode:00176:ffd4ba4d795e | mit | codeparrot/github-code | ffd4ba4d795e4f24d5be0d13de54775dbe9d180954ba38a4aaec0163405c2784 | 0.85 | testing_debugging_repair_refactoring | 5,752 | false | 2026-07-17 |
using UnityEngine;
using System.Collections;
public class Test : MonoBehaviour {
// Use this for initialization
void Start () {
Debug.Log("test starts");
}
// Update is called once per frame
void Update () {
}
}
| CyberCRI/Hero.Coli | Assets/Scripts/Misc/Test.cs | https://github.com/CyberCRI/Hero.Coli/blob/HEAD/Assets/Scripts/Misc/Test.cs | ghcode:00176:fbcc74fa2c94 | mit | codeparrot/github-code | fbcc74fa2c94ac79b8473e15ed074a764ea48012fbe14a9223839b825f3a1bef | 0.75 | testing_debugging_repair_refactoring | 50 | false | 2026-07-17 |
// Copyright (c) Weihan Li. All rights reserved.
// Licensed under the MIT license.
using System.Net;
using WeihanLi.Common.Http;
using Xunit;
namespace WeihanLi.Common.Test.HttpTest;
public class MockHttpHandlerTest
{
[Theory]
[InlineData(HttpStatusCode.OK)]
[InlineData(HttpStatusCode.BadRequest)]
... | WeihanLi/WeihanLi.Common | test/WeihanLi.Common.Test/HttpTest/MockHttpHandlerTest.cs | https://github.com/WeihanLi/WeihanLi.Common/blob/HEAD/test/WeihanLi.Common.Test/HttpTest/MockHttpHandlerTest.cs | ghcode:00176:9a8a1fec540b | mit | codeparrot/github-code | 9a8a1fec540b2185b000f40671975c59d4f3a50e16cb969b67274101fe7ff4de | 0.7 | testing_debugging_repair_refactoring | 411 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cocos2D;
namespace tests
{
public class SpriteAnchorPoint : SpriteTestDemo
{
public SpriteAnchorPoint()
{
CCSize s = CCDirector.SharedDirector.WinSize;
CCActionInterval rotate =... | mono/cocos2d-xna | tests/tests/classes/tests/SpriteTest/SpriteAnchorPoint.cs | https://github.com/mono/cocos2d-xna/blob/HEAD/tests/tests/classes/tests/SpriteTest/SpriteAnchorPoint.cs | ghcode:00176:8d6ff09856b8 | mit | codeparrot/github-code | 8d6ff09856b84b0e6384fc4af688d832a8e678e8b060c40ac524b2b172d21beb | 0.85 | testing_debugging_repair_refactoring | 361 | false | 2026-07-17 |
using Zh.DAL.Define.Contracts;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Zh.DAL.Define.Entities;
namespace Zh.DAL.Define.Test
{
/// <summary>
///这是 IComCountDaoTest 的测试类,旨在
///包含所有 IComCountDaoTest 单元测试
///</summary>
[TestClass()]
public class IComCountD... | Caspar12/Csharp | src/Zh.DAL.Define.Test/IComCountDaoTest.cs | https://github.com/Caspar12/Csharp/blob/HEAD/src/Zh.DAL.Define.Test/IComCountDaoTest.cs | ghcode:00176:96fad64abad6 | mit | codeparrot/github-code | 96fad64abad6c32683227c8f28edfef8b4b01afa7cacf2f3fbde81b03c7eb488 | 0.85 | testing_debugging_repair_refactoring | 391 | false | 2026-07-17 |
using CreditCardValidator;
using Shouldly;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace CreditCardUnitTest
{
public class CreditCardFactoryTests
{
public class RandomCardNumberT... | gustavofrizzo/CreditCardValidator | Src/CreditCardValidator.Tests/CreditCardFactoryTests.cs | https://github.com/gustavofrizzo/CreditCardValidator/blob/HEAD/Src/CreditCardValidator.Tests/CreditCardFactoryTests.cs | ghcode:00176:479d516b13a6 | mit | codeparrot/github-code | 479d516b13a6b28ee781953636a123f2462a6aed963d7363f0967134d8e08bf7 | 0.85 | testing_debugging_repair_refactoring | 842 | false | 2026-07-17 |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using Xunit;
using Shouldly;
using System.Collections;
namespace AutoMapper.UnitTests
{
public class When_mapping_to_existing_observable_collection : AutoMapperSpecBase
... | gentledepp/AutoMapper | src/UnitTests/CollectionMapping.cs | https://github.com/gentledepp/AutoMapper/blob/HEAD/src/UnitTests/CollectionMapping.cs | ghcode:00176:945b1c1b4844 | mit | codeparrot/github-code | 945b1c1b4844f133bbd2c9deb4c188d86a966c86dc99c0eb950e1a0cde75aada | 0.85 | testing_debugging_repair_refactoring | 4,301 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using Moq;
using NUnit.Framework;
using PetsWonderland.Business.Models.UserRoles;
using PetsWonderland.Business.MVP.Identity.Registration;
using PetsWonderland.Business.MVP.Identity.Registration.ViewModels;
using PetsWonderland.Business.MVP.Identity.Registration.Views;
u... | TeamHappyFace/Pets-Wonderland | PetsWonderland/Tests/Business/PetsWonderland.MVP.Tests/Identity/RegistrationPresenterTests/BindPageData_Should.cs | https://github.com/TeamHappyFace/Pets-Wonderland/blob/HEAD/PetsWonderland/Tests/Business/PetsWonderland.MVP.Tests/Identity/RegistrationPresenterTests/BindPageData_Should.cs | ghcode:00176:982628613ba1 | mit | codeparrot/github-code | 982628613ba13fdee63d235211541eb61cbc7e1ab23ec7057c1512131b8ceed1 | 0.85 | testing_debugging_repair_refactoring | 277 | false | 2026-07-17 |
#region File Header
// MIT License
//
// Copyright (c) 2017 Stefan Stolz
//
// 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
... | StefanStolz/DeepEqualityComparer | source/Integration/UsageInNetCoreUnitTest/UserWithxUnit.cs | https://github.com/StefanStolz/DeepEqualityComparer/blob/HEAD/source/Integration/UsageInNetCoreUnitTest/UserWithxUnit.cs | ghcode:00176:365a73994e59 | mit | codeparrot/github-code | 365a73994e597304f08372358604b97a9066065017cbd0e00d49afe9a1ec1df5 | 0.85 | testing_debugging_repair_refactoring | 415 | false | 2026-07-17 |
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Xunit;
using Z1Torrent.Factories;
using Z1Torrent.Interfaces;
namespace Z1Torrent.Test.Helpers {
public static class PeerConnectionMocker {
public static IPeerConnectionFac... | Z1ni/Z1Torrent | Z1Torrent.Test/Helpers/PeerConnectionMocker.cs | https://github.com/Z1ni/Z1Torrent/blob/HEAD/Z1Torrent.Test/Helpers/PeerConnectionMocker.cs | ghcode:00176:50010bb1b1ba | mit | codeparrot/github-code | 50010bb1b1baa545459a6ec5bd2a34d76660e842b03b603d53d43321cf3967c4 | 0.7 | testing_debugging_repair_refactoring | 588 | false | 2026-07-17 |
using NUnit.Framework;
using System.Collections.Generic;
using System.Text;
[TestFixture]
public class TestClass
{
[Test]
public void TestMethod()
{
var energy = new EnergyRepository();
var provider = new ProviderController(energy);
var list = new List<string>();
list.Add("... | sevdalin/Software-University-SoftUni | C-sharp-Web-Developer/C# OOP Advanced/Exams/OOP Advanced Retake 09-07-2017 Mindcraft/NUnit.Tests1/TestClass.cs | https://github.com/sevdalin/Software-University-SoftUni/blob/HEAD/C-sharp-Web-Developer/C# OOP Advanced/Exams/OOP Advanced Retake 09-07-2017 Mindcraft/NUnit.Tests1/TestClass.cs | ghcode:00176:d33365e66f80 | mit | codeparrot/github-code | d33365e66f80a50c8a4c13980c93388e5f48748f0c21cf1242450c16c9045466 | 0.75 | testing_debugging_repair_refactoring | 318 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ObjectPooling;
namespace ObjectPoolingTest
{
[TestClass]
public class basicFunction
{
private Random rnd = new Random((int)DateTime.Now.Ticks);
private string[] CFirstName = "一.二.三.四.五.六.七.八".Split('.');
private string[] CLastName = "赵.... | IceOpenSourceGroup/ObjectPooling | ObjectPoolingTest/basicFunction.cs | https://github.com/IceOpenSourceGroup/ObjectPooling/blob/HEAD/ObjectPoolingTest/basicFunction.cs | ghcode:00176:81816b88c633 | mit | codeparrot/github-code | 81816b88c6331242f866c1a36ccc1a5d9643f733a13142e8328ae29303165e29 | 0.7 | testing_debugging_repair_refactoring | 3,023 | 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.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace PrayerTimes.Test
{
public class PrayerTimesTest... | stankovski/prayer-times | PrayerTimes.Test/PrayerTimesTests.cs | https://github.com/stankovski/prayer-times/blob/HEAD/PrayerTimes.Test/PrayerTimesTests.cs | ghcode:00176:f3c709911da1 | mit | codeparrot/github-code | f3c709911da1034d7515f8eb59874640fb4e7f79d21a52dc443f286b26390f6f | 0.75 | testing_debugging_repair_refactoring | 1,071 | false | 2026-07-17 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Football.Tests
{
/// <summary>
/// Extension methods for assertions that allows for better readability
/// </summary>
public static class AssertExtensions
{
public static void IsLessThan(this int value, int expected)
{
... | dejanvasic85/FootballStats-2 | src/Football.Tests/AssertExtensions.cs | https://github.com/dejanvasic85/FootballStats-2/blob/HEAD/src/Football.Tests/AssertExtensions.cs | ghcode:00176:93e3cb4d14b4 | mit | codeparrot/github-code | 93e3cb4d14b45a231a1045d31f050fa5908b24c1635235478584237601932048 | 0.85 | testing_debugging_repair_refactoring | 150 | false | 2026-07-17 |
using System.Reflection;
using Xunit;
namespace sc.Tests
{
public class CalculatorTests
{
[Fact]
public void Given_two_integers_When_added_Then_the_result_is_correct()
{
dynamic subject = Assembly.GetEntryAssembly ().CreateInstance ("Calculator");
var result = s... | jagrem/slang | tests/Tools/sc.Tests/CalculatorTests.cs | https://github.com/jagrem/slang/blob/HEAD/tests/Tools/sc.Tests/CalculatorTests.cs | ghcode:00176:6c7e6dacd68a | mit | codeparrot/github-code | 6c7e6dacd68a9888482891355e47d415e182ad97c2e54f9bf5ca77d2be8f3f0c | 0.75 | testing_debugging_repair_refactoring | 143 | false | 2026-07-17 |
#region Licence
/* The MIT License (MIT)
Copyright © 2015 Ian Cooper <ian_hammond_cooper@yahoo.co.uk>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitat... | dstockhammer/Brighter | tests/Paramore.Brighter.Tests/MessageStore/Sqlite/When_Writing_A_Message_To_The_Message_Store_Async.cs | https://github.com/dstockhammer/Brighter/blob/HEAD/tests/Paramore.Brighter.Tests/MessageStore/Sqlite/When_Writing_A_Message_To_The_Message_Store_Async.cs | ghcode:00176:769c3a3ab6eb | mit | codeparrot/github-code | 769c3a3ab6eb7a2a0d564a08e0db73a60479235ba17079c8c5a895ac8a68e0ec | 0.7 | testing_debugging_repair_refactoring | 839 | false | 2026-07-17 |
namespace Miruken.Secure.Tests
{
using System;
using System.Security.Claims;
using System.Security.Principal;
using System.Threading.Tasks;
using Callback;
using Callback.Policy;
using Concurrency;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public class Aut... | Miruken-DotNet/Miruken | Test/Miruken.Secure.Tests/AuthorizeFilterTests.cs | https://github.com/Miruken-DotNet/Miruken/blob/HEAD/Test/Miruken.Secure.Tests/AuthorizeFilterTests.cs | ghcode:00176:6be519c4dc10 | mit | codeparrot/github-code | 6be519c4dc10f00f3ab5a944438d948320400f03dade7ecc2d3b1735948b9c9c | 0.75 | testing_debugging_repair_refactoring | 1,920 | false | 2026-07-17 |
/*
* Farseer Physics Engine:
* Copyright (c) 2012 Ian Qvist
*
* Original source Box2D:
* Copyright (c) 2006-2011 Erin Catto http://www.box2d.org
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of t... | Xaer033/YellowSign | YellowSignUnity/Assets/ThirdParty/Networking/TrueSync/Physics/Farseer/Dynamics/Joints/FixedMouseJoint.cs | https://github.com/Xaer033/YellowSign/blob/HEAD/YellowSignUnity/Assets/ThirdParty/Networking/TrueSync/Physics/Farseer/Dynamics/Joints/FixedMouseJoint.cs | ghcode:00176:d5561977774c | mit | codeparrot/github-code | d5561977774cc4dc2d57bbab21f8a782bce6a810813b6b931888bc7e53cb322d | 0.7 | testing_debugging_repair_refactoring | 2,135 | false | 2026-07-17 |
using System.Linq;
using MediaWiki.Queries.List;
using Xunit;
using PageList = System.Collections.Generic.List<MediaWiki.Models.Page>;
namespace MediaWiki.Tests.Integration.Actions.Query.List
{
public class AllPagesListQueryTests
{
private WikiClient _client;
public AllPagesListQueryTests()
... | johnduhart/MediaWiki.net | MediaWiki.Tests.Integration/Actions/Query/List/AllPagesListQueryTests.cs | https://github.com/johnduhart/MediaWiki.net/blob/HEAD/MediaWiki.Tests.Integration/Actions/Query/List/AllPagesListQueryTests.cs | ghcode:00176:838de85db650 | mit | codeparrot/github-code | 838de85db65024d5bb81ad313c1b67225ad4f3842b1d53e1c4b1cdeb140fb3e8 | 0.75 | testing_debugging_repair_refactoring | 750 | false | 2026-07-17 |
using System;
using NUnit.Framework;
namespace Sweet.Tests
{
[TestFixture]
public class Int32ExtensionsFixture
{
[Test]
public void TimesCanBeInvokedWithFunc()
{
var result = 3.Times(i => i);
Assert.That(result, Is.EqualTo(new[] { 1, 2, 3 }));
}
... | jamesottaway/Sweet | Sweet.Tests/Int32ExtensionsFixture.cs | https://github.com/jamesottaway/Sweet/blob/HEAD/Sweet.Tests/Int32ExtensionsFixture.cs | ghcode:00176:755369934f9b | mit | codeparrot/github-code | 755369934f9bc0474694e4e5ae889a2a8adc43490a8caf8cab730cb159caad54 | 0.6 | testing_debugging_repair_refactoring | 124 | false | 2026-07-17 |
using System;
using System.IO;
using NUnit.Framework;
#pragma warning disable 1591,0618, 1718
namespace Lextm.SharpSnmpLib.Tests
{
[TestFixture]
[Category("Default")]
public class Counter32TestFixture
{
[Test]
public void TestException()
{
Assert.Throws<ArgumentNullE... | yonglehou/sharpsnmplib | Tests/Tests/Counter32TestFixture.cs | https://github.com/yonglehou/sharpsnmplib/blob/HEAD/Tests/Tests/Counter32TestFixture.cs | ghcode:00176:755b2f5da3a9 | mit | codeparrot/github-code | 755b2f5da3a999f675c36c0bd9a71c63f2d8d543335532d3c2ca999962f188fe | 0.85 | testing_debugging_repair_refactoring | 1,325 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using JsonRpc.Net;
using JsonRpc.Net.Transport;
using JsonRpc.TestInterface;
namespace jsonrpc.testclient
{
class Program
{
static void Main(string[] args)
{
var time = DateTime.No... | Mutear/jsonrpc.net | src/tests/jsonrpc.testclient/Program.cs | https://github.com/Mutear/jsonrpc.net/blob/HEAD/src/tests/jsonrpc.testclient/Program.cs | ghcode:00176:3b0ddf309942 | apache-2.0 | codeparrot/github-code | 3b0ddf30994256c53bdfb3f24680fb86169a01cfc14a0069c798d0b4ef686626 | 0.85 | testing_debugging_repair_refactoring | 300 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using g3;
namespace geometry3Test
{
public static class test_Polygon
{
public static void test_chamfer()
{
//Polygon2d poly = Polygon2d.MakeRectangle(Vector2d.Zero, 200, 200);
//if (poly.IsClockwise)
... | gradientspace/geometry3SharpDemos | geometry3Test/test_Polygon.cs | https://github.com/gradientspace/geometry3SharpDemos/blob/HEAD/geometry3Test/test_Polygon.cs | ghcode:00176:148cafd0f70a | apache-2.0 | codeparrot/github-code | 148cafd0f70afed569c8a3d58f15aa3a23f3c5a25186d03c186dc183e30277a7 | 0.85 | testing_debugging_repair_refactoring | 3,155 | false | 2026-07-17 |
/*
| Version 10.1.84
| Copyright 2013 Esri
|
| 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 o... | Esri/route-planner-csharp | RoutePlanner_DeveloperTools/Source/ArcLogistics/CustomEnumParser.cs | https://github.com/Esri/route-planner-csharp/blob/HEAD/RoutePlanner_DeveloperTools/Source/ArcLogistics/CustomEnumParser.cs | ghcode:00176:7620bb9121e8 | apache-2.0 | codeparrot/github-code | 7620bb9121e809229809f83585d6eacda4cd287bba1b470c99ba44bc4914f281 | 0.7 | testing_debugging_repair_refactoring | 1,604 | false | 2026-07-17 |
//-------------------------------------------------------------------------------
// <copyright file="TxtRprt.cs" company="bbv Software Services AG">
// Copyright (c) 2013
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// ... | bbvch/sensorlegacy | source/SensorLegacy/Reports/TxtRprt.cs | https://github.com/bbvch/sensorlegacy/blob/HEAD/source/SensorLegacy/Reports/TxtRprt.cs | ghcode:00176:786244f5a75c | apache-2.0 | codeparrot/github-code | 786244f5a75c85277b33944354b23e1b8c59cbe346adc0b97384ee4ef2a2687d | 0.7 | testing_debugging_repair_refactoring | 919 | 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.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Reflectio... | orthoxerox/roslyn | src/Compilers/Core/Portable/PEWriter/PeWriter.cs | https://github.com/orthoxerox/roslyn/blob/HEAD/src/Compilers/Core/Portable/PEWriter/PeWriter.cs | ghcode:00176:a3e44e95a521 | apache-2.0 | codeparrot/github-code | a3e44e95a5217b63a96da83969ec440dfbc40b4a29b8987ccb6d61ec4a5aaab0 | 0.85 | testing_debugging_repair_refactoring | 2,925 | false | 2026-07-17 |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.SharePoint.Client;
using Microsoft.SharePoint.Client.Publishing;
namespace OfficeDevPnP.Core.Tests.AppModelExtensions
{
[TestClass]
public class PageExtensionsTests
{
private string folder = "SitePages";
priv... | aaclage/PnP | OfficeDevPnP.Core/OfficeDevPnP.Core.Tests/AppModelExtensions/PageExtensionsTests.cs | https://github.com/aaclage/PnP/blob/HEAD/OfficeDevPnP.Core/OfficeDevPnP.Core.Tests/AppModelExtensions/PageExtensionsTests.cs | ghcode:00176:225b8f56a5e5 | apache-2.0 | codeparrot/github-code | 225b8f56a5e57e8cd303f5aef596c765b4c9d2fa159ffba7a41760eec4c8ca6f | 0.75 | testing_debugging_repair_refactoring | 930 | false | 2026-07-17 |
using CIAPI.RecordedTests.Infrastructure;
using NUnit.Framework;
using Salient.ReliableHttpClient;
namespace CIAPI.RecordedTests
{
[TestFixture, MocumentModeOverride(MocumentMode.Play)]
public class NewsFixture : CIAPIRecordingFixtureBase
{
[Test(Description = "This test duplicates issue http://faq... | cityindex-attic/CIAPI.CS | src/CIAPI.Tests/Tests/NewsFixture.cs | https://github.com/cityindex-attic/CIAPI.CS/blob/HEAD/src/CIAPI.Tests/Tests/NewsFixture.cs | ghcode:00176:5729e2813bca | apache-2.0 | codeparrot/github-code | 5729e2813bca90bb2c2f4e854d4fc8878ee85fb99b61c9f1fa5e10f53c8ba3ac | 0.95 | testing_debugging_repair_refactoring | 515 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using NUnit.Framework;
using MonoGame.Tests.Components;
namespace MonoGame.Tests.Visual {
class ViewportTest : VisualTestFixtureBase {
[Test]
public void... | jonathanpeppers/MonoGameOrientation | MonoGame/Test/Framework/Visual/ViewportTest.cs | https://github.com/jonathanpeppers/MonoGameOrientation/blob/HEAD/MonoGame/Test/Framework/Visual/ViewportTest.cs | ghcode:00176:fc5a027f5686 | apache-2.0 | codeparrot/github-code | fc5a027f568645715d4eb3ef815347b349b42ccccdb2954aaa43c87fc051442e | 0.85 | testing_debugging_repair_refactoring | 618 | false | 2026-07-17 |
#if !NETCOREAPP1_1
using System;
using System.IO;
using FluentAssertions;
using JetBrains.Annotations;
using TestableFileSystem.Fakes.Builders;
using TestableFileSystem.Fakes.Tests.TestAttributes;
using Xunit;
namespace TestableFileSystem.Fakes.Tests.Specs.FakeWatcher.NotifyFilter
{
public sealed class NotifyDire... | bkoelman/TestableFileSystem | src/Fakes.Tests/Specs/FakeWatcher/NotifyFilter/NotifyDirectoryCreateSpecs.cs | https://github.com/bkoelman/TestableFileSystem/blob/HEAD/src/Fakes.Tests/Specs/FakeWatcher/NotifyFilter/NotifyDirectoryCreateSpecs.cs | ghcode:00176:3b78a4a4d90a | apache-2.0 | codeparrot/github-code | 3b78a4a4d90a8febd46ca3e0d1d9ab9d6683e47fd9613b09269fe708ff95da07 | 0.85 | testing_debugging_repair_refactoring | 983 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
using Couchbase.Core;
using Couchbase.Linq.Execution;
using Couchbase.Linq.Extensions;
using Couchbase.Linq.UnitTests.Documents;
using Moq;
using NUni... | couchbaselabs/Linq2Couchbase | Src/Couchbase.Linq.UnitTests/QueryGeneration/NestTests.cs | https://github.com/couchbaselabs/Linq2Couchbase/blob/HEAD/Src/Couchbase.Linq.UnitTests/QueryGeneration/NestTests.cs | ghcode:00176:efae06c634c1 | apache-2.0 | codeparrot/github-code | efae06c634c1dfec605a660eb0a36b4f4a6b7f78c87b1dbb1f06b116dde58fe9 | 0.75 | testing_debugging_repair_refactoring | 4,569 | false | 2026-07-17 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Xunit;
namespace OpenTelemetry.Exporter.AzureMonitor.ConnectionString
{
public class ConnectionStringParserTests
{
[Fact]
public void TestInstrumentationKey_IsRequired()
... | markcowl/azure-sdk-for-net | sdk/monitor/OpenTelemetry.Exporter.AzureMonitor/tests/OpenTelemetry.Exporter.AzureMonitor.UnitTest/ConnectionString/ConnectionStringParserTests.cs | https://github.com/markcowl/azure-sdk-for-net/blob/HEAD/sdk/monitor/OpenTelemetry.Exporter.AzureMonitor/tests/OpenTelemetry.Exporter.AzureMonitor.UnitTest/ConnectionString/ConnectionStringParserTests.cs | ghcode:00176:920ba7bd9c05 | apache-2.0 | codeparrot/github-code | 920ba7bd9c05e041c96c392a62091b3f9485a4d40835a608fcec794cfcff5cb2 | 0.95 | testing_debugging_repair_refactoring | 1,789 | false | 2026-07-17 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace WebAddressbookTests
{
public class TestBase
{
public static bool PERFORM_LONG_UI_CHECKS = true;
protected ApplicationManager app;
[SetU... | zaslavskayaeg/csharp_training | address-book-web-tests/address-book-web-tests/tests/TestBase.cs | https://github.com/zaslavskayaeg/csharp_training/blob/HEAD/address-book-web-tests/address-book-web-tests/tests/TestBase.cs | ghcode:00176:f6807ab8fa80 | apache-2.0 | codeparrot/github-code | f6807ab8fa802dd978a0a63ea3af2dd9f3269ddbd54c9588550fc8c2c6b791d3 | 0.85 | testing_debugging_repair_refactoring | 177 | false | 2026-07-17 |
/*
* Copyright 2012-2021 The Pkcs11Interop Project
*
* 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 app... | Pkcs11Interop/Pkcs11Interop | src/Pkcs11Interop.Tests/LowLevelAPI80/_27_LegacyParallelFunctionsTest.cs | https://github.com/Pkcs11Interop/Pkcs11Interop/blob/HEAD/src/Pkcs11Interop.Tests/LowLevelAPI80/_27_LegacyParallelFunctionsTest.cs | ghcode:00176:ab4a3ac8421d | apache-2.0 | codeparrot/github-code | ab4a3ac8421d1a0375c5dadf4933672e206ab9b83d3a760a2e9dd68b45f7ceba | 0.7 | testing_debugging_repair_refactoring | 989 | false | 2026-07-17 |
// <copyright file="BingTestsClassicObserver.cs" company="Automate The Planet Ltd.">
// Copyright 2021 Automate The Planet Ltd.
// Licensed under the Apache License, Version 2.0 (the "License");
// You may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.ap... | angelovstanton/AutomateThePlanet | dotnet/Design-Architecture-Series/ObserverDesignPatternClassicImplementation/BingTestsClassicObserver.cs | https://github.com/angelovstanton/AutomateThePlanet/blob/HEAD/dotnet/Design-Architecture-Series/ObserverDesignPatternClassicImplementation/BingTestsClassicObserver.cs | ghcode:00176:5c8144f4e271 | apache-2.0 | codeparrot/github-code | 5c8144f4e271caa50e84fc951fda3adedadea62ef70f5ed05857580da8eb4f8c | 0.85 | testing_debugging_repair_refactoring | 316 | false | 2026-07-17 |
// Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.AdventOfCode.Puzzles.Y2021;
/// <summary>
/// A class containing tests for the <see cref="Day02"/> class. This class c... | martincostello/adventofcode | tests/AdventOfCode.Tests/Puzzles/Y2021/Day02Tests.cs | https://github.com/martincostello/adventofcode/blob/HEAD/tests/AdventOfCode.Tests/Puzzles/Y2021/Day02Tests.cs | ghcode:00176:162f6175770b | apache-2.0 | codeparrot/github-code | 162f6175770b20872a750e61de528d95dccc9fb1b477f1a586943fecbd4472ef | 0.85 | testing_debugging_repair_refactoring | 403 | false | 2026-07-17 |
/*
* Copyright (c) 2021 Snowplow Analytics Ltd. All rights reserved.
* This program is licensed to you under the Apache License Version 2.0,
* and you may not use this file except in compliance with the Apache License
* Version 2.0. You may obtain a copy of the Apache License Version 2.0 at
* http://www.apache.or... | snowplow/snowplow-dotnet-tracker | Snowplow.Tracker.Tests/Queues/InMemoryBlockingQueueTest.cs | https://github.com/snowplow/snowplow-dotnet-tracker/blob/HEAD/Snowplow.Tracker.Tests/Queues/InMemoryBlockingQueueTest.cs | ghcode:00176:bae5e4334af9 | apache-2.0 | codeparrot/github-code | bae5e4334af99d8d5d17136f5bf9446bc7af65bdcb142c6fdc767b47f49b7d07 | 0.7 | testing_debugging_repair_refactoring | 1,159 | false | 2026-07-17 |
// Copyright 2021 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | GoogleCloudPlatform/dotnet-docs-samples | storage/api/Storage.Samples.Tests/CopyFileArchivedGenerationTest.cs | https://github.com/GoogleCloudPlatform/dotnet-docs-samples/blob/HEAD/storage/api/Storage.Samples.Tests/CopyFileArchivedGenerationTest.cs | ghcode:00176:e6b6b70ec46a | apache-2.0 | codeparrot/github-code | e6b6b70ec46a1370548aa23bc61406c30a0221317d2c75f6fa02f4724856a863 | 0.85 | testing_debugging_repair_refactoring | 704 | false | 2026-07-17 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.