commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
89ea139ae574ace323da3291a82e4ba19ad00116 | src/AsmResolver.DotNet/KnownRuntimeNames.cs | src/AsmResolver.DotNet/KnownRuntimeNames.cs | namespace AsmResolver.DotNet
{
/// <summary>
/// Provides strings of known runtime names used in .NET Core, .NET 5.0 and later.
/// </summary>
public static class KnownRuntimeNames
{
/// <summary>
/// Indicates an application targeting the default .NET Core runtime.
/// </sum... | Add known runtime names for .NET core. | Add known runtime names for .NET core.
| C# | mit | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver | |
657f8306e5617cac095096f26652c82353ec2c34 | src/Marten.Testing/Schema/add_origin_Tests.cs | src/Marten.Testing/Schema/add_origin_Tests.cs | using Marten.Testing.Documents;
using Marten.Util;
using Xunit;
namespace Marten.Testing.Schema
{
public class add_origin_Tests
{
[Fact]
public void origin_is_added_to_tables()
{
var user1 = new User { FirstName = "Jeremy" };
var user2 = new User { FirstNam... | Add missing test for PG object metadata | Add missing test for PG object metadata
| C# | mit | jokokko/marten,jmbledsoe/marten,jokokko/marten,jokokko/marten,jmbledsoe/marten,mysticmind/marten,tim-cools/Marten,tim-cools/Marten,jokokko/marten,ericgreenmix/marten,jmbledsoe/marten,JasperFx/Marten,jamesfarrer/marten,mysticmind/marten,ericgreenmix/marten,jamesfarrer/marten,ericgreenmix/marten,tim-cools/Marten,ericgree... | |
be27ba2497f9b6d59036f5bbd41a528eaf459a1c | Hudl.Ffmpeg/Settings/ThreadQueueSize.cs | Hudl.Ffmpeg/Settings/ThreadQueueSize.cs | using Hudl.FFmpeg.Attributes;
using Hudl.FFmpeg.Enums;
using Hudl.FFmpeg.Resources.BaseTypes;
using Hudl.FFmpeg.Settings.Attributes;
using Hudl.FFmpeg.Settings.Interfaces;
namespace Hudl.FFmpeg.Settings
{
/// <summary>
/// This option sets the maximum number of queued packets when reading from the file or... | Add Thread Queue Size Setting | Add Thread Queue Size Setting
| C# | apache-2.0 | hudl/HudlFfmpeg | |
e6157c526645fd5e0dee8056e6fdb1c0e9e2bbf2 | osu.Framework/Graphics/Shaders/ShadedDrawable.cs | osu.Framework/Graphics/Shaders/ShadedDrawable.cs | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics.OpenGL.Textures;
using osu.Framework.Graphics.Textures;
namespace osu.Framework.Graphics.Shaders
{
public class Shad... | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics.OpenGL.Textures;
using osu.Framework.Graphics.Textures;
namespace osu.Framework.Graphics.Shaders
{
public class Shad... | Fix nullref in IPC test. | Fix nullref in IPC test.
| C# | mit | ppy/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,paparony03/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,default0/osu-framework,naoey/osu-framework,Tom94/osu-framework,peppy/osu-framework,default0/osu-framework,EVAST9919/osu-framework,ZLima12/osu-fram... |
c53893334a0659da858df51ee8cbdc2105b5b712 | food_tracker/Repository/NutritionRepository.cs | food_tracker/Repository/NutritionRepository.cs | using System.Collections.Generic;
using System.Linq;
namespace food_tracker.Repository {
public class NutritionRepository {
private readonly IMyEntitiesContext _db = null;
public NutritionRepository(IMyEntitiesContext db) {
_db = db;
}
public WholeDay GetDay(string i... | Move database interactions into repository. This contains the actions for both days and items. | Move database interactions into repository. This contains the actions for both days and items.
| C# | mit | lukecahill/NutritionTracker | |
e62fad27dedaecbf9df29ae24fdcbe5245c6b10f | src/VisualStudio/Core/Def/ExternalAccess/ProjectSystem/Api/IProjectSystemReferenceCleanupService.cs | src/VisualStudio/Core/Def/ExternalAccess/ProjectSystem/Api/IProjectSystemReferenceCleanupService.cs | // 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.Immutable;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.Visu... | // 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.Immutable;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.Visu... | Remove TFM requirement from API | Remove TFM requirement from API
| C# | mit | dotnet/roslyn,physhi/roslyn,wvdd007/roslyn,ErikSchierboom/roslyn,AlekseyTs/roslyn,shyamnamboodiripad/roslyn,AmadeusW/roslyn,sharwell/roslyn,tmat/roslyn,weltkante/roslyn,mgoertz-msft/roslyn,mgoertz-msft/roslyn,diryboy/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,dotnet/roslyn,mgoertz-msft/roslyn,mavasani/roslyn,panoptic... |
d3987e4853bc6f1523224638f3f1ef170f052fa6 | src/Appium/Interfaces/IFindByAccessibilityId.cs | src/Appium/Interfaces/IFindByAccessibilityId.cs | using System.Collections.ObjectModel;
namespace OpenQA.Selenium.Appium.Interfaces
{
internal interface IFindByAccessibilityId
{
/// <summary>
/// Finds the first of elements that match the Accessibility Id selector supplied
/// </summary>
/// <param name="selector">an Accessibi... | Fix FindByAccessibilityId bug where you were not to find a subelement of an element in a dom | Fix FindByAccessibilityId bug where you were not to find a subelement of an element in a dom
| C# | apache-2.0 | Astro03/appium-dotnet-driver,appium/appium-dotnet-driver,rajfidel/appium-dotnet-driver,rajfidel/appium-dotnet-driver,suryarend/appium-dotnet-driver,Brillio/appium-dotnet-driver | |
a0138af362be2f4640ccb326f715dc1dd1ae3760 | src/Umbraco.Abstractions/Composing/Current.cs | src/Umbraco.Abstractions/Composing/Current.cs | using System;
using Umbraco.Core.Logging;
namespace Umbraco.Core.Composing
{
/// <summary>
/// Provides a static service locator for most singletons.
/// </summary>
/// <remarks>
/// <para>This class is initialized with the container in UmbracoApplicationBase,
/// right after the container is ... | Move a small part of current | Move a small part of current
| C# | mit | dawoe/Umbraco-CMS,umbraco/Umbraco-CMS,KevinJump/Umbraco-CMS,dawoe/Umbraco-CMS,abjerner/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,arknu/Umbraco-CMS,abryukhov/Umbraco-CMS,umbraco/Umbraco-CMS,arknu/Umbraco-CMS,abjerner/Umbraco-CMS,KevinJump/Umbraco-CMS,marcemarc/Umbraco-CMS,abjerner/Umbraco-CMS,dawoe/Umbraco-CMS,arknu/Umb... | |
a41109055db0426b7569a4a3c91d70c83b4dbb2e | Csp/Integer/MetaExpressionInteger.cs | Csp/Integer/MetaExpressionInteger.cs | /*
Copyright © Iain McDonald 2010-2019
This file is part of Decider.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using Decider.Csp.BaseTypes;
namespace Decider.Csp.Integer
{
public class MetaExpressionInteger : ExpressionInteger, IMetaExpression<int>
{
private read... | Fix Windows file format issues | Fix Windows file format issues | C# | mit | lifebeyondfife/Decider | |
3d71d737bda28b4f9fededd1647c0cbd6877e563 | test/Host.UnitTests/Conversion/HtmlTemplateProviderTests.cs | test/Host.UnitTests/Conversion/HtmlTemplateProviderTests.cs | namespace Host.UnitTests.Conversion
{
using Crest.Host.Conversion;
using NUnit.Framework;
[TestFixture]
public sealed class HtmlTemplateProviderTests
{
[Test]
public void ContentLocationShouldReturnTheLocationAfterTheBodyTag()
{
var provider = new HtmlTemplatePr... | Add unit tests for HtmlTemplatePrivider | Add unit tests for HtmlTemplatePrivider
| C# | mit | samcragg/Crest,samcragg/Crest,samcragg/Crest | |
a457054a9771e1ca736319f770baa6af9d4e030b | Bot/Helpers/GraphHelper.cs | Bot/Helpers/GraphHelper.cs | using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
namespace SampleAADV2Bot.Helpers
{
public class MeetingRoom
{
public string DisplayName { get; set; }
public string LocationEmai... | Add Microsoft Graph API calls | Add Microsoft Graph API calls
| C# | mit | ThessalonikiNet-MeetUp/NoiseDetectionBot,ThessalonikiNet-MeetUp/NoiseDetectionBot | |
e975a5a11f01436133d3fc23a77c3bdf9fc24863 | src/Interactive/HostTest/InteractiveHostCoreTests.cs | src/Interactive/HostTest/InteractiveHostCoreTests.cs | // 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.
extern alias InteractiveHost;
using System;
using System.Diagnostics;
using System.Globalization;
using System.IO;... | Add StackOverflow InteractiveWindow test for .NET Core | Add StackOverflow InteractiveWindow test for .NET Core
| C# | mit | wvdd007/roslyn,mgoertz-msft/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,tmat/roslyn,diryboy/roslyn,panopticoncentral/roslyn,AmadeusW/roslyn,ErikSchierboom/roslyn,dotnet/roslyn,wvdd007/roslyn,jasonmalinowski/roslyn,tannergooding/roslyn,mavasani/roslyn,panopticoncentral/roslyn,wvdd007/roslyn,do... | |
6476533d76d754854265bb315ce4d415b945073c | AudioController/Assets/Source/ObjectPool.cs | AudioController/Assets/Source/ObjectPool.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectPool : MonoBehaviour
{
[SerializeField]
private GameObject _prefab;
private Stack<GameObject> _pool;
public GameObject GetGameObject()
{
if (_pool != null)
{
if (_pool.Co... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ObjectPool : MonoBehaviour
{
[SerializeField]
private GameObject _prefab;
private Stack<GameObject> _pool;
public GameObject prefab
{
set {
_prefab = value;
}
}
//TODO... | Change prefab for different categories. | Change prefab for different categories.
| C# | mit | dimixar/audio-controller-unity |
78b30a076f8a0a8e8cb6caba99f34c8f5e0d3579 | osu.Game.Rulesets.Mania.Tests/TestScenePlayer.cs | osu.Game.Rulesets.Mania.Tests/TestScenePlayer.cs | // 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 osu.Game.Tests.Visual;
namespace osu.Game.Rulesets.Mania.Tests
{
public class TestScenePlayer : PlayerTestScene
{
public TestScenePlayer()
... | Add mania player test scene | Add mania player test scene
| C# | mit | UselessToucan/osu,EVAST9919/osu,ppy/osu,NeoAdonis/osu,EVAST9919/osu,peppy/osu,peppy/osu,peppy/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,johnneijzen/osu,UselessToucan/osu,2yangk23/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,johnneijzen/osu,smoogipoo/osu | |
fc3d0715d8eddbdaef3f7d0d32f97fd7868af30b | Docs/Code/Example_wiki.cs | Docs/Code/Example_wiki.cs | using System;
using EOpt.Math.Optimization;
using EOpt.Math;
namespace Test
{
class Program
{
static void Main(string[] args)
{
Func<double[], double> func = (x) => 20 + (x[0] * x[0] - 10 * Math.Cos(2 * Math.PI * x[0])) +
(x[1] * x[1] - 10 * Math.Cos(2 * Math.PI * ... | Add code example for wiki. | Add code example for wiki.
| C# | mit | KernelA/EOptimization-library | |
166e61777babcff586a7798343b6b3edc1d5e7d6 | Algorithms/Strings/Search/LongestCommonPattern.cs | Algorithms/Strings/Search/LongestCommonPattern.cs | using System;
using Algorithms.Sorting;
namespace Algorithms.Strings.Search
{
public class LongestCommonPattern
{
public String Find(String s1, String s2)
{
int N = s1.Length;
String[] a = new String[N];
for (var i = 0; i < N; ++i)
{
... | Implement the longest common pattern | Implement the longest common pattern
| C# | mit | cschen1205/cs-algorithms,cschen1205/cs-algorithms | |
67d08a3eeee036fc94fca611e4986efa3002c372 | osu.Game.Tests/Visual/UserInterface/TestSceneOsuFont.cs | osu.Game.Tests/Visual/UserInterface/TestSceneOsuFont.cs | // 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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.G... | Add test scene for previewing Torus alternates | Add test scene for previewing Torus alternates
| C# | mit | NeoAdonis/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipooo/osu,ppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipoo/osu,peppy/osu-new | |
c9a9d669c07088256c182168c6962aa447e22cfc | Cadence/LoadCadenceNetGroups.cs | Cadence/LoadCadenceNetGroups.cs | //Synchronous template
//-----------------------------------------------------------------------------------
// PCB-Investigator Automation Script
// Created on 29.06.2016
// Autor Guenther
//
// Empty template to fill for synchronous script.
//-------------------------------------------------------------------... | Load cadence constraint file to PCB-Investigator | Load cadence constraint file to PCB-Investigator | C# | bsd-3-clause | sts-CAD-Software/PCB-Investigator-Scripts | |
8c08173c76cbd75daf840246b7c69fdbdb7ff87a | Fody/WeaverProjectFileFinder.cs | Fody/WeaverProjectFileFinder.cs | using System;
using System.IO;
using System.Linq;
public partial class Processor
{
public string WeaverAssemblyPath;
public bool FoundWeaverProjectFile;
public virtual void FindWeaverProjectFile()
{
GetValue();
if (WeaverAssemblyPath == null)
{
Logger.LogDebug("No W... | using System;
using System.IO;
using System.Linq;
public partial class Processor
{
public string WeaverAssemblyPath;
public bool FoundWeaverProjectFile;
public virtual void FindWeaverProjectFile()
{
GetValue();
if (WeaverAssemblyPath == null)
{
Logger.LogDebug("No W... | Fix weaver project search path in Linux | Fix weaver project search path in Linux
| C# | mit | jasonholloway/Fody,huoxudong125/Fody,furesoft/Fody,ColinDabritzViewpoint/Fody,distantcam/Fody,GeertvanHorrik/Fody,Fody/Fody |
9661538787aa57a6322a970fc3ee9cadb993fbb6 | Interfaces/IPlayerAnimator.cs | Interfaces/IPlayerAnimator.cs |
public interface IPlayerAnimator
{
void PlayIdleAnimation();
void PlayRunAnimation();
void PlayJumpAnimation();
void PlayAttackAnimation();
void PlayRunAttackAnimation();
void PlayJumpAttackAnimation();
bool ExitTimeReached();
} | Add interface for main character animations | Add interface for main character animations
| C# | mit | cmilr/Unity2D-Components,jguarShark/Unity2D-Components | |
949a7d312525c49c54d19e77548d4e1a9ed2d0fa | osu.Framework.Tests/Visual/Testing/TestSceneTestingExtensions.cs | osu.Framework.Tests/Visual/Testing/TestSceneTestingExtensions.cs | // 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.Linq;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework... | Test matching composite type handling | Test matching composite type handling
| C# | mit | peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework | |
6a66d0649a8fd765d5b19247ad34dbbf1f5103a8 | Novak.Andriy/parallel-extension-demo/XMLSerilizer.cs | Novak.Andriy/parallel-extension-demo/XMLSerilizer.cs | using System;
using System.IO;
using System.Runtime.Serialization;
using System.Xml.Serialization;
namespace parallel_extension_demo
{
public static class XSerializer
{
public static void XSerilizer<T>(T obj, string fileName)
{
try
{
if (obj == null) ret... | Add static class for Serialize | Add static class for Serialize
| C# | cc0-1.0 | 23S163PR/system-programming | |
06ce02288b41087cf57c3693fcaba86be54ad958 | CSharp/Dynamic/DataReaderExtensions.cs | CSharp/Dynamic/DataReaderExtensions.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="DataReaderExtensions.cs" company="Bosbec AB">
// Copyright © Bosbec AB 2014
// </copyright>
// <summary>
// Defines extension methods for data readers.
// </summary>
// -------... | Create a case insensitive expando object | Create a case insensitive expando object
Created an expando object that replicates the behaviour of the built in
System.Dynamic.ExpandoObject in .NET but without the case sensitivity issues
System.Dynamic.ExpandoObject has.
| C# | mit | bosbec/gists | |
f4d462eb5d970ccfc6213a9b915dd6c8c518ca9c | OpenSim/Region/Framework/Interfaces/IBakedTextureModule.cs | OpenSim/Region/Framework/Interfaces/IBakedTextureModule.cs | ////////////////////////////////////////////////////////////////
//
// (c) 2009, 2010 Careminster Limited and Melanie Thielker
//
// All rights reserved
//
using System;
using Nini.Config;
using OpenSim.Framework;
using OpenMetaverse;
namespace OpenSim.Services.Interfaces
{
public interface IBakedTextureModule
... | ////////////////////////////////////////////////////////////////
//
// (c) 2009, 2010 Careminster Limited and Melanie Thielker
//
// All rights reserved
//
using System;
using Nini.Config;
using OpenSim.Framework;
using OpenMetaverse;
namespace OpenSim.Services.Interfaces
{
public interface IBakedTextureModule
... | Add a new baked texure module methid to support baked texturing mesh avatars | Add a new baked texure module methid to support baked texturing mesh avatars
| C# | bsd-3-clause | TomDataworks/opensim,TomDataworks/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,TomDataworks/opensim,RavenB/opensim,TomDataworks/opensim,TomDataworks/opensim,RavenB/opensim,TomDataworks/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,TomDataworks/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,RavenB/opensim,EriHoss/OpenSim_0... |
935581fce2c84751b4050750cb4acb4011768f54 | src/MSBuild.Version.Tasks.Tests/GitVersionFileTest.cs | src/MSBuild.Version.Tasks.Tests/GitVersionFileTest.cs | using System;
using System.IO;
using Ionic.Zip;
using NUnit.Framework;
namespace MSBuild.Version.Tasks.Tests
{
[TestFixture]
public class GitVersionFileTest
{
[SetUp]
public void SetUp()
{
// extract the repositories in the 'Git.zip' file into the 'temp' folder
... | Add first attempt of the Git unit tests | Add first attempt of the Git unit tests
| C# | mit | martinbuberl/VersionTasks,jshall/VersionTasks | |
36e944c3438159e21a0b98cf3bf9dfac63caa0dc | src/DotNetCore.CAP/Diagnostics/TracingHeaders.cs | src/DotNetCore.CAP/Diagnostics/TracingHeaders.cs | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace DotNetCore.CAP.Diagnostics
{
public class TracingHeaders : IEnumerabl... | Add tracingheader for support Diagnostics | Add tracingheader for support Diagnostics
| C# | mit | dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP | |
8f944a6f62fd9fd04a1cdfffeaafb6d5f2ab7c5d | src/System.ServiceModel.Security/tests/ServiceModel/SecurityKeyEntropyModeTest.cs | src/System.ServiceModel.Security/tests/ServiceModel/SecurityKeyEntropyModeTest.cs | // 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.ServiceModel.Security;
using Infrastructure.Common;
using Xunit;
public static class SecurityKeyEntr... | Add unit test for SecurityKeyEntropyMode. | Add unit test for SecurityKeyEntropyMode.
| C# | mit | mconnew/wcf,dotnet/wcf,dotnet/wcf,mconnew/wcf,StephenBonikowsky/wcf,mconnew/wcf,imcarolwang/wcf,StephenBonikowsky/wcf,imcarolwang/wcf,imcarolwang/wcf,dotnet/wcf | |
0b8ca667a94c5c5d962bbd66726e464deca21422 | osu.Game.Tournament.Tests/NonVisual/DataLoadTest.cs | osu.Game.Tournament.Tests/NonVisual/DataLoadTest.cs | // 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.IO;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Platform;
using osu.Game.Rulesets;
using osu.Game.Tests;
namespace osu.Game.T... | Add failing test coverage of loading with an unavailable ruleset | Add failing test coverage of loading with an unavailable ruleset
| C# | mit | NeoAdonis/osu,ppy/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,smoogipooo/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu | |
d3bb4ddbee09ebcab963add6fcce38945d01b99f | osu.Game/Tests/Visual/DependencyProvidingContainer.cs | osu.Game/Tests/Visual/DependencyProvidingContainer.cs | // 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.Linq;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Tests.Visual
{
/// <summary>
/// A <... | Add an ad-hoc way to provide dependency to children | Add an ad-hoc way to provide dependency to children
| C# | mit | peppy/osu,peppy/osu-new,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu | |
ea132b40ff48eb15660b417b32c55f97341c850b | resharper/resharper-unity/src/AsmDefNew/Daemon/AsmDefNewLanguageSpecificDaemonBehavior.cs | resharper/resharper-unity/src/AsmDefNew/Daemon/AsmDefNewLanguageSpecificDaemonBehavior.cs | using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Plugins.Unity.JsonNew.Psi;
using JetBrains.ReSharper.Psi;
namespace JetBrains.ReSharper.Plugins.Unity.AsmDefNew.Daemon
{
[Language(typeof(JsonNewLanguage))]
public class AsmDefNewLanguageSpecificDaemonBehavior: ILanguageSpecificDaemon... | Fix off indicator for json/asmdef file | Fix off indicator for json/asmdef file
| C# | apache-2.0 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | |
400b2a5179a7b4b66994a56016dc0ea568c51b27 | Contentful.Core.Tests/Extensions/JTokenExtensionsTests.cs | Contentful.Core.Tests/Extensions/JTokenExtensionsTests.cs | using Contentful.Core.Extensions;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace Contentful.Core.Tests.Extensions
{
public class JTokenExtensionsTests
{
[Fact]
public void JTokenIsNullShouldReturnTrueForNullValue()
... | Add tests for new extensionmethods | Add tests for new extensionmethods
| C# | mit | contentful/contentful.net | |
146bef7e3d73cab319284fc28d98d7a8fd0ca359 | src/Marten/Util/CollectionToArrayJsonConverter.cs | src/Marten/Util/CollectionToArrayJsonConverter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
namespace Marten.Util
{
/// <summary>
/// Serialize collection type property to JSON array using a custom Newtonsoft.Json JsonConverter
/// Note that without using custom `JsonConverter`, `Newtonsoft.Json` stores it a... | Add collection to array Newtonsoft.Json based JSON converter | Add collection to array Newtonsoft.Json based JSON converter
| C# | mit | JasperFx/Marten,ericgreenmix/marten,JasperFx/Marten,mysticmind/marten,mdissel/Marten,mysticmind/marten,mysticmind/marten,ericgreenmix/marten,JasperFx/Marten,mdissel/Marten,ericgreenmix/marten,ericgreenmix/marten,mysticmind/marten | |
b9e8a99b01d2b0859402ac2d43337e70d9506b93 | src/Common/src/System/Net/Internals/IPAddressExtensions.cs | src/Common/src/System/Net/Internals/IPAddressExtensions.cs | // 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.Diagnostics;
namespace System.Net.Sockets
{
public static class IPAddressExtensions
{
... | // 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.Diagnostics;
namespace System.Net.Sockets
{
internal static class IPAddressExtensions
{
... | Fix visibility of internal extensions type | Fix visibility of internal extensions type
| C# | mit | rjxby/corefx,DnlHarvey/corefx,richlander/corefx,ViktorHofer/corefx,axelheer/corefx,stone-li/corefx,Petermarcu/corefx,seanshpark/corefx,parjong/corefx,yizhang82/corefx,DnlHarvey/corefx,DnlHarvey/corefx,dhoehna/corefx,shimingsg/corefx,the-dwyer/corefx,lggomez/corefx,rjxby/corefx,Ermiar/corefx,axelheer/corefx,DnlHarvey/co... |
fe215e5240c5393d05f2f6c67124e432f9d159b4 | WS-Team-Work/Chat.Services/Views/Chat/Index.cshtml | WS-Team-Work/Chat.Services/Views/Chat/Index.cshtml | <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Michelangelo Web Chat</title>
<link href='http://fonts.googleapis.com/css?family=Yesteryear' rel='stylesheet' type='text/css'/>
<script src="~/Scripts/jquery-2.0.3.js"></script>
<script src="~/Scripts/http-requester.js"></s... | Add Chat View - omitted before | Add Chat View - omitted before
| C# | mit | gparlakov/chat-teamwork,gparlakov/chat-teamwork | |
0a90a8ffebebd2152ed33e8bfff30ccd6de8acdd | tests/Meziantou.Framework.Tests/TemporaryDirectoryTests.cs | tests/Meziantou.Framework.Tests/TemporaryDirectoryTests.cs | using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Meziantou.Framework.Tests
{
public class TemporaryDirectoryTests
{
[Fact]
public void CreateInParallel()
{
const int Iterations = 100;
var dirs = new TemporaryDirectory[Iter... | Add test for temporary directory | Add test for temporary directory
| C# | mit | meziantou/Meziantou.Framework,meziantou/Meziantou.Framework,meziantou/Meziantou.Framework,meziantou/Meziantou.Framework | |
9f0fb6a5d4fa64e15ace810e29ae90b02175db78 | WundergroundClient/Autocomplete/RawAutocompleteResult.cs | WundergroundClient/Autocomplete/RawAutocompleteResult.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
namespace WundergroundClient.Autocomplete
{
[DataContract]
internal class RawAutocompleteResult
{
[DataMember] internal RawResult[] RESULTS;
}
[DataContract]
inter... | Add helper class used to deserialize JSON. | Add helper class used to deserialize JSON.
| C# | mit | jcheng31/WundergroundAutocomplete.NET | |
cabc304399e5eb4bf46fc882c6475c648bfd11a7 | fierce-galaxy/FierceGalaxyInterface/MapModule/IMapManager.cs | fierce-galaxy/FierceGalaxyInterface/MapModule/IMapManager.cs | using System;
using System.Collections.Generic;
namespace FierceGalaxyInterface.MapModule
{
/// <summary>
/// The MapManager load/save the map from/to the disk
/// </summary>
public interface IMapManager
{
IList<String> MapsName { get; }
IReadOnlyMap LoadMap(String mapName... | Add the interface for the map manager | Add the interface for the map manager
| C# | apache-2.0 | arkeine/Fierce-Galaxy,arkeine/Fierce-Galaxy | |
8190f9103c03afc41e7cc08bc887e1c2383026c2 | Tests/EventTargetStressTests.cs | Tests/EventTargetStressTests.cs | using System;
#if NUNIT
using NUnit.Framework;
using TestClassAttribute = NUnit.Framework.TestFixtureAttribute;
using TestMethodAttribute = NUnit.Framework.TestCaseAttribute;
#else
using Microsoft.VisualStudio.TestTools.UnitTesting;
#endif
using Ooui;
using System.Linq;
using System.Threading.Tasks;
using System.Dia... | Add stress test of EventHandler | Add stress test of EventHandler
Fixes #138
| C# | mit | praeclarum/Ooui,praeclarum/Ooui,praeclarum/Ooui | |
f924f3f6256bcafc4b16730e2057e67b1e95ecf2 | src/NUnitTestAdapterTests/FakeTestExecutionRecorder.cs | src/NUnitTestAdapterTests/FakeTestExecutionRecorder.cs | using Microsoft.VisualStudio.TestPlatform.ObjectModel;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
using System;
using System.Collections.Generic;
namespace NUnit.VisualStudio.TestAdapter.Tests
{
class FakeTestExecutionRecorder : IT... | Add file missing in build | Add file missing in build | C# | mit | nunit/nunit3-vs-adapter,nunit/nunit-vs-adapter | |
a6a69e1891276b8483c190d37bded05e68283d5f | tests/unit/Hudl.Mjolnir.Tests/Events/GaugeLogMetricsTests.cs | tests/unit/Hudl.Mjolnir.Tests/Events/GaugeLogMetricsTests.cs | using System;
using Hudl.Mjolnir.Events;
using Hudl.Mjolnir.External;
using Moq;
using Xunit;
namespace Hudl.Mjolnir.Tests.Events
{
public class GaugeLogMetricsTests
{
[Fact]
public void RejectionsLoggedInGaugeCorrectly()
{
var mockLogFactory = new Mock<IMjolnirLogFactory>()... | Add Test to check GaugeLogMetrics log number of Rejections correctly | Add Test to check GaugeLogMetrics log number of Rejections correctly
| C# | apache-2.0 | hudl/Mjolnir | |
faa4fbbbade33b0b5342859bd3cd2550a60f7683 | PA.TileList.Extensions/Extensions/Contextual/Contextual.cs | PA.TileList.Extensions/Extensions/Contextual/Contextual.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PA.TileList.Contextual
{
public class Contextual<T> : IContextual<T>
where T : ICoordinate
{
public int X { get; set; }
public int Y { get; set; }
public T Context { get; private ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PA.TileList.Contextual
{
public class Contextual<T> : Coordinate, IContextual<T>
where T : ICoordinate
{
public T Context { get; private set; }
public Contextual(int x, int y, T context)
... | Define contextual as coordinate subclass | Define contextual as coordinate subclass
| C# | mit | perspicapps/toolbox,tomgrv/pa.toolbox,perspicapps/toolbox |
934a3278fc640e421c607d1e3f057f877d069e66 | src/SampSharp.GameMode/SAMP/Commands/IPermissionChecker.cs | src/SampSharp.GameMode/SAMP/Commands/IPermissionChecker.cs | using System;
using SampSharp.GameMode.World;
namespace SampSharp.GameMode.SAMP.Commands
{
/// <summary>
/// A Permission checker is used to check if a player
/// is allowed to use a specific command.
///
/// Every class that implement this interface
/// should create paramete... | using System;
using SampSharp.GameMode.World;
namespace SampSharp.GameMode.SAMP.Commands
{
/// <summary>
/// A Permission checker is used to check if a player
/// is allowed to use a specific command.
///
/// Every class that implement this interface
/// should have a paramete... | Fix typo in the documentation | Fix typo in the documentation | C# | apache-2.0 | rrev/SampSharp,rrev/SampSharp,rrev/SampSharp,Seprum/SampSharp,Seprum/SampSharp,ikkentim/SampSharp,ikkentim/SampSharp,Seprum/SampSharp,Seprum/SampSharp,ikkentim/SampSharp |
b3d727b6318e2c9cfe13c063ebf7271ee96e14d4 | src/Razor/Microsoft.CodeAnalysis.Razor/src/FilePathComparison.cs | src/Razor/Microsoft.CodeAnalysis.Razor/src/FilePathComparison.cs | // Copyright (c) .NET Foundation. 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.Runtime.InteropServices;
namespace Microsoft.CodeAnalysis.Razor
{
internal static class FilePathComparison
{
... | Enable IntelliSense for new component parameters. | Enable IntelliSense for new component parameters.
- Added a `FilePathComparison` object since not all string methods allow a comparer.
- Updated `RazorDirectiveCompletionProvider` to also understand `.razor` files. This is an edge case scenario where users have disabled modern completion and are using Razor components... | C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | |
5043b930c42b938c61b4d06a5dd037bd9f02ec13 | src/Compilers/CSharp/Test/Emit/Emit/CovariantReturnTests.cs | src/Compilers/CSharp/Test/Emit/Emit/CovariantReturnTests.cs | // 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 Roslyn.Test.Utilities;
using System;
using System.Text;
using Xunit;
using Microsoft.CodeAnalysis.Test.Utilit... | Check in simple end-to-end test for covariant returns. | Check in simple end-to-end test for covariant returns.
| C# | mit | weltkante/roslyn,gafter/roslyn,jmarolf/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,mgoertz-msft/roslyn,tannergooding/roslyn,aelij/roslyn,stephentoub/roslyn,KirillOsenkov/roslyn,shyamnamboodiripad/roslyn,ErikSchierboom/roslyn,brettfo/roslyn,KevinRansom/roslyn,wvdd007/roslyn,KevinRansom/roslyn,dotnet/roslyn,panopticon... | |
1d0c1bacd6d2a6fc847ef664bafcada25a95bfa4 | src/backend/SO115App.Models/Classi/Condivise/LogException.cs | src/backend/SO115App.Models/Classi/Condivise/LogException.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace SO115App.Models.Classi.Condivise
{
public class LogException
{
public DateTime DataOraEsecuzione { get; set; }
public string Servizio { get; set; }
public string Content { get; set; }
public string Res... | Add gestione eccezioni servizi esterni | Add gestione eccezioni servizi esterni
| C# | agpl-3.0 | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | |
f4b48e1f5cc440e9b33ff23ccc9f554f459ae5c7 | test/Peddler.Tests/UnableToGenerateValueExceptionTests.cs | test/Peddler.Tests/UnableToGenerateValueExceptionTests.cs | using System;
using Xunit;
namespace Peddler {
public class UnableToGenerateValueExceptionTests {
[Fact]
public void WithDefaults() {
// Act
var exception = Throw<UnableToGenerateValueException>(
() => { throw new UnableToGenerateValueException(); }
... | Add missing test coverage over UnableToGenerateValueException | Add missing test coverage over UnableToGenerateValueException
| C# | mit | invio/Peddler,invio/Peddler | |
9601cb699a05f40720c7c82e2132446c5e1856cf | Schedutalk/Schedutalk/Schedutalk/Logic/KTHPlaces/KTHPlacesDataFetcher.cs | Schedutalk/Schedutalk/Schedutalk/Logic/KTHPlaces/KTHPlacesDataFetcher.cs | using Newtonsoft.Json;
using Org.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Schedut... | Implement KTH API data fetcher | Implement KTH API data fetcher
| C# | mit | Zalodu/Schedutalk,Zalodu/Schedutalk | |
e2d8a84930d95381999031fbc3e948075dfcc6c2 | tests/NetCoreCqrsEsSample.Tests/Domain/AggregateTests.cs | tests/NetCoreCqrsEsSample.Tests/Domain/AggregateTests.cs | using FluentAssertions;
using NetCoreCqrsEsSample.Domain.Models;
using Xunit;
namespace NetCoreCqrsEsSample.Tests.Domain
{
public class AggregateTests
{
[Fact]
public void Should_load_aggregate_from_events_correctly()
{
// arrange
var counter = new Counter();
... | Add tests for restoring the aggregate from events | Add tests for restoring the aggregate from events
| C# | mit | optimusway/NetCoreCqrsEsSample,optimusway/NetCoreCqrsEsSample | |
ab1a1a1df4da3504a215b4acd22e39e88dca3b60 | osu.Game.Rulesets.Osu.Tests/Editor/TestSliderScaling.cs | osu.Game.Rulesets.Osu.Tests/Editor/TestSliderScaling.cs | // 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.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Objects.Types;
us... | Add failing test case due to div by zero | Add failing test case due to div by zero
| C# | mit | ppy/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,peppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu | |
3e2314d1f5a60b9823eb688379da2da48714381c | osu.Framework.Tests/Visual/Drawables/TestSceneColourInterpolation.cs | osu.Framework.Tests/Visual/Drawables/TestSceneColourInterpolation.cs | // 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.Linq;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.... | Add visual and assertive test coverage | Add visual and assertive test coverage
| C# | mit | peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework | |
bba14cb2efde24e4837d90bbc4bd19c59af0184a | squirrel/ExtensionMethods.cs | squirrel/ExtensionMethods.cs | using System.Collections.Generic;
using System.Linq;
namespace squirrel
{
public static class ExtensionMethods
{
public static T Head<T>(this List<T> list)
{
return list[0];
}
public static List<T> Tail<T>(this List<T> list)
{
return list.Skip(1... | Create List.Head() and List.Tail() extension methods | Create List.Head() and List.Tail() extension methods
| C# | mit | escamilla/squirrel | |
8c91b69ec92aa08f45475d6e801b278edc6d8647 | DataAccessExamples.Core.Tests/DbOrmTest.cs | DataAccessExamples.Core.Tests/DbOrmTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataAccessExamples.Core.Data;
using DataAccessExamples.Core.Services.Department;
using DataAccessExamples.Core.Services.Employee;
using DataAccessExamples.Core.ViewModels;
using NUnit.Fram... | Add in-process DB ORM test | Add in-process DB ORM test
| C# | cc0-1.0 | hgcummings/DataAccessExamples,hgcummings/DataAccessExamples | |
207ccc4756474cea1a57b056f5404593433089d2 | osu.Game.Tests/Visual/Beatmaps/TestSceneBeatmapSetOnlineStatusPill.cs | osu.Game.Tests/Visual/Beatmaps/TestSceneBeatmapSetOnlineStatusPill.cs | // 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.Linq;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.Drawables;
using ... | Add test scene for beatmapset online status pill display | Add test scene for beatmapset online status pill display
| C# | mit | smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu | |
fe1e491da1dceffd01c54fa81b37b353e8e4e95d | src/Glimpse.Agent.Web/Options/DefaultIgnoredRequestProvider.cs | src/Glimpse.Agent.Web/Options/DefaultIgnoredRequestProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.Remoting.Messaging;
namespace Glimpse.Agent.Web.Options
{
public class DefaultIgnoredRequestProvider : IIgnoredRequestProvider
{
private readonly ITypeService _typeService;
public ... | Add default ignored request provider which discovers instances | Add default ignored request provider which discovers instances
| C# | mit | mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Pr... | |
0702f414aa6483182a16aa4b417e9610c0a6ea0a | KenticoInspector.Reports/ContentTreeConsistencyAnalysis/Report.cs | KenticoInspector.Reports/ContentTreeConsistencyAnalysis/Report.cs | using KenticoInspector.Core;
using KenticoInspector.Core.Constants;
using KenticoInspector.Core.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace KenticoInspector.Reports.ContentTreeConsistencyAnalysis
{
class Report : IReport
{
public string Codename => "Content-Tre... | Add report with basic metadata | Add report with basic metadata
| C# | mit | Kentico/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,Kentico/KInspector | |
75ebc80ab120b43568aaae54d8e39d33f207e1a2 | test/Autofac.Test/Core/PropertyInjectionInitOnlyTests.cs | test/Autofac.Test/Core/PropertyInjectionInitOnlyTests.cs | using Xunit;
#if NET5_0
namespace Autofac.Test.Core
{
public class PropertyInjectionInitOnlyTests
{
public class HasInitOnlyProperties
{
public string InjectedString { get; init; }
}
[Fact]
public void CanInjectInitOnlyProperties()
{
va... | Add test for init-only properties. | Add test for init-only properties.
| C# | mit | autofac/Autofac | |
88b0d052a76ec90ec6fa575428a1d55d3901ae88 | src/System.Net.Security/tests/FunctionalTests/CertificateValidationRemoteServer.cs | src/System.Net.Security/tests/FunctionalTests/CertificateValidationRemoteServer.cs | // 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.Net.Sockets;
using System.Net.Tests;
using System.Security.Cryptography.X509Certificates;
using System.... | // 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.Net.Sockets;
using System.Net.Tests;
using System.Security.Cryptography.X509Certificates;
using System.... | Remove the ActiveIssue(5555) tag for OSX | Remove the ActiveIssue(5555) tag for OSX
Since the default root store should have trust for this cert now,
consider this scenario to be Generally Regarded As Safe, like it is
for the other platforms.
| C# | mit | benpye/corefx,mazong1123/corefx,ViktorHofer/corefx,jlin177/corefx,shimingsg/corefx,krk/corefx,zhenlan/corefx,dsplaisted/corefx,Priya91/corefx-1,gkhanna79/corefx,seanshpark/corefx,ViktorHofer/corefx,iamjasonp/corefx,YoupHulsebos/corefx,gkhanna79/corefx,jcme/corefx,ViktorHofer/corefx,yizhang82/corefx,marksmeltzer/corefx,... |
c60f1103c6f2e3f1036a5b660533bd5d2a33ef6b | src/base/common/configuration/common/provider/ProviderAliasesNodeParser.cs | src/base/common/configuration/common/provider/ProviderAliasesNodeParser.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Xml;
namespace Nohros.Configuration
{
internal class ProviderAliasesNode
{
public static ICollection<string> Parse(XmlElement element) {
List<string> aliases = new List<string>(element.ChildNodes.Count);
... | Create a class to parse the alis configuration node. | Create a class to parse the alis configuration node.
| C# | mit | nohros/must,nohros/must,nohros/must | |
cd45d0d75cead26f33ebf7702d574f7d3b0832a0 | src/SJP.Schematic.Sqlite.Tests/SqliteCheckConstraintTests.cs | src/SJP.Schematic.Sqlite.Tests/SqliteCheckConstraintTests.cs | using System;
using NUnit.Framework;
using Moq;
using SJP.Schematic.Core;
namespace SJP.Schematic.Sqlite.Tests
{
[TestFixture]
internal class SqliteCheckConstraintTests
{
[Test]
public void Ctor_GivenNullTable_ThrowsArgumentNullException()
{
Assert.Throws<ArgumentNullEx... | Add tests for sqlite check constraints. | Add tests for sqlite check constraints.
| C# | mit | sjp/Schematic,sjp/Schematic,sjp/Schematic,sjp/SJP.Schema,sjp/Schematic | |
e9a62a4f7e4961342873e429fc362538f724cb73 | src/AcceptanceTests/When_notifications_are_misconfigured.cs | src/AcceptanceTests/When_notifications_are_misconfigured.cs | using System.Threading.Tasks;
using NServiceBus;
using NServiceBus.AcceptanceTesting;
using NServiceBus.AcceptanceTests.EndpointTemplates;
using NServiceBus.Features;
using NServiceBus.Settings;
using NUnit.Framework;
[TestFixture]
class When_notifications_are_misconfigured
{
[Test]
public async Task Should_n... | Add acceptance tests for feature prerequisites | Add acceptance tests for feature prerequisites
| C# | mit | Simution/NServiceBus.Recoverability.RetrySuccessNotification | |
a765b2ab22a4c0d0ceaba7f10caa025d32ddc423 | fierce-galaxy/fierce-galaxy-interface/TimeModule/NetworkTime.cs | fierce-galaxy/fierce-galaxy-interface/TimeModule/NetworkTime.cs | using System;
namespace FierceGalaxyInterface.TimeModule
{
public interface NetworkTime
{
/// <summary>
/// Return the time from a default NTP server
/// </summary>
DateTime GetNetworkTime();
/// <summary>
/// Return the time from the given NTP server
/... | Add a interface for the NTP time module | Add a interface for the NTP time module
| C# | apache-2.0 | arkeine/Fierce-Galaxy,arkeine/Fierce-Galaxy | |
6026f4b98f412d9734aa834b3e489b6691dd9da9 | resharper/src/resharper-unity/Rider/TempAnnotationsLoader.cs | resharper/src/resharper-unity/Rider/TempAnnotationsLoader.cs | using System;
using System.Collections.Generic;
using JetBrains.Application;
using JetBrains.Metadata.Utils;
using JetBrains.ReSharper.Psi.ExtensionsAPI.ExternalAnnotations;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Unity.Rider
{
// Temporary workaround for RIDER-13547
[ShellComponent]
p... | Add temporary workaround to load annotations | Add temporary workaround to load annotations
Workaround for RIDER-13547
| C# | apache-2.0 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | |
0e31568d5719ab18240f5fba39f2d4bad9a953e8 | src/Glimpse.Agent.Web/Options/FixedIgnoredRequestProvider.cs | src/Glimpse.Agent.Web/Options/FixedIgnoredRequestProvider.cs | using System.Collections.Generic;
using System.Linq;
namespace Glimpse.Agent.Web.Options
{
public class FixedIgnoredRequestProvider : IIgnoredRequestProvider
{
public FixedIgnoredRequestProvider()
: this(Enumerable.Empty<IIgnoredRequestPolicy>())
{
}
public FixedIg... | Add fixed ignored request provider to allow user full controll | Add fixed ignored request provider to allow user full controll
| C# | mit | Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Gli... | |
11084c9e6253de44c4ab95da95710edb1f6eedde | src/framework/Api/ISetRunState.cs | src/framework/Api/ISetRunState.cs | // ***********************************************************************
// Copyright (c) 2010 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... | Add missing file to repository | Add missing file to repository
--HG--
extra : convert_revision : charlie%40nunit.com-20100102164936-7cyzxrg2bwrq85pl
| C# | mit | nunit/nunit-console,nunit/nunit-console,nunit/nunit-console | |
bc2ce6c5927c3c6841ac675d130b414b7ded33ee | src/Booma.Proxy.Client.Unity.Ship/Services/Lobby/SoccerLobbyBallFactory.cs | src/Booma.Proxy.Client.Unity.Ship/Services/Lobby/SoccerLobbyBallFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SceneJect.Common;
using Sirenix.OdinInspector;
using Sirenix.Serialization;
using UnityEngine;
namespace Booma.Proxy
{
/// <summary>
/// Simple manager that manages the spawning and despawning t... | Create Soccer Lobby ball factory/manager | Create Soccer Lobby ball factory/manager
| C# | agpl-3.0 | HelloKitty/Booma.Proxy | |
c54259d11d30d4e90f3b336449bc2d5e8b4da814 | tools/Google.Cloud.Tools.ReleaseManager/ShowLaggingCommand.cs | tools/Google.Cloud.Tools.ReleaseManager/ShowLaggingCommand.cs | // Copyright 2020 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | Add release manager command to show "lagging" packages | Add release manager command to show "lagging" packages
(We should keep an eye on these.)
Current output:
Google.Cloud.BigQuery.Connection.V1 (1.0.0-beta01)
Google.Cloud.Monitoring.V3 (2.1.0-beta01)
Google.Cloud.OsConfig.V1 (1.0.0-beta01)
| C# | apache-2.0 | googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet | |
2e6c9c49ca1f2af49c9fd0dd3e2a964f898b5e92 | src/Glimpse.Web.Common/Framework/DefaultRequestAuthorizerProvider.cs | src/Glimpse.Web.Common/Framework/DefaultRequestAuthorizerProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Glimpse.Web
{
public class DefaultRequestAuthorizerProvider : IRequestAuthorizerProvider
{
private readonly ITypeService _typeService;
public DefaultRequestAuthorizerProvider(ITypeService typeService)
{
... | Add default provider which uses reflection | Add default provider which uses reflection
| C# | mit | pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimps... | |
a752f6aabdf7e37829c849dadd31abf617e21694 | Create_Polygon_of_Selection.cs | Create_Polygon_of_Selection.cs | //-----------------------------------------------------------------------------------
// PCB-Investigator Automation Script
// Created on 2014-04-24
// Autor support@easylogix.de
// www.pcb-investigator.com
// SDK online reference http://www.pcb-investigator.com/sites/default/files/documents/InterfaceDocumentation... | Create polygon out of selectet lines and arcs | Create polygon out of selectet lines and arcs | C# | bsd-3-clause | sts-CAD-Software/PCB-Investigator-Scripts | |
461d133c1f0a9a736bfa265e5c7dd060d6dd68b8 | osu.Game.Tests/Visual/Gameplay/TestScenePlayerLocalScoreImport.cs | osu.Game.Tests/Visual/Gameplay/TestScenePlayerLocalScoreImport.cs | // 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.Linq;
using NUnit.Framework;
using osu.Framework.Screens;
using osu.Framework.Testing;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Objects;
using osu.Ga... | Add test coverage of score importing | Add test coverage of score importing
| C# | mit | peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu | |
9c9c566bb559287c1d5ec641949ef3241c7394b2 | Src/Web/www/NeedDotNet.Web/NinjectResolution/UserIdentityModule.cs | Src/Web/www/NeedDotNet.Web/NinjectResolution/UserIdentityModule.cs | using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using NeedDotNet.Server.Domain.Entities;
using NeedDotNet.Web.Infrastructure;
using NeedDotNet.Web.Services;
using Ninject.Modules;
using Ninject.Web.Common;
namespace NeedDotNet.Web.NinjectResolution
{
internal class UserIdentityMod... | Create User Module Ninject Commit | Create User Module Ninject Commit
| C# | apache-2.0 | hnidboubker/NeedDotNet,hnidboubker/NeedDotNet | |
b23a5c7fdec6c716ee5ba722c837012be9034659 | GranitXMLEditor/XDocumentExtension.cs | GranitXMLEditor/XDocumentExtension.cs | using System;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace GranitXMLEditor
{
public static class XDocumentExtension
{
public static bool IsEmpty(this XDocument element)
{
ret... | Check emptyness of an XDocument | Check emptyness of an XDocument
| C# | mit | mattia72/GranitEditor,mattia72/GranitEditor | |
c0afe2371ff0eae00ef015eb83849659c3e0332a | src/NuProj.Tests/Infrastructure/Scenario.cs | src/NuProj.Tests/Infrastructure/Scenario.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using NuGet;
namespace NuProj.Tests.Infrastructure
{
public static class Scenario
{
public static async Task<IPackage> RestoreAndBuildSinglePackage(string scenarioName)
{
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using NuGet;
namespace NuProj.Tests.Infrastructure
{
public static class Scenario
{
public static async Task<IPackage> RestoreAndBuildSinglePackage(string scenarioName, IDictionary<string... | Allow scenario class to take properties | Allow scenario class to take properties
| C# | mit | DavidAnson/nuproj,NN---/nuproj,ericstj/nuproj,PedroLamas/nuproj,zbrad/nuproj,DavidAnson/nuproj,kovalikp/nuproj,AArnott/nuproj,nuproj/nuproj,oliver-feng/nuproj,faustoscardovi/nuproj |
7980d16b4c202bcb063c0569112ad76463e8a9c6 | osu.Game.Tests/Gameplay/TestSceneDrawableHitObject.cs | osu.Game.Tests/Gameplay/TestSceneDrawableHitObject.cs | // 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 NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Objects.Drawables;
using osu.Game.Tests.Visual;
namespace os... | Add failing test showing the issue of DHO lifetime | Add failing test showing the issue of DHO lifetime
| C# | mit | UselessToucan/osu,smoogipooo/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,ppy/osu,ppy/osu,NeoAdonis/osu | |
27f5dc42c4a6f2006cb33574b00f2442e563938a | QueryBuilder.Tests/WhereTests.cs | QueryBuilder.Tests/WhereTests.cs | using SqlKata.Compilers;
using SqlKata.Tests.Infrastructure;
using Xunit;
namespace SqlKata.Tests
{
public class WhereTests : TestSupport
{
[Fact]
public void GroupedWhereFilters()
{
var q = new Query("Table1")
.Where(q => q.Or().Where("Column1", 10).Or().Whe... | Create tests for grouped filters | Create tests for grouped filters
| C# | mit | sqlkata/querybuilder | |
4d051818a152573834a0e859994f25c83bda1b7a | osu.Game/Screens/Multi/RealtimeMultiplayer/RealtimeRoomComposite.cs | osu.Game/Screens/Multi/RealtimeMultiplayer/RealtimeRoomComposite.cs | // 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 JetBrains.Annotations;
using osu.Framework.Allocation;
using osu.Game.Online.RealtimeMultiplayer;
namespace osu.Game.Screens.Multi.RealtimeMultiplayer
{
public... | Add base class for all realtime multiplayer classes | Add base class for all realtime multiplayer classes
| C# | mit | UselessToucan/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,smoogipooo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu | |
41fa22183a97f610875bc15edf019baac678077e | src/Twilio.Api/Model/TwilioListBase.cs | src/Twilio.Api/Model/TwilioListBase.cs | using System;
using System.Collections.Generic;
namespace Twilio
{
/// <summary>
/// Base class for list resource data
/// </summary>
public class TwilioListBase : TwilioBase
{
/// <summary>
/// The current page number. Zero-indexed, so the first page is 0.
/// </summary>
public int Page { get; set; }
/... | using System;
using System.Collections.Generic;
namespace Twilio
{
/// <summary>
/// Base class for list resource data
/// </summary>
public class TwilioListBase : TwilioBase
{
/// <summary>
/// The current page number. Zero-indexed, so the first page is 0.
/// </summary>
public int Page { get; set; }
/... | Remove NumPages, Total, and LastPageUri from ListBase | Remove NumPages, Total, and LastPageUri from ListBase
| C# | mit | twilio/twilio-csharp,IRlyDontKnow/twilio-csharp,mplacona/twilio-csharp |
1fe324fee3614ae54ea6d317a94ecee7e475014a | Minecraft.Client/Orientation.cs | Minecraft.Client/Orientation.cs | namespace Decent.Minecraft.Client
{
public enum Orientation : ushort
{
UpDown = 0x0,
EastWest = 0x4,
NorthSouth = 0x8,
None = 0xC
}
}
| Add missing enum for wood. | Add missing enum for wood.
| C# | mit | Petermarcu/minecraft.client,bleroy/minecraft.client,rschacherl/minecraft.client | |
c73e82a01c5bd654d9b857421b4526dc19fc94ff | Burr.Tests/Helpers/EnsureTests.cs | Burr.Tests/Helpers/EnsureTests.cs | using System;
using Burr.Helpers;
using FluentAssertions;
using Xunit;
using Xunit.Extensions;
namespace Burr.Tests.Helpers
{
public class EnsureTests
{
public class TheArgumentNotNullMethod
{
[Fact]
public void ThrowsForNullArgument()
{
var ... | Add some test coverage for Ensure | Add some test coverage for Ensure | C# | mit | naveensrinivasan/octokit.net,octokit/octokit.net,daukantas/octokit.net,shiftkey/octokit.net,Sarmad93/octokit.net,brramos/octokit.net,shiftkey-tester/octokit.net,kolbasov/octokit.net,shiftkey-tester/octokit.net,nsrnnnnn/octokit.net,gdziadkiewicz/octokit.net,geek0r/octokit.net,ivandrofly/octokit.net,darrelmiller/octokit.... | |
b96c8d56928e2bc6619fa705540e23de268c3416 | Modix/Modules/InfractionModule.cs | Modix/Modules/InfractionModule.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using Modix.Data.Models;
using Modix.Data.Models.Moderation;
using Modix.Services.Moderation;
using Serilog;
using Tababular;
namespace Mo... | Add an infraction search command | Add an infraction search command
| C# | mit | mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX | |
bbd42147bef97a379b00a0bbde628d792adee770 | Swuber/Views/Login/UserDashBoard.cshtml | Swuber/Views/Login/UserDashBoard.cshtml |
@{
ViewBag.Title = "UserDashBoard";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>UserDashBoard</h2>
<fieldset>
@if (Session["NNumber"] != null) {
<text>
Welcome @Session["NNumber"].ToString()
@Session["FirstName"].ToString()
@Session["LastName"].ToString() </text>
} </fieldset>
<h2... | Add swuber icon to gmaps marker and switch views to satelite | Add swuber icon to gmaps marker and switch views to satelite
| C# | apache-2.0 | jerradmonagan/swuber,jerradmonagan/swuber,jerradmonagan/swuber | |
ab7762c9a4988e44f885db55980ea83567bbfd5b | apis/Google.Cloud.Scheduler.V1/Google.Cloud.Scheduler.V1/CloudSchedulerClientSettings.cs | apis/Google.Cloud.Scheduler.V1/Google.Cloud.Scheduler.V1/CloudSchedulerClientSettings.cs | // Copyright 2019 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | Add partial class for retry settings (compatibility) | Add partial class for retry settings (compatibility)
| C# | apache-2.0 | jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet | |
549143dd48d2ee45583c88636e9bfa24708e105c | Data.Oracle.Tests/Tests/OracleORMTests.cs | Data.Oracle.Tests/Tests/OracleORMTests.cs | /* Empiria Extensions ****************************************************************************************
* *
* Module : Oracle Data Handler Component : Test Helpers ... | Add integration tests for Empiria Oracle Data Handler and Empiria ORM | Add integration tests for Empiria Oracle Data Handler and Empiria ORM
| C# | agpl-3.0 | Ontica/Empiria.Extended | |
4a26e574a04ac2b4ed7b07c4667111b550bedfac | src/Grobid.PdfToXml/Extensions.cs | src/Grobid.PdfToXml/Extensions.cs | using System;
namespace Grobid.PdfToXml
{
public static class Extensions
{
// Same rules as pdftoxml.
// Max difference in primary font sizes on two lines in the same
// block. Delta1 is used when examining new lines above and below the
// current block.
pr... | Move extensions to appropriate project | Move extensions to appropriate project
| C# | apache-2.0 | boumenot/Grobid.NET | |
4731ba51955fe45cd2fc63c0e990858daa9ec1eb | src/ConsoleApplicationSample/Program.cs | src/ConsoleApplicationSample/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplicationSample
{
class Program
{
static void Main(string[] args)
{
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplicationSample
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Changeset: " + VersionInfo.Changeset);
C... | Add some sample console output | Add some sample console output
| C# | mit | jshall/VersionTasks,martinbuberl/VersionTasks |
a95550324e591152c14ab638b5783a132928bc50 | src/Diploms.Dto/Teachers/TeacherListItem.cs | src/Diploms.Dto/Teachers/TeacherListItem.cs | namespace DiplomContentSystem.Dto
{
public class TeacherListItem
{
public int Id {get;set;}
public string FIO {get;set;}
public string Position {get;set;}
public string Department {get;set;}
public int WorkCount {get;set;}
public int MaxWorkCount {get;set;}
}
... | Add dto for Teacher's list item | Add dto for Teacher's list item
| C# | mit | denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs | |
ea76dd6a9e1adde6941005ffb6114bcceced2a52 | osu.Game.Rulesets.Osu.Tests/TestSceneHitCircleComboChange.cs | osu.Game.Rulesets.Osu.Tests/TestSceneHitCircleComboChange.cs | // 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 osu.Framework.Bindables;
using osu.Game.Rulesets.Osu.Objects;
namespace osu.Game.Rulesets.Osu.Tests
{
public class TestSceneHitCircleComboChange : TestSceneHit... | Add test scene for hitcircles and combo changes | Add test scene for hitcircles and combo changes
| C# | mit | NeoAdonis/osu,ppy/osu,johnneijzen/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,EVAST9919/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,2yangk23/osu,EVAST9919/osu,smoogipooo/osu,ppy/osu,ZLima12/osu,2yangk23/osu,peppy/osu,ZLima12/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,Useless... | |
54ffb8dc4e61cce3e37cec371a7067e938074062 | osu.Game.Tests/Visual/Multiplayer/TestMultiplayerGameplay.cs | osu.Game.Tests/Visual/Multiplayer/TestMultiplayerGameplay.cs | // 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.Linq;
using NUnit.Framework;
using osu.Game.Screens.OnlinePlay.Multiplayer;
namespace osu.Game.Tests.Visual.Multiplayer
{
public class TestMultiplayerGa... | Add basic multiplayer gameplay test coverage | Add basic multiplayer gameplay test coverage
| C# | mit | ppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu-new,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu | |
d0bc1116ed299e4e64874bdc5607e61c96ff1e50 | functions/helloworld/HelloWorld.Tests/HelloGcsUnitTest.cs | functions/helloworld/HelloWorld.Tests/HelloGcsUnitTest.cs | // Copyright 2020 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | Add Storage function unit test | Add Storage function unit test
This demonstrates the use of MemoryLogger in unit tests.
| C# | apache-2.0 | GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples | |
a6d09b0bb0d4f05533baf2b658b22076e4791c11 | osu.Game/Graphics/UserInterfaceV2/LabelledEnumDropdown.cs | osu.Game/Graphics/UserInterfaceV2/LabelledEnumDropdown.cs | // 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 osu.Game.Graphics.UserInterface;
namespace osu.Game.Graphics.UserInterfaceV2
{
public class LabelledEnumDropdown<TEnum> : LabelledDropdown<TEnum>... | Add labelled enum dropdown variant | Add labelled enum dropdown variant
| C# | mit | NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,peppy/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,smoogipoo/osu | |
90a9961a69655de48b05ecef8de33146c09c564d | osu.Game.Tests/Visual/Online/TestSceneCommentReportButton.cs | osu.Game.Tests/Visual/Online/TestSceneCommentReportButton.cs | // 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 osu.Framework.Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Testing;
using osu.Game.Online.API;
using osu.Game.... | Add visual test case for report button | Add visual test case for report button
Makes it much easier to test button/popover design changes
| C# | mit | peppy/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu | |
0e50c1ec2fad93efad5f2dcbd49cc8b1df2a120d | test/HelloCoreClrApp.Test/Program.cs | test/HelloCoreClrApp.Test/Program.cs | using System;
namespace HelloCoreClrApp.Test
{
public static class Program
{
// Entry point for the application.
public static void Main(string[] args)
{
Console.WriteLine("Please use 'dotnet test' or 'dotnet xunit' to run unit tests.");
}
}
} | Add entry point. Technically not really needed, but fixes a ReSharper warning. | Add entry point.
Technically not really needed, but fixes a ReSharper warning.
| C# | mit | jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr | |
0490639f49aee6b59a93c4e4c399bc62c9b49b13 | R7.University/Components/UniversityPortalConfig.cs | R7.University/Components/UniversityPortalConfig.cs | //
// UniversityPortalConfig.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2016 Roman M. Yagodin
//
// 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 Softw... | Add missing file (to b7f3a06 and later) | Add missing file (to b7f3a06 and later)
| C# | agpl-3.0 | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University | |
2af41afe09f0ef23ba917549c3c8474f55a1c8aa | tools/Google.Cloud.Tools.ReleaseManager/ShowVersionCommand.cs | tools/Google.Cloud.Tools.ReleaseManager/ShowVersionCommand.cs | // Copyright 2020 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | Implement show-version command referred to in PROCESSES.md | Implement show-version command referred to in PROCESSES.md
| C# | apache-2.0 | jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/gcloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet | |
f570ba92d77b7da524e2b98a8d1805d21706d040 | tests/TestCases/TransactionTest.cs | tests/TestCases/TransactionTest.cs | //
// Copyright (c) 2014 Piotr Fusik <piotr@fusik.info>
//
// 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 copyri... | TEST Transaction: no DB connection if not needed, possible to pass DB connection. | TEST Transaction: no DB connection if not needed, possible to pass DB connection. | C# | bsd-2-clause | pfusik/sooda,pfusik/sooda,pfusik/sooda | |
5e40457d13193428e1f76db5ce53f67bfa5d1f66 | NuKeeper.Tests/ContainerRegistrationTests.cs | NuKeeper.Tests/ContainerRegistrationTests.cs | using System;
using NuKeeper.Configuration;
using NuKeeper.Engine;
using NUnit.Framework;
namespace NuKeeper.Tests
{
[TestFixture]
public class ContainerRegistrationTests
{
[Test]
public void RootCanBeResolved()
{
var container = ContainerRegistration.Init(MakeValidSett... | Test that the container can resolve Test that the container can resolve the engine root object Having this test would have saved some time recently | Test that the container can resolve
Test that the container can resolve the engine root object
Having this test would have saved some time recently
| C# | apache-2.0 | AnthonySteele/NuKeeper,skolima/NuKeeper,NuKeeperDotNet/NuKeeper,NuKeeperDotNet/NuKeeper,AnthonySteele/NuKeeper,NuKeeperDotNet/NuKeeper,skolima/NuKeeper,skolima/NuKeeper,AnthonySteele/NuKeeper,skolima/NuKeeper,NuKeeperDotNet/NuKeeper,AnthonySteele/NuKeeper | |
3b3300b08d5ab7fea4c9137d6f5fa5985ffaf08e | src/Glimpse.Agent.Web/Framework/DefaultRequestProfilerProvider.cs | src/Glimpse.Agent.Web/Framework/DefaultRequestProfilerProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Glimpse.Agent.Web
{
public class DefaultRequestProfilerProvider : IRequestProfilerProvider
{
private readonly ITypeService _typeService;
public DefaultRequestProfilerProvider(ITypeService typeService)
{
... | Add default implementation for RequestProfilers provider | Add default implementation for RequestProfilers provider
| C# | mit | mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,... | |
e080b4e4a7adde7b1344558e3101f7a0647ee5e7 | tests/FakeItEasy.Tests/ConcurrentCallTests.cs | tests/FakeItEasy.Tests/ConcurrentCallTests.cs | namespace FakeItEasy.Tests
{
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Xunit;
using Xunit.Abstractions;
public class ConcurrentCallTests
{
private readonly ITestOutputHelper output;
public ConcurrentCallTests(ITestOutput... | Add failing test for assertion of concurrent calls | [red] Add failing test for assertion of concurrent calls
| C# | mit | thomaslevesque/FakeItEasy,thomaslevesque/FakeItEasy,FakeItEasy/FakeItEasy,blairconrad/FakeItEasy,blairconrad/FakeItEasy,adamralph/FakeItEasy,adamralph/FakeItEasy,FakeItEasy/FakeItEasy | |
1e55ce4d05c839922f1b11beb42e7de91b2723c9 | test/ValidatorFixtureAttributeTest.cs | test/ValidatorFixtureAttributeTest.cs | using NUnit.Framework;
using System;
using System.Reflection;
namespace NValidate.Tests
{
[TestFixture]
public class ValidatorFixtureAttributeTest
{
[ValidatorFixture("WithAttribute")]
class ClassWithAttribute { }
class ClassWithoutAttribute { }
[Test]
... | Add tests for the ValidatorFixtureAttribute | Add tests for the ValidatorFixtureAttribute
| C# | mit | horia141/nvalidate,horia141/nvalidate | |
35a583b2442ea257a56e9e066e8343bf5b4a492d | src/CIAPI/PrettyPrinterExtensions.cs | src/CIAPI/PrettyPrinterExtensions.cs | using System;
using System.Text;
namespace CIAPI
{
///<summary>
/// Useful logging and debugging extensions
///</summary>
public static class PrettyPrinterExtensions
{
///<summary>
/// Create string showing values of all public properties for object
///</summary>
//... | Include DTO pretty printer extensions | Include DTO pretty printer extensions
| C# | apache-2.0 | cityindex-attic/CIAPI.CS,cityindex-attic/CIAPI.CS,cityindex-attic/CIAPI.CS | |
e38a35115ebeb28a18ecd662acb1f5e3f2f458d0 | EPPlusTest/FormulaParsing/Excel/Functions/RefAndLookup/ChooseTests.cs | EPPlusTest/FormulaParsing/Excel/Functions/RefAndLookup/ChooseTests.cs | using System;
using System.IO;
using EPPlusTest.FormulaParsing.TestHelpers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OfficeOpenXml;
using OfficeOpenXml.FormulaParsing;
using OfficeOpenXml.FormulaParsing.Excel.Functions.RefAndLookup;
using OfficeOpenXml.FormulaParsing.Exceptions;
namespace EP... | Add new tests for Choose Function | Add new tests for Choose Function
| C# | lgpl-2.1 | jetreports/EPPlus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.