Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent recursion on WKWebViewSetNativationDelegateSwizzler #26

Prevent recursion on

d9b85e7
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Prevent recursion on WKWebViewSetNativationDelegateSwizzler #26

Prevent recursion on
d9b85e7
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results succeeded Jul 26, 2024 in 0s

Xcode test results

Testing workspace embrace-apple-sdk with scheme EmbraceIO-Package

Summary

TotalSuccess PassedFailure FailedSkipped SkippedExpected Failure Expected Failure⏱️ Time
70770700021.60s

Test Summary

EmbraceCaptureServiceTests

  • Device: iPhone 15 Pro Max, 17.2 (21C62)
  • SDK: Simulator - iOS 17.2, 17.2
TestTotalSuccessFailureSkippedExpected Failure
test-class CaptureServiceTests99000

EmbraceCommonInternalTests

  • Device: iPhone 15 Pro Max, 17.2 (21C62)
  • SDK: Simulator - iOS 17.2, 17.2
TestTotalSuccessFailureSkippedExpected Failure
test-class LogIdentifierTests55000
test-class LogSeverityTests44000
test-class LogTypeDeclarationTests66000
test-class LogTypeTests1717000
test-class ProcessIdentifierTests1111000
test-class SessionIdentifierTests99000
test-class SpanTypeTests2222000
test-class ThreadSafeTests77000
test-class UUID_WithoutHyphenTests33000

EmbraceConfigInternalTests

  • Device: iPhone 15 Pro Max, 17.2 (21C62)
  • SDK: Simulator - iOS 17.2, 17.2
TestTotalSuccessFailureSkippedExpected Failure
test-class EmbraceConfigTests1111000
test-class RemoteConfigFetcherTests55000
test-class RemoteConfigPayloadTests22000

EmbraceCoreTests

  • Device: iPhone 15 Pro Max, 17.2 (21C62)
  • SDK: Simulator - iOS 17.2, 17.2
TestTotalSuccessFailureSkippedExpected Failure
test-class AppInfoCaptureServiceTests22000
test-class BreadcrumbTests33000
test-class CGPointToStringTests22000
test-class CaptureServiceFactoryTests11000
test-class DataTaskWithURLAndCompletionSwizzlerTests55000
test-class DataTaskWithURLRequestAndCompletionSwizzlerTests55000
test-class DataTaskWithURLRequestSwizzlerTests33000
test-class DataTaskWithURLSwizzlerTests22000
test-class DefaultInternalLoggerTests1212000
test-class DefaultLogBatcherTests66000
test-class DefaultURLSessionSwizzlerProviderTests11000
test-class DefaultURLSessionTaskHandlerTests1717000
test-class DeviceIdentifier_PersistenceTests33000
test-class DeviceInfoCaptureServiceTests22000
test-class DownloadTaskWithURLRequestSwizzlerTests33000
test-class DownloadTaskWithURLWithCompletionSwizzlerTests55000
test-class EmbraceCoreTests1212000
test-class EmbraceEndpointsTests11000
test-class EmbraceLogAttributesBuilderTests1212000
test-class EmbraceLoggerSharedStateTests33000
test-class EmbraceMetaUserAgentTests11000
test-class EmbraceSetupCaptureServicesTests22000
test-class EmbraceSpanProcessor_StorageTests11000
test-class Embrace_OTelTests11000
test-class EncodableJSONTests11000
test-class KeychainAccessTests22000
test-class LengthOfBodyValidatorTests33000
test-class LengthOfNameValidatorTests44000
test-class LogControllerTests1818000
test-class LogDataValidationTests22000
test-class LogPayloadBuilderTests33000
test-class LogPayloadTests11000
test-class LogsBatchTests77000
test-class LowMemoryWarningCaptureServiceTests33000
test-class LowPowerModeCollectorTests88000
test-class ManualSessionLifecycleTests44000
test-class MetadataHandlerTests44000
test-class MetadataHandler_PersonaTagTests1010000
test-class MetadataHandler_UserTests44000
test-class MetadataPayloadTests11000
test-class PayloadUtilTests33000
test-class PersonaTagTests88000
test-class ProcessMetadataTests22000
test-class PushNotificationEventTests55000
test-class ResourceCaptureServiceTests11000
test-class ResourcePayloadTests22000
test-class ResourceStorageExporterTests11000
test-class SessionControllerTests2323000
test-class SessionHeartbeatTests33000
test-class SessionPayloadBuilderTests22000
test-class SessionSpanUtilsTests66000
test-class SessionTaskResumeSwizzlerTests22000
test-class SpanDataValidationTests22000
test-class SpanEventBreadcrumbTests22000
test-class SpanPayloadTests33000
test-class SpansPayloadBuilderTests1111000
test-class StorageEmbraceLogExporterTests1010000
test-class StorageSpanExporterTests22000
test-class TapCaptureServiceTests1010000
test-class URLSessionCaptureServiceTests55000
test-class URLSessionDelegateProxyAsTaskDelegateTests55000
test-class URLSessionDelegateProxyForwardingTests33000
test-class URLSessionDelegateProxyTests1717000
test-class URLSessionExtensionTests22000
test-class URLSessionInitWithDelegateSwizzlerTests33000
test-class URLSessionTaskExtensionTests22000
test-class UnsentDataHandlerTests1010000
test-class UploadTaskWithRequestFromDataAndCompletionSwizzlerTests55000
test-class UploadTaskWithRequestFromDataSwizzlerTests33000
test-class UploadTaskWithRequestFromFileSwizzlerTests33000
test-class UploadTaskWithRequestFromFileWithCompletionSwizzlerTests55000
test-class UploadTaskWithStreamedRequestSwizzlerTests33000
test-class UserInfoPayloadTests66000
test-class ViewCaptureServiceTests99000
test-class WKNavigationDelegateProxyTests22000
test-class WebViewCaptureServiceTests44000
test-class WhitespaceSpanNameValidatorTests11000
test-class iOSSessionLifecycleTests2424000

