/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/modules/AdvancedPaste/AdvancedPaste.FuzzTests/Logger.cs
46 строк
1 KB
leileizhang
[Fuzz] Add fuzz testing for AdvancedPaste and new pipeline for onboarding OneFuzz (#36329)
19 дек 2024, 03:31
Не верифицирован
19 дек 2024, 03:31
43bc811
Код
Авторство
О чём код?
// Copyright (c) Microsoft Corporation // The Microsoft Corporation 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.Linq; using System.Text; using System.Threading.Tasks; // This is used for fuzz testing and ensures that the project links only to JsonHelper, // avoiding unnecessary connections to additional files namespace ManagedCommon { public static class Logger { // An empty method to simulate logging information public static void LogTrace() { // Do nothing } // An empty method to simulate logging information public static void LogInfo(string message) { // Do nothing } // An empty method to simulate logging warnings public static void LogWarning(string message) { // Do nothing } // An empty method to simulate logging errors public static void LogError(string message, Exception? ex = null) { // Do nothing } public static void LogDebug(string message, Exception? ex = null) { // Do nothing } } }