/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/EditorFeatures/CSharpTest/StringCopyPaste/StringCopyPasteCommandHandlerUnknownSourceTests.cs
16 строк
768 B
Cyrus Najmabadi
Move to file scoped namespace in tests
22 май 2024, 08:23
22 май 2024, 08:23
32e21b6
Код
Авторство
О чём код?
// 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. namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.StringCopyPaste; public abstract class StringCopyPasteCommandHandlerUnknownSourceTests : StringCopyPasteCommandHandlerTests { protected static void TestPasteUnknownSource(string pasteText, string markup, string expectedMarkup, string afterUndo) { using var state = StringCopyPasteTestState.CreateTestState(copyFileMarkup: null, pasteFileMarkup: markup, mockCopyPasteService: true); state.TestCopyPaste(expectedMarkup, pasteText, pasteTextIsKnown: false, afterUndo); } }