Added unit tests for RCTModuleMethod parsing, and fixed some edge cases

This commit is contained in:
Nick Lockwood
2015-07-28 13:09:22 -07:00
parent e964e741ef
commit b812b0ee2e
5 changed files with 177 additions and 41 deletions

View File

@@ -18,8 +18,8 @@ typedef NS_ENUM(NSUInteger, RCTJavaScriptFunctionKind) {
@interface RCTModuleMethod : NSObject
@property (nonatomic, copy, readonly) NSString *moduleClassName;
@property (nonatomic, copy, readonly) NSString *JSMethodName;
@property (nonatomic, strong, readonly) Class moduleClass;
@property (nonatomic, assign, readonly) SEL selector;
@property (nonatomic, assign, readonly) RCTJavaScriptFunctionKind functionKind;