diff options
author | Paul Beusterien <paulbeusterien@google.com> | 2018-07-13 09:57:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-13 09:57:32 -0700 |
commit | 855a7665aef505db456aa1c6f1cb9ea2b68056da (patch) | |
tree | 0afc97fd2fbcb5357deefb046c7b98a7a2342366 /GoogleUtilities/Example | |
parent | 1077b28f6212c17fc4f408c42ca64ada8d5effed (diff) |
Restore iOS7 to GoogleUtilities (#1528)
Diffstat (limited to 'GoogleUtilities/Example')
-rw-r--r-- | GoogleUtilities/Example/Tests/Environment/GULAppEnvironmentUtilTest.m | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/GoogleUtilities/Example/Tests/Environment/GULAppEnvironmentUtilTest.m b/GoogleUtilities/Example/Tests/Environment/GULAppEnvironmentUtilTest.m index 62a7bf8..dc8923b 100644 --- a/GoogleUtilities/Example/Tests/Environment/GULAppEnvironmentUtilTest.m +++ b/GoogleUtilities/Example/Tests/Environment/GULAppEnvironmentUtilTest.m @@ -38,6 +38,9 @@ [_processInfoMock stopMocking]; } +// Remove the #if when iOS can remove iOS 7 support and also use processInfo instead of UIKit. +#if TARGET_OS_OSX || TARGET_OS_TV + - (void)testSystemVersionInfoMajorOnly { NSOperatingSystemVersion osTen = {.majorVersion = 10, .minorVersion = 0, .patchVersion = 0}; OCMStub([self.processInfoMock operatingSystemVersion]).andReturn(osTen); @@ -58,5 +61,6 @@ XCTAssertTrue([[GULAppEnvironmentUtil systemVersion] isEqualToString:@"10.2.1"]); } +#endif @end |