Remove 64-bit restriction from React Native tests
Reviewed By: majak Differential Revision: D3298189 fbshipit-source-id: f25b223d677a0ec8e1a665dd54de685e00d497b8
This commit is contained in:
parent
2f41c56f59
commit
6a3fc86778
|
@ -138,12 +138,6 @@ static ControlBlock propertiesUpdateBlock()
|
||||||
|
|
||||||
- (void)setUp
|
- (void)setUp
|
||||||
{
|
{
|
||||||
#if __LP64__
|
|
||||||
RCTAssert(NO, @"Tests should be run on 32-bit device simulators (e.g. iPhone 5)");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
NSOperatingSystemVersion version = [NSProcessInfo processInfo].operatingSystemVersion;
|
|
||||||
RCTAssert((version.majorVersion == 8 && version.minorVersion >= 3) || version.majorVersion >= 9, @"Tests should be run on iOS 8.3+, found %zd.%zd.%zd", version.majorVersion, version.minorVersion, version.patchVersion);
|
|
||||||
_runner = RCTInitRunnerForApp(@"IntegrationTests/RCTRootViewIntegrationTestApp", nil);
|
_runner = RCTInitRunnerForApp(@"IntegrationTests/RCTRootViewIntegrationTestApp", nil);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -31,12 +31,6 @@
|
||||||
|
|
||||||
- (void)setUp
|
- (void)setUp
|
||||||
{
|
{
|
||||||
#if __LP64__
|
|
||||||
RCTAssert(NO, @"Tests should be run on 32-bit device simulators (e.g. iPhone 5)");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
NSOperatingSystemVersion version = [NSProcessInfo processInfo].operatingSystemVersion;
|
|
||||||
RCTAssert((version.majorVersion == 8 && version.minorVersion >= 3) || version.majorVersion >= 9, @"Tests should be run on iOS 8.3+, found %zd.%zd.%zd", version.majorVersion, version.minorVersion, version.patchVersion);
|
|
||||||
_runner = RCTInitRunnerForApp(@"IntegrationTests/IntegrationTestsApp", nil);
|
_runner = RCTInitRunnerForApp(@"IntegrationTests/IntegrationTestsApp", nil);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,12 +32,6 @@
|
||||||
|
|
||||||
- (void)setUp
|
- (void)setUp
|
||||||
{
|
{
|
||||||
#if __LP64__
|
|
||||||
RCTAssert(NO, @"Tests should be run on 32-bit device simulators (e.g. iPhone 5)");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
NSOperatingSystemVersion version = [NSProcessInfo processInfo].operatingSystemVersion;
|
|
||||||
RCTAssert((version.majorVersion == 8 && version.minorVersion >= 3) || version.majorVersion >= 9, @"Tests should be run on iOS 8.3+, found %zd.%zd.%zd", version.majorVersion, version.minorVersion, version.patchVersion);
|
|
||||||
_runner = RCTInitRunnerForApp(@"Examples/UIExplorer/UIExplorerApp.ios", nil);
|
_runner = RCTInitRunnerForApp(@"Examples/UIExplorer/UIExplorerApp.ios", nil);
|
||||||
_runner.recordMode = NO;
|
_runner.recordMode = NO;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue