FWABConditionalTest


@interface FWABConditionalTest : NSObject

AB条件测试类

  • 测试名称

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull name;
  • 默认版本

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) FWABVersion *_Nonnull defaultVersion;
  • 初始化方法

    Declaration

    Objective-C

    - (nonnull instancetype)initWithName:(NSString *_Nonnull)name
                          defaultVersion:(FWABVersion *_Nonnull)defaultVersion;
  • 添加版本和条件处理闭包

    Declaration

    Objective-C

    - (void)addVersion:(FWABVersion *_Nonnull)version
             condition:(BOOL (^_Nonnull __strong)(id _Nullable __strong))condition;
  • 运行测试

    Declaration

    Objective-C

    - (void)runWithValue:(id _Nullable)value;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)init SWIFT_UNAVAILABLE;
  • Unavailable

    -init is unavailable

    Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");