From ebea1c0baa0a9fd41f5d7729d77022bd49b8b293 Mon Sep 17 00:00:00 2001 From: Moritz Lang Date: Mon, 3 Oct 2022 11:53:35 +0200 Subject: [PATCH] Generate linux tests --- Tests/LoggingTests/LoggingTest+XCTest.swift | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Tests/LoggingTests/LoggingTest+XCTest.swift b/Tests/LoggingTests/LoggingTest+XCTest.swift index 248c7a7..df53968 100644 --- a/Tests/LoggingTests/LoggingTest+XCTest.swift +++ b/Tests/LoggingTests/LoggingTest+XCTest.swift @@ -40,10 +40,19 @@ extension LoggingTest { ("testAllLogLevelsExceptCriticalCanBeBlocked", testAllLogLevelsExceptCriticalCanBeBlocked), ("testAllLogLevelsWork", testAllLogLevelsWork), ("testAllLogLevelByFunctionRefWithSource", testAllLogLevelByFunctionRefWithSource), -// ("testAllLogLevelByFunctionRefWithoutSource", testAllLogLevelByFunctionRefWithoutSource), + ("testAllLogLevelByFunctionRefWithoutSource", testAllLogLevelByFunctionRefWithoutSource), ("testLogsEmittedFromSubdirectoryGetCorrectModuleInNewerSwifts", testLogsEmittedFromSubdirectoryGetCorrectModuleInNewerSwifts), ("testLogMessageWithStringInterpolation", testLogMessageWithStringInterpolation), ("testLoggingAString", testLoggingAString), + ("testLoggingCallsMetadataProviderWithTaskLocalBaggage", testLoggingCallsMetadataProviderWithTaskLocalBaggage), + ("testLoggingCallsMetadataProviderWithExplicitlyPassedBaggage", testLoggingCallsMetadataProviderWithExplicitlyPassedBaggage), + ("testLoggingMergesOneOffMetadataWithProvidedMetadataFromTaskLocalBaggage", testLoggingMergesOneOffMetadataWithProvidedMetadataFromTaskLocalBaggage), + ("testLoggingMergesOneOffMetadataWithProvidedMetadataFromExplicitlyPassedBaggage", testLoggingMergesOneOffMetadataWithProvidedMetadataFromExplicitlyPassedBaggage), + ("testLoggingPrefersExplicitBaggageOverTaskLocal", testLoggingPrefersExplicitBaggageOverTaskLocal), + ("testLoggingWithExplicitlyPassedNilBaggageDoesNotPickUpTaskLocalBaggage", testLoggingWithExplicitlyPassedNilBaggageDoesNotPickUpTaskLocalBaggage), + ("testMultiplexMetadataProviderMergesInSpecifiedOrder", testMultiplexMetadataProviderMergesInSpecifiedOrder), + ("testLoggerWithoutFactoryOverrideDefaultsToUsingLoggingSystemMetadataProvider", testLoggerWithoutFactoryOverrideDefaultsToUsingLoggingSystemMetadataProvider), + ("testLoggerWithFactoryOverrideDefaultsToUsingLoggingSystemMetadataProvider", testLoggerWithFactoryOverrideDefaultsToUsingLoggingSystemMetadataProvider), ("testMultiplexerIsValue", testMultiplexerIsValue), ("testLoggerWithGlobalOverride", testLoggerWithGlobalOverride), ("testLogLevelCases", testLogLevelCases),