EmbraceCrashTests

  • Device: iPhone 15 Pro Max, 17.2 (21C62)
  • SDK: Simulator - iOS 17.2, 17.2
TestTotalSuccessFailureSkippedExpected Failure
test-class EmbraceCrashReporterTests44000

EmbraceCrashlyticsSupportTests

  • Device: iPhone 15 Pro Max, 17.2 (21C62)
  • SDK: Simulator - iOS 17.2, 17.2
TestTotalSuccessFailureSkippedExpected Failure
test-class CrashlyticsReporterTests22000
test-class CrashlyticsWrapperTests22000

EmbraceIOTests

  • Device: iPhone 15 Pro Max, 17.2 (21C62)
  • SDK: Simulator - iOS 17.2, 17.2
TestTotalSuccessFailureSkippedExpected Failure
test-class CaptureServiceBuilderTests1414000

EmbraceOTelInternalTests

  • Device: iPhone 15 Pro Max, 17.2 (21C62)
  • SDK: Simulator - iOS 17.2, 17.2
TestTotalSuccessFailureSkippedExpected Failure
test-class BatchLimitsTests22000
test-class EmbraceLogRecordBuilderTests1010000
test-class EmbraceLogRecordProcessorArrayExtensionTests11000
test-class EmbraceLogSharedStateTests11000
test-class EmbraceLoggerBuilderTests11000
test-class EmbraceLoggerProviderTests55000
test-class EmbraceLoggerTests33000
test-class EmbraceOTelTests1212000
test-class EmbraceResourceProviderTests33000
test-class GenericLogExporterTests11000
test-class SeverityToLogSeverityTests66000
test-class SingleLogRecordProcessorTests66000
test-class SingleSpanProcessorTests77000

EmbraceObjCUtilsInternalTests

  • Device: iPhone 15 Pro Max, 17.2 (21C62)
  • SDK: Simulator - iOS 17.2, 17.2
TestTotalSuccessFailureSkippedExpected Failure
test-class EMBDeviceTests11000

EmbraceStorageInternalTests

  • Device: iPhone 15 Pro Max, 17.2 (21C62)
  • SDK: Simulator - iOS 17.2, 17.2
TestTotalSuccessFailureSkippedExpected Failure
test-class AddSpanRecordMigrationTests33000
test-class EmbraceStorageLoggingTests66000
test-class EmbraceStorageOptionsTests22000
test-class EmbraceStorageTests1515000
test-class EmbraceStorage_SpanTests33000
test-class LogRecordTests11000
test-class MetadataRecordAttributeValueTests1616000
test-class MetadataRecordTests1717000
test-class MigrationServiceTests33000
test-class Migr

Details

Test Details

EmbraceCaptureServiceTestsback

CaptureServiceTests back

