KWSpec.h 889 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // Licensed under the terms in License.txt
  3. //
  4. // Copyright 2010 Allen Ding. All rights reserved.
  5. //
  6. #import "KiwiConfiguration.h"
  7. #import <XCTest/XCTest.h>
  8. #import "KWExpectationType.h"
  9. #import "KWVerifying.h"
  10. #import "KWExampleDelegate.h"
  11. @class KWCallSite;
  12. @interface KWSpec : XCTestCase<KWExampleDelegate>
  13. #pragma mark - Adding Verifiers
  14. + (id)addVerifier:(id<KWVerifying>)aVerifier;
  15. + (id)addExistVerifierWithExpectationType:(KWExpectationType)anExpectationType callSite:(KWCallSite *)aCallSite;
  16. + (id)addMatchVerifierWithExpectationType:(KWExpectationType)anExpectationType callSite:(KWCallSite *)aCallSite;
  17. + (id)addAsyncVerifierWithExpectationType:(KWExpectationType)anExpectationType callSite:(KWCallSite *)aCallSite timeout:(NSTimeInterval)timeout shouldWait:(BOOL)shouldWait;
  18. #pragma mark - Building Example Groups
  19. + (NSString *)file;
  20. + (void)buildExampleGroups;
  21. @end