RACStreamExamples.h 767 B

123456789101112131415161718192021222324252627
  1. //
  2. // RACStreamExamples.h
  3. // ReactiveCocoa
  4. //
  5. // Created by Justin Spahr-Summers on 2012-11-01.
  6. // Copyright (c) 2012 GitHub, Inc. All rights reserved.
  7. //
  8. // The name of the shared examples for a RACStream subclass.
  9. extern NSString * const RACStreamExamples;
  10. // The RACStream subclass to test.
  11. extern NSString * const RACStreamExamplesClass;
  12. // An infinite RACStream to test, making sure that certain operations
  13. // terminate.
  14. //
  15. // The stream should contain infinite RACUnit values.
  16. extern NSString * const RACStreamExamplesInfiniteStream;
  17. // A block with the signature:
  18. //
  19. // void (^)(RACStream *stream, NSArray *expectedValues)
  20. //
  21. // … used to verify that a stream contains the expected values.
  22. extern NSString * const RACStreamExamplesVerifyValuesBlock;