SuccessFailureSkippedExpected Failure⏱️
9 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_active()
Successtest-method test_addEvent()
Successtest-method test_addEvents()
Successtest-method test_endSpan()
Successtest-method test_initialState()
Successtest-method test_installed()
Successtest-method test_internalCalls()
Successtest-method test_paused()
Successtest-method test_startSpan()

EmbraceCommonInternalTestsback

LogIdentifierTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_encode_encodesValueAsUUID()
Successtest-method test_encodeAndDecode_returnsSameValue()
Successtest-method test_init_withUUID()
Successtest-method test_random_returnsNewValue()
Successtest-method test_toString_removesHyphens()

LogSeverityTests back

SuccessFailureSkippedExpected Failure⏱️
4 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_description_isText()
Successtest-method test_ensureIdentifiersAreCorrectAndConsistentWithOTel()
Successtest-method test_ensureTextValuesAreCorrectAndConsistentWithOTel()
Successtest-method test_number_isRawValue()

LogTypeDeclarationTests back

SuccessFailureSkippedExpected Failure⏱️
6 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_logTypeBreadcrumb_isPrimarySystemAndSecondaryBreadcrumb()
Successtest-method test_logTypeBreadcrumb_isSysBreadcrumbString()
Successtest-method test_logTypeDefault_isPrimarySystemAndSecondaryLog()
Successtest-method test_logTypeDefault_isSysLogString()
Successtest-method test_logTypeSystem_isPrimarySystemSecondaryNil()
Successtest-method test_logTypeSystem_isSysString()

LogTypeTests back

SuccessFailureSkippedExpected Failure⏱️
17 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_decode_withInvalidPrimary_throwsError()
Successtest-method test_decode_withNestedSecondary_decodesFromString()
Successtest-method test_decode_withoutSecondary_decodesFromString()
Successtest-method test_decode_withSecondary_decodesFromString()
Successtest-method test_encode_withNestedSecondary_encodesAsString()
Successtest-method test_encode_withoutSecondary_encodesAsString()
Successtest-method test_encode_withSecondary_encodesAsString()
Successtest-method test_init_setsProperties()
Successtest-method test_init_system_setsProperties()
Successtest-method test_init_without_secondary_setsProperties()
Successtest-method test_init_withRawValue_withInvalidPrimary_returnsNil()
Successtest-method test_init_withRawValue_withNestedSecondary_setsProperties()
Successtest-method test_init_withRawValue_withoutSecondary_setsProperties()
Successtest-method test_init_withRawValue_withSecondary_setsProperties()
Successtest-method test_rawValue_withoutSecondary_returnsPrimary()
Successtest-method test_rawValue_withSecondary_returnsPrimaryAndNestedSecondary_delimitedByDot()
Successtest-method test_rawValue_withSecondary_returnsPrimaryAndSecondary_delimitedByDot()

ProcessIdentifierTests back

SuccessFailureSkippedExpected Failure⏱️
11 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_decode_withEmptyString_throwsError()
Successtest-method test_decode_withInvalidString_throwsError()
Successtest-method test_decode_withValidString_returnsCorrectValue()
Successtest-method test_encode_encodesValueInHex()
Successtest-method test_encodeAndDecode_returnsSameValue()
Successtest-method test_init_hex_withEmptyString_returnsNil()
Successtest-method test_init_hex_withInvalidString_returnsNil()
Successtest-method test_init_hex_withLongString_returnsNonNil()
Successtest-method test_init_hex_withShortString_returnsNonNil()
Successtest-method test_init_value()
Successtest-method test_random_returnsNewValue()

SessionIdentifierTests back

SuccessFailureSkippedExpected Failure⏱️
9 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_decode_valueWithHyphen_returnsSessionId()
Successtest-method test_decode_valueWithoutHyphen_returnsSessionId()
Successtest-method test_encode_encodesValueAsUUID_withoutHyphen()
Successtest-method test_encodeAndDecode_returnsSameValue()
Successtest-method test_init_withoutHyphen()
Successtest-method test_init_withString()
Successtest-method test_init_withUUID()
Successtest-method test_init_withWithInvalidString_isNil()
Successtest-method test_random_returnsNewValue()

SpanTypeTests back

