Run rn-native-modules/specs/update_oss to stop tests from failing
Summary: Changelog: [Internal] Fix following test failure ``` Date: 2020-01-17 07:18:10.533721 Step JSON: {"name": "Test: Verify OSS NativeModules Specs for iOS are up-to-date.", "continue_after_user_failure": true, "timeout": 3600, "shell": "cd \"$(hg root)/xplat/js\" && NODE_ENV=test scripts/rn-native-modules/specs/update_oss ios", "env": {}} Command: cd "$(hg root)/xplat/js" && NODE_ENV=test scripts/rn-native-modules/specs/update_oss ios Exit code: 1 Stdout: Building OSS NativeModule Specs - platform: ios... Stderr: Starting new Buck daemon... Using additional configuration options from .buckconfig.local, /etc/buckconfig.d/sandcastle PARSING BUCK FILES: FINISHED IN 5.9s CREATING ACTION GRAPH: FINISHED IN 0.1s DOWNLOADED 0 ARTIFACTS, 0.00 BYTES, 0.0% CACHE MISS BUILDING: FINISHED IN 8.5s (100%) 1/1 JOBS, 1 UPDATED Top slow rules //xplat/js:FBReactNativeSpec-flow-types-ios: 0.1s BUILD SUCCEEDED More details at https://our.intern.facebook.com/intern/buck/build/d68bbc08-49cf-4ef5-8eba-51d79bea09ba Error: Spec files are not up-to-date, please re-run 'js1 build oss-native-modules-specs -p ios'! at main.then.updated (/data/sandcastle/boxes/trunk-hg-fbobjc-fbsource/xplat/js/scripts/rn-native-modules/specs/update-specs.js:96:15) ``` I ran `js1 build oss-native-modules-specs -p ios` to fix it. Reviewed By: PeteTheHeat Differential Revision: D19450371 fbshipit-source-id: 0957298ad70ad3e8feca96622cd29ed223438961
This commit is contained in:
Родитель
c40988cc22
Коммит
dd476d0506
|
@ -1722,12 +1722,6 @@ namespace facebook {
|
||||||
|
|
||||||
} // namespace react
|
} // namespace react
|
||||||
} // namespace facebook
|
} // namespace facebook
|
||||||
@implementation RCTCxxConvert (NativeNetworkingAndroid_Header)
|
|
||||||
+ (RCTManagedPointer *)JS_NativeNetworkingAndroid_Header:(id)json
|
|
||||||
{
|
|
||||||
return facebook::react::managedPointer<JS::NativeNetworkingAndroid::Header>(json);
|
|
||||||
}
|
|
||||||
@end
|
|
||||||
namespace facebook {
|
namespace facebook {
|
||||||
namespace react {
|
namespace react {
|
||||||
|
|
||||||
|
|
|
@ -1808,23 +1808,6 @@ namespace facebook {
|
||||||
};
|
};
|
||||||
} // namespace react
|
} // namespace react
|
||||||
} // namespace facebook
|
} // namespace facebook
|
||||||
|
|
||||||
namespace JS {
|
|
||||||
namespace NativeNetworkingAndroid {
|
|
||||||
struct Header {
|
|
||||||
NSString *first() const;
|
|
||||||
NSString *second() const;
|
|
||||||
|
|
||||||
Header(NSArray *const v) : _v(v) {}
|
|
||||||
private:
|
|
||||||
NSArray *_v;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@interface RCTCxxConvert (NativeNetworkingAndroid_Header)
|
|
||||||
+ (RCTManagedPointer *)JS_NativeNetworkingAndroid_Header:(id)json;
|
|
||||||
@end
|
|
||||||
@protocol NativeNetworkingAndroidSpec <RCTBridgeModule, RCTTurboModule>
|
@protocol NativeNetworkingAndroidSpec <RCTBridgeModule, RCTTurboModule>
|
||||||
|
|
||||||
- (void)sendRequest:(NSString *)method
|
- (void)sendRequest:(NSString *)method
|
||||||
|
@ -3551,16 +3534,6 @@ inline id<NSObject> JS::NativeLinking::SpecSendIntentExtrasElement::value() cons
|
||||||
id const p = _v[@"value"];
|
id const p = _v[@"value"];
|
||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
inline NSString *JS::NativeNetworkingAndroid::Header::first() const
|
|
||||||
{
|
|
||||||
id const p = _v[0];
|
|
||||||
return RCTBridgingToString(p);
|
|
||||||
}
|
|
||||||
inline NSString *JS::NativeNetworkingAndroid::Header::second() const
|
|
||||||
{
|
|
||||||
id const p = _v[1];
|
|
||||||
return RCTBridgingToString(p);
|
|
||||||
}
|
|
||||||
inline NSString *JS::NativeNetworkingIOS::SpecSendRequestQuery::method() const
|
inline NSString *JS::NativeNetworkingIOS::SpecSendRequestQuery::method() const
|
||||||
{
|
{
|
||||||
id const p = _v[@"method"];
|
id const p = _v[@"method"];
|
||||||
|
|
Загрузка…
Ссылка в новой задаче