mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-11 08:04:23 +08:00
add tests
This commit is contained in:
@@ -22,6 +22,11 @@
|
||||
|
||||
+ (NSString *)getApplicationSupportDirectory;
|
||||
|
||||
// The below methods are only used during tests.
|
||||
+ (BOOL)isUsingTestConfiguration;
|
||||
+ (void)setUsingTestConfiguration:(BOOL)shouldUseTestConfiguration;
|
||||
+ (void)clearTestUpdates;
|
||||
|
||||
@end
|
||||
|
||||
@interface CodePushConfig : NSObject
|
||||
@@ -77,6 +82,10 @@ failCallback:(void (^)(NSError *err))failCallback;
|
||||
|
||||
+ (void)rollbackPackage;
|
||||
|
||||
// The below methods are only used during tests.
|
||||
+ (void)downloadAndReplaceCurrentBundle:(NSString *)remoteBundleUrl;
|
||||
+ (void)clearTestUpdates;
|
||||
|
||||
@end
|
||||
|
||||
typedef NS_ENUM(NSInteger, CodePushInstallMode) {
|
||||
|
||||
Reference in New Issue
Block a user