diff options
author | NicoleYarroch <nicole@livio.io> | 2020-08-28 13:54:48 -0400 |
---|---|---|
committer | NicoleYarroch <nicole@livio.io> | 2020-08-28 13:54:48 -0400 |
commit | c5e8543210969b33001375a8a628a9f528acc673 (patch) | |
tree | 30bffbfb4ea10d9825dc2fd208a4f7036989548f /SmartDeviceLinkTests/LoggingSpecs | |
parent | 05ef425389397c787f321858cc92a02671d3746d (diff) | |
download | sdl_ios-c5e8543210969b33001375a8a628a9f528acc673.tar.gz |
Deprecated SDLLogTargetAppleSystemLog class
* Removed OS version check in the default log configuration
* Updated tests
Signed-off-by: NicoleYarroch <nicole@livio.io>
Diffstat (limited to 'SmartDeviceLinkTests/LoggingSpecs')
-rw-r--r-- | SmartDeviceLinkTests/LoggingSpecs/SDLLogConfigurationSpec.m | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/SmartDeviceLinkTests/LoggingSpecs/SDLLogConfigurationSpec.m b/SmartDeviceLinkTests/LoggingSpecs/SDLLogConfigurationSpec.m index d434f1269..df4d48691 100644 --- a/SmartDeviceLinkTests/LoggingSpecs/SDLLogConfigurationSpec.m +++ b/SmartDeviceLinkTests/LoggingSpecs/SDLLogConfigurationSpec.m @@ -22,12 +22,7 @@ describe(@"a log configuration", ^{ expect(@(testConfiguration.errorsAsynchronous)).to(equal(@NO)); expect(@(testConfiguration.areAssertionsDisabled)).to(equal(@NO)); expect(@(testConfiguration.globalLogLevel)).to(equal(@(SDLLogLevelError))); - - if ([NSProcessInfo processInfo].operatingSystemVersion.majorVersion >= 10) { - expect([testConfiguration.targets anyObject].class).to(equal([SDLLogTargetOSLog class])); - } else { - expect([testConfiguration.targets anyObject].class).to(equal([SDLLogTargetAppleSystemLog class])); - } + expect([testConfiguration.targets anyObject].class).to(equal([SDLLogTargetOSLog class])); }); }); @@ -43,12 +38,7 @@ describe(@"a log configuration", ^{ expect(@(testConfiguration.errorsAsynchronous)).to(equal(@NO)); expect(@(testConfiguration.areAssertionsDisabled)).to(equal(@NO)); expect(@(testConfiguration.globalLogLevel)).to(equal(@(SDLLogLevelDebug))); - - if ([NSProcessInfo processInfo].operatingSystemVersion.majorVersion >= 10) { - expect([testConfiguration.targets anyObject].class).to(equal([SDLLogTargetOSLog class])); - } else { - expect([testConfiguration.targets anyObject].class).to(equal([SDLLogTargetAppleSystemLog class])); - } + expect([testConfiguration.targets anyObject].class).to(equal([SDLLogTargetOSLog class])); }); }); }); |