SuccessFailureSkippedExpected Failure⏱️
22 (100%)0 (0%)0 (0%)0 (0%)0.01s
Successtest-method test_decode_withInvalidPrimary_throwsError()
Successtest-method test_decode_withNestedSecondary_decodesFromString()
Successtest-method test_decode_withoutSecondary_decodesFromString()
Successtest-method test_decode_withSecondary_decodesFromString()
Successtest-method test_description_withoutSecondary_returnsPrimary()
Successtest-method test_description_withSecondary_returnsPrimaryAndNestedSecondary_delimitedByDot()
Successtest-method test_description_withSecondary_returnsPrimaryAndSecondary_delimitedByDot()
Successtest-method test_encode_withNestedSecondary_encodesAsString()
Successtest-method test_encode_withoutSecondary_encodesAsString()
Successtest-method test_encode_withSecondary_encodesAsString()
Successtest-method test_init_performance_setsProperties()
Successtest-method test_init_setsProperties()
Successtest-method test_init_system_setsProperties()
Successtest-method test_init_ux_setsProperties()
Successtest-method test_init_without_secondary_setsProperties()
Successtest-method test_init_withRawValue_withInvalidPrimary_returnsNil()
Successtest-method test_init_withRawValue_withNestedSecondary_setsProperties()
Successtest-method test_init_withRawValue_withoutSecondary_setsProperties()
Successtest-method test_init_withRawValue_withSecondary_setsProperties()
Successtest-method test_rawValue_withoutSecondary_returnsPrimary()
Successtest-method test_rawValue_withSecondary_returnsPrimaryAndNestedSecondary_delimitedByDot()
Successtest-method test_rawValue_withSecondary_returnsPrimaryAndSecondary_delimitedByDot()

ThreadSafeTests back

SuccessFailureSkippedExpected Failure⏱️
7 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_concurrentAccess()
Successtest-method test_initialState()
Successtest-method test_modify_shouldSafelyModifyInBlock()
Successtest-method test_multipleSet_shouldModifyValue()
Successtest-method test_parallelExecutionAndConcurrentAccess()
Successtest-method test_set_shouldModifyValue()
Successtest-method test_simultaneousReadWrite_shouldntCrash()

UUID_WithoutHyphenTests back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_initWithoutHyphen_returnsUUID_whenStringHasHyphens()
Successtest-method test_initWithoutHyphen_returnsUUID_whenValid_nilOtherwise()
Successtest-method test_withoutHyphen_stripsHyphens()

EmbraceConfigInternalTestsback

EmbraceConfigTests back

SuccessFailureSkippedExpected Failure⏱️
11 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_forcedUpdateNotIgnored()
Successtest-method test_frequentUpdatesIgnored()
Successtest-method test_frequentUpdatesNotIgnored()
Successtest-method test_hexValue()
Successtest-method test_internalLogsLimits()
Successtest-method test_invalidDeviceId()
Successtest-method test_isBackgroundSessionEnabled()
Successtest-method test_isEnabled()
Successtest-method test_isSDKEnabled()
Successtest-method test_networkSpansForwardingEnabled()
Successtest-method test_updateCallback()

RemoteConfigFetcherTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_ETag()
Successtest-method test_fetchFailure()
Successtest-method test_fetchSuccess_wrongResponseCode()
Successtest-method test_fetchSuccess()
Successtest-method test_requestMetadata()

RemoteConfigPayloadTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_defaults()
Successtest-method test_values()

EmbraceCoreTestsback

AppInfoCaptureServiceTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.15s
Successtest-method test_notStarted()
Successtest-method test_started()

BreadcrumbTests back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_onInit_embTypeIsSysBreadcrumb()
Successtest-method test_onInit_nameIsEmbBreadcrumb()
Successtest-method test_onInitWithMessage_messageIsSavedAsAttributes()

CGPointToStringTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_toString_ReturnsXAndYPointsSeparatedByComma()
Successtest-method test_toString_TruncatesEachPoint()

CaptureServiceFactoryTests back

SuccessFailureSkippedExpected Failure⏱️
1 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_requiredCaptureServices_returnsCorrectCaptureServiceTypes()

DataTaskWithURLAndCompletionSwizzlerTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.01s
Successtest-method test_afterInstall_taskShouldHaveEmbraceHeaders()
Successtest-method test_withoutInstall_taskWontBeCreatedInHandler()
Successtest-method testAfterInstall_onExecutingRequest_taskWillBeCreatedInHandler()
Successtest-method testAfterInstall_onFailedRequest_taskWillBeFinishedInHandler()
Successtest-method testAfterInstall_onFinishingRequest_taskWillBeFinishedInHandler()

DataTaskWithURLReque