cocoapods-deintegrate 0.2.1 → 1.0.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (323) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/lib/cocoapods/command/deintegrate.rb +51 -0
  4. data/lib/cocoapods/deintegrate/gem_version.rb +3 -0
  5. data/lib/cocoapods/deintegrator.rb +123 -0
  6. data/lib/cocoapods_deintegrate.rb +2 -4
  7. data/lib/cocoapods_plugin.rb +4 -2
  8. metadata +14 -649
  9. data/.gitignore +0 -3
  10. data/Gemfile +0 -11
  11. data/Gemfile.lock +0 -74
  12. data/Rakefile +0 -19
  13. data/cocoapods_deintegrate.gemspec +0 -21
  14. data/lib/pod/command/deintegrate.rb +0 -153
  15. data/spec/command/deintegrate_spec.rb +0 -62
  16. data/spec/fixtures/Project/Frameworks/Podfile +0 -12
  17. data/spec/fixtures/Project/Frameworks/Podfile.lock +0 -42
  18. data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/QueryKit/QKAttribute.h +0 -210
  19. data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/QueryKit/QKQuerySet.h +0 -155
  20. data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/QueryKit/QueryKit.h +0 -19
  21. data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/Quick/NSString+QCKSelectorName.h +0 -17
  22. data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/Quick/QCKDSL.h +0 -211
  23. data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/Quick/Quick.h +0 -13
  24. data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/Quick/QuickConfiguration.h +0 -30
  25. data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/Quick/QuickSpec.h +0 -48
  26. data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/QueryKit/QKAttribute.h +0 -210
  27. data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/QueryKit/QKQuerySet.h +0 -155
  28. data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/QueryKit/QueryKit.h +0 -19
  29. data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/Quick/NSString+QCKSelectorName.h +0 -17
  30. data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/Quick/QCKDSL.h +0 -211
  31. data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/Quick/Quick.h +0 -13
  32. data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/Quick/QuickConfiguration.h +0 -30
  33. data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/Quick/QuickSpec.h +0 -48
  34. data/spec/fixtures/Project/Frameworks/Pods/Manifest.lock +0 -42
  35. data/spec/fixtures/Project/Frameworks/Pods/Pods.xcodeproj/project.pbxproj +0 -995
  36. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/LICENSE +0 -23
  37. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/Attribute.swift +0 -124
  38. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/Expression.swift +0 -41
  39. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKAttribute.h +0 -210
  40. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKAttribute.m +0 -315
  41. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKAttribute.swift +0 -13
  42. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKQuerySet.h +0 -155
  43. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKQuerySet.m +0 -314
  44. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKQuerySet.swift +0 -28
  45. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/Predicate.swift +0 -21
  46. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/QueryKit.h +0 -19
  47. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/QuerySet.swift +0 -237
  48. data/spec/fixtures/Project/Frameworks/Pods/QueryKit/README.md +0 -151
  49. data/spec/fixtures/Project/Frameworks/Pods/Quick/LICENSE +0 -201
  50. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Callsite.swift +0 -28
  51. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Configuration/Configuration.swift +0 -147
  52. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Configuration/QuickConfiguration.h +0 -30
  53. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Configuration/QuickConfiguration.m +0 -83
  54. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/DSL/DSL.swift +0 -227
  55. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/DSL/QCKDSL.h +0 -211
  56. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/DSL/QCKDSL.m +0 -70
  57. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/DSL/World+DSL.swift +0 -100
  58. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Example.swift +0 -103
  59. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/ExampleGroup.swift +0 -97
  60. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/ExampleMetadata.swift +0 -22
  61. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Failure.swift +0 -16
  62. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Filter.swift +0 -29
  63. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Hooks/Closures.swift +0 -35
  64. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Hooks/ExampleHooks.swift +0 -36
  65. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Hooks/SuiteHooks.swift +0 -34
  66. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/NSString+QCKSelectorName.h +0 -17
  67. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/NSString+QCKSelectorName.m +0 -33
  68. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Quick.h +0 -13
  69. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/QuickSpec.h +0 -48
  70. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/QuickSpec.m +0 -142
  71. data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/World.swift +0 -197
  72. data/spec/fixtures/Project/Frameworks/Pods/Quick/README.md +0 -979
  73. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Info.plist +0 -26
  74. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit-Private.xcconfig +0 -9
  75. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit-dummy.m +0 -5
  76. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit-prefix.pch +0 -5
  77. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit-umbrella.h +0 -9
  78. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit.modulemap +0 -6
  79. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit.xcconfig b/data/spec/fixtures/Project/Frameworks/Pods/Target Support → Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit.xcconfig +0 -0
  80. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Info.plist +0 -26
  81. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-acknowledgements.markdown +0 -30
  82. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-acknowledgements.plist +0 -60
  83. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-dummy.m +0 -5
  84. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-environment.h +0 -74
  85. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-frameworks.sh +0 -55
  86. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-resources.sh +0 -74
  87. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-umbrella.h +0 -6
  88. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject.debug.xcconfig +0 -9
  89. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject.modulemap +0 -6
  90. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject.release.xcconfig +0 -9
  91. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Info.plist +0 -26
  92. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick-Private.xcconfig +0 -9
  93. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick-dummy.m +0 -5
  94. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick-prefix.pch +0 -5
  95. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick-umbrella.h +0 -11
  96. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick.modulemap +0 -6
  97. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick.xcconfig +0 -2
  98. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Info.plist +0 -26
  99. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-acknowledgements.markdown +0 -208
  100. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-acknowledgements.plist +0 -238
  101. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-dummy.m +0 -5
  102. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-environment.h +0 -14
  103. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-frameworks.sh +0 -55
  104. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-resources.sh +0 -74
  105. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-umbrella.h +0 -6
  106. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests.debug.xcconfig +0 -9
  107. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests.modulemap +0 -6
  108. data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests.release.xcconfig +0 -9
  109. data/spec/fixtures/Project/Frameworks/TestProject.xcodeproj/project.pbxproj +0 -557
  110. data/spec/fixtures/Project/Frameworks/TestProject.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
  111. data/spec/fixtures/Project/Frameworks/TestProject.xcworkspace/contents.xcworkspacedata +0 -10
  112. data/spec/fixtures/Project/Frameworks/TestProject/AppDelegate.swift +0 -46
  113. data/spec/fixtures/Project/Frameworks/TestProject/Base.lproj/LaunchScreen.xib +0 -41
  114. data/spec/fixtures/Project/Frameworks/TestProject/Base.lproj/Main.storyboard +0 -25
  115. data/spec/fixtures/Project/Frameworks/TestProject/Images.xcassets/AppIcon.appiconset/Contents.json +0 -38
  116. data/spec/fixtures/Project/Frameworks/TestProject/Info.plist +0 -40
  117. data/spec/fixtures/Project/Frameworks/TestProject/ViewController.swift +0 -25
  118. data/spec/fixtures/Project/Frameworks/TestProjectTests/Info.plist +0 -24
  119. data/spec/fixtures/Project/Frameworks/TestProjectTests/TestProjectTests.swift +0 -36
  120. data/spec/fixtures/Project/None/TestProject.xcodeproj/project.pbxproj +0 -420
  121. data/spec/fixtures/Project/None/TestProject.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
  122. data/spec/fixtures/Project/None/TestProject/AppDelegate.swift +0 -46
  123. data/spec/fixtures/Project/None/TestProject/Base.lproj/LaunchScreen.xib +0 -41
  124. data/spec/fixtures/Project/None/TestProject/Base.lproj/Main.storyboard +0 -25
  125. data/spec/fixtures/Project/None/TestProject/Images.xcassets/AppIcon.appiconset/Contents.json +0 -38
  126. data/spec/fixtures/Project/None/TestProject/Info.plist +0 -40
  127. data/spec/fixtures/Project/None/TestProject/ViewController.swift +0 -25
  128. data/spec/fixtures/Project/None/TestProjectTests/Info.plist +0 -24
  129. data/spec/fixtures/Project/None/TestProjectTests/TestProjectTests.swift +0 -36
  130. data/spec/fixtures/Project/StaticLibraries/Podfile +0 -12
  131. data/spec/fixtures/Project/StaticLibraries/Podfile.lock +0 -13
  132. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/LICENSE +0 -19
  133. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/README.md +0 -308
  134. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPBackwardCompatibility.h +0 -42
  135. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPBackwardCompatibility.m +0 -17
  136. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPBlockDefinedMatcher.h +0 -25
  137. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPBlockDefinedMatcher.m +0 -60
  138. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPDefines.h +0 -17
  139. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPDoubleTuple.h +0 -13
  140. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPDoubleTuple.m +0 -42
  141. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPExpect.h +0 -45
  142. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPExpect.m +0 -214
  143. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPFloatTuple.h +0 -13
  144. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPFloatTuple.m +0 -42
  145. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPMatcher.h +0 -20
  146. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPUnsupportedObject.h +0 -11
  147. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPUnsupportedObject.m +0 -20
  148. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/Expecta.h +0 -27
  149. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/Expecta.m +0 -15
  150. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/ExpectaSupport.h +0 -64
  151. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/ExpectaSupport.m +0 -187
  152. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/NSObject+Expecta.h +0 -14
  153. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/NSValue+Expecta.h +0 -8
  154. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/NSValue+Expecta.m +0 -21
  155. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatcherHelpers.h +0 -4
  156. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatcherHelpers.m +0 -9
  157. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beCloseTo.h +0 -7
  158. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beCloseTo.m +0 -49
  159. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beFalsy.h +0 -3
  160. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beFalsy.m +0 -24
  161. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThan.h +0 -6
  162. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThan.m +0 -20
  163. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThanOrEqualTo.h +0 -6
  164. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThanOrEqualTo.m +0 -20
  165. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beIdenticalTo.h +0 -10
  166. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beIdenticalTo.m +0 -24
  167. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beInTheRangeOf.h +0 -6
  168. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beInTheRangeOf.m +0 -30
  169. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beInstanceOf.h +0 -7
  170. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beInstanceOf.m +0 -27
  171. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beKindOf.h +0 -5
  172. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beKindOf.m +0 -27
  173. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beLessThan.h +0 -6
  174. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beLessThan.m +0 -20
  175. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beLessThanOrEqualTo.h +0 -6
  176. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beLessThanOrEqualTo.m +0 -20
  177. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beNil.h +0 -5
  178. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beNil.m +0 -16
  179. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beSubclassOf.h +0 -5
  180. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beSubclassOf.m +0 -27
  181. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beSupersetOf.h +0 -4
  182. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beSupersetOf.m +0 -57
  183. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beTruthy.h +0 -3
  184. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beTruthy.m +0 -24
  185. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beginWith.h +0 -5
  186. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beginWith.m +0 -49
  187. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+conformTo.h +0 -3
  188. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+conformTo.m +0 -33
  189. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+contain.h +0 -5
  190. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+contain.m +0 -38
  191. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+endWith.h +0 -3
  192. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+endWith.m +0 -49
  193. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+equal.h +0 -5
  194. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+equal.m +0 -24
  195. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+haveCountOf.h +0 -10
  196. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+haveCountOf.m +0 -36
  197. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+notify.h +0 -4
  198. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+notify.m +0 -63
  199. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+raise.h +0 -4
  200. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+raise.m +0 -30
  201. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+raiseWithReason.h +0 -3
  202. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+raiseWithReason.m +0 -35
  203. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+respondTo.h +0 -3
  204. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+respondTo.m +0 -28
  205. data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers.h +0 -24
  206. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPBackwardCompatibility.h +0 -42
  207. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPBlockDefinedMatcher.h +0 -25
  208. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPDefines.h +0 -17
  209. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPDoubleTuple.h +0 -13
  210. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPExpect.h +0 -45
  211. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPFloatTuple.h +0 -13
  212. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatcher.h +0 -20
  213. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatcherHelpers.h +0 -4
  214. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beCloseTo.h +0 -7
  215. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beFalsy.h +0 -3
  216. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beGreaterThan.h +0 -6
  217. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beGreaterThanOrEqualTo.h +0 -6
  218. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beIdenticalTo.h +0 -10
  219. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beInTheRangeOf.h +0 -6
  220. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beInstanceOf.h +0 -7
  221. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beKindOf.h +0 -5
  222. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beLessThan.h +0 -6
  223. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beLessThanOrEqualTo.h +0 -6
  224. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beNil.h +0 -5
  225. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beSubclassOf.h +0 -5
  226. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beSupersetOf.h +0 -4
  227. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beTruthy.h +0 -3
  228. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beginWith.h +0 -5
  229. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+conformTo.h +0 -3
  230. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+contain.h +0 -5
  231. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+endWith.h +0 -3
  232. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+equal.h +0 -5
  233. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+haveCountOf.h +0 -10
  234. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+notify.h +0 -4
  235. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+raise.h +0 -4
  236. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+raiseWithReason.h +0 -3
  237. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+respondTo.h +0 -3
  238. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers.h +0 -24
  239. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPUnsupportedObject.h +0 -11
  240. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/Expecta.h +0 -27
  241. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/ExpectaSupport.h +0 -64
  242. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/NSObject+Expecta.h +0 -14
  243. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/NSValue+Expecta.h +0 -8
  244. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/NSAttributedString+CCLFormat/NSAttributedString+CCLFormat.h +0 -21
  245. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPBackwardCompatibility.h +0 -42
  246. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPBlockDefinedMatcher.h +0 -25
  247. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPDefines.h +0 -17
  248. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPDoubleTuple.h +0 -13
  249. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPExpect.h +0 -45
  250. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPFloatTuple.h +0 -13
  251. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatcher.h +0 -20
  252. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatcherHelpers.h +0 -4
  253. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beCloseTo.h +0 -7
  254. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beFalsy.h +0 -3
  255. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beGreaterThan.h +0 -6
  256. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beGreaterThanOrEqualTo.h +0 -6
  257. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beIdenticalTo.h +0 -10
  258. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beInTheRangeOf.h +0 -6
  259. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beInstanceOf.h +0 -7
  260. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beKindOf.h +0 -5
  261. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beLessThan.h +0 -6
  262. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beLessThanOrEqualTo.h +0 -6
  263. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beNil.h +0 -5
  264. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beSubclassOf.h +0 -5
  265. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beSupersetOf.h +0 -4
  266. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beTruthy.h +0 -3
  267. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beginWith.h +0 -5
  268. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+conformTo.h +0 -3
  269. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+contain.h +0 -5
  270. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+endWith.h +0 -3
  271. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+equal.h +0 -5
  272. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+haveCountOf.h +0 -10
  273. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+notify.h +0 -4
  274. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+raise.h +0 -4
  275. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+raiseWithReason.h +0 -3
  276. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+respondTo.h +0 -3
  277. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers.h +0 -24
  278. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPUnsupportedObject.h +0 -11
  279. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/Expecta.h +0 -27
  280. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/ExpectaSupport.h +0 -64
  281. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/NSObject+Expecta.h +0 -14
  282. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/NSValue+Expecta.h +0 -8
  283. data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/NSAttributedString+CCLFormat/NSAttributedString+CCLFormat.h +0 -21
  284. data/spec/fixtures/Project/StaticLibraries/Pods/Manifest.lock +0 -13
  285. data/spec/fixtures/Project/StaticLibraries/Pods/NSAttributedString+CCLFormat/LICENSE +0 -23
  286. data/spec/fixtures/Project/StaticLibraries/Pods/NSAttributedString+CCLFormat/NSAttributedString+CCLFormat.h +0 -21
  287. data/spec/fixtures/Project/StaticLibraries/Pods/NSAttributedString+CCLFormat/NSAttributedString+CCLFormat.m +0 -51
  288. data/spec/fixtures/Project/StaticLibraries/Pods/NSAttributedString+CCLFormat/README.md +0 -57
  289. data/spec/fixtures/Project/StaticLibraries/Pods/Pods.xcodeproj/project.pbxproj +0 -943
  290. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject-NSAttributedString+CCLFormat/Pods-TestProject-NSAttributedString+CCLFormat-Private.xcconfig +0 -5
  291. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject-NSAttributedString+CCLFormat/Pods-TestProject-NSAttributedString+CCLFormat-dummy.m +0 -5
  292. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject-NSAttributedString+CCLFormat/Pods-TestProject-NSAttributedString+CCLFormat-prefix.pch +0 -5
  293. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject-NSAttributedString+CCLFormat/Pods-TestProject-NSAttributedString+CCLFormat.xcconfig b/data/spec/fixtures/Project/StaticLibraries/Pods/Target Support → Files/Pods-TestProject-NSAttributedString+CCLFormat/Pods-TestProject-NSAttributedString+CCLFormat.xcconfig +0 -0
  294. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-acknowledgements.markdown +0 -30
  295. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-acknowledgements.plist +0 -60
  296. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-dummy.m +0 -5
  297. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-environment.h +0 -14
  298. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-resources.sh +0 -74
  299. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject.debug.xcconfig +0 -6
  300. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject.release.xcconfig +0 -6
  301. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests-Expecta/Pods-TestProjectTests-Expecta-Private.xcconfig +0 -5
  302. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests-Expecta/Pods-TestProjectTests-Expecta-dummy.m +0 -5
  303. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests-Expecta/Pods-TestProjectTests-Expecta-prefix.pch +0 -5
  304. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests-Expecta/Pods-TestProjectTests-Expecta.xcconfig +0 -1
  305. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-acknowledgements.markdown +0 -26
  306. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-acknowledgements.plist +0 -56
  307. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-dummy.m +0 -5
  308. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-environment.h +0 -14
  309. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-resources.sh +0 -74
  310. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests.debug.xcconfig +0 -6
  311. data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests.release.xcconfig +0 -6
  312. data/spec/fixtures/Project/StaticLibraries/TestProject.xcodeproj/project.pbxproj +0 -525
  313. data/spec/fixtures/Project/StaticLibraries/TestProject.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
  314. data/spec/fixtures/Project/StaticLibraries/TestProject.xcworkspace/contents.xcworkspacedata +0 -10
  315. data/spec/fixtures/Project/StaticLibraries/TestProject/AppDelegate.swift +0 -46
  316. data/spec/fixtures/Project/StaticLibraries/TestProject/Base.lproj/LaunchScreen.xib +0 -41
  317. data/spec/fixtures/Project/StaticLibraries/TestProject/Base.lproj/Main.storyboard +0 -25
  318. data/spec/fixtures/Project/StaticLibraries/TestProject/Images.xcassets/AppIcon.appiconset/Contents.json +0 -38
  319. data/spec/fixtures/Project/StaticLibraries/TestProject/Info.plist +0 -40
  320. data/spec/fixtures/Project/StaticLibraries/TestProject/ViewController.swift +0 -25
  321. data/spec/fixtures/Project/StaticLibraries/TestProjectTests/Info.plist +0 -24
  322. data/spec/fixtures/Project/StaticLibraries/TestProjectTests/TestProjectTests.swift +0 -36
  323. data/spec/spec_helper.rb +0 -29
@@ -1,227 +0,0 @@
1
- /**
2
- Defines a closure to be run prior to any examples in the test suite.
3
- You may define an unlimited number of these closures, but there is no
4
- guarantee as to the order in which they're run.
5
-
6
- If the test suite crashes before the first example is run, this closure
7
- will not be executed.
8
-
9
- :param: closure The closure to be run prior to any examples in the test suite.
10
- */
11
- public func beforeSuite(closure: BeforeSuiteClosure) {
12
- World.sharedWorld().beforeSuite(closure)
13
- }
14
-
15
- /**
16
- Defines a closure to be run after all of the examples in the test suite.
17
- You may define an unlimited number of these closures, but there is no
18
- guarantee as to the order in which they're run.
19
-
20
- If the test suite crashes before all examples are run, this closure
21
- will not be executed.
22
-
23
- :param: closure The closure to be run after all of the examples in the test suite.
24
- */
25
- public func afterSuite(closure: AfterSuiteClosure) {
26
- World.sharedWorld().afterSuite(closure)
27
- }
28
-
29
- /**
30
- Defines a group of shared examples. These examples can be re-used in several locations
31
- by using the `itBehavesLike` function.
32
-
33
- :param: name The name of the shared example group. This must be unique across all shared example
34
- groups defined in a test suite.
35
- :param: closure A closure containing the examples. This behaves just like an example group defined
36
- using `describe` or `context`--the closure may contain any number of `beforeEach`
37
- and `afterEach` closures, as well as any number of examples (defined using `it`).
38
- */
39
- public func sharedExamples(name: String, closure: () -> ()) {
40
- World.sharedWorld().sharedExamples(name, closure: { (NSDictionary) in closure() })
41
- }
42
-
43
- /**
44
- Defines a group of shared examples. These examples can be re-used in several locations
45
- by using the `itBehavesLike` function.
46
-
47
- :param: name The name of the shared example group. This must be unique across all shared example
48
- groups defined in a test suite.
49
- :param: closure A closure containing the examples. This behaves just like an example group defined
50
- using `describe` or `context`--the closure may contain any number of `beforeEach`
51
- and `afterEach` closures, as well as any number of examples (defined using `it`).
52
-
53
- The closure takes a SharedExampleContext as an argument. This context is a function
54
- that can be executed to retrieve parameters passed in via an `itBehavesLike` function.
55
- */
56
- public func sharedExamples(name: String, closure: SharedExampleClosure) {
57
- World.sharedWorld().sharedExamples(name, closure: closure)
58
- }
59
-
60
- /**
61
- Defines an example group. Example groups are logical groupings of examples.
62
- Example groups can share setup and teardown code.
63
-
64
- :param: description An arbitrary string describing the example group.
65
- :param: closure A closure that can contain other examples.
66
- :param: flags A mapping of string keys to booleans that can be used to filter examples or example groups.
67
- */
68
- public func describe(description: String, closure: () -> (), flags: FilterFlags = [:]) {
69
- World.sharedWorld().describe(description, closure: closure, flags: flags)
70
- }
71
-
72
- /**
73
- Defines an example group. Equivalent to `describe`.
74
- */
75
- public func context(description: String, closure: () -> (), flags: FilterFlags = [:]) {
76
- describe(description, closure, flags: flags)
77
- }
78
-
79
- /**
80
- Defines a closure to be run prior to each example in the current example
81
- group. This closure is not run for pending or otherwise disabled examples.
82
- An example group may contain an unlimited number of beforeEach. They'll be
83
- run in the order they're defined, but you shouldn't rely on that behavior.
84
-
85
- :param: closure The closure to be run prior to each example.
86
- */
87
- public func beforeEach(closure: BeforeExampleClosure) {
88
- World.sharedWorld().beforeEach(closure)
89
- }
90
-
91
- /**
92
- Identical to Quick.DSL.beforeEach, except the closure is provided with
93
- metadata on the example that the closure is being run prior to.
94
- */
95
- public func beforeEach(#closure: BeforeExampleWithMetadataClosure) {
96
- World.sharedWorld().beforeEach(closure: closure)
97
- }
98
-
99
- /**
100
- Defines a closure to be run after each example in the current example
101
- group. This closure is not run for pending or otherwise disabled examples.
102
- An example group may contain an unlimited number of afterEach. They'll be
103
- run in the order they're defined, but you shouldn't rely on that behavior.
104
-
105
- :param: closure The closure to be run after each example.
106
- */
107
- public func afterEach(closure: AfterExampleClosure) {
108
- World.sharedWorld().afterEach(closure)
109
- }
110
-
111
- /**
112
- Identical to Quick.DSL.afterEach, except the closure is provided with
113
- metadata on the example that the closure is being run after.
114
- */
115
- public func afterEach(#closure: AfterExampleWithMetadataClosure) {
116
- World.sharedWorld().afterEach(closure: closure)
117
- }
118
-
119
- /**
120
- Defines an example. Examples use assertions to demonstrate how code should
121
- behave. These are like "tests" in XCTest.
122
-
123
- :param: description An arbitrary string describing what the example is meant to specify.
124
- :param: closure A closure that can contain assertions.
125
- :param: flags A mapping of string keys to booleans that can be used to filter examples or example groups.
126
- Empty by default.
127
- :param: file The absolute path to the file containing the example. A sensible default is provided.
128
- :param: line The line containing the example. A sensible default is provided.
129
- */
130
- public func it(description: String, closure: () -> (), flags: FilterFlags = [:], file: String = __FILE__, line: Int = __LINE__) {
131
- World.sharedWorld().it(description, flags: flags, file: file, line: line, closure: closure)
132
- }
133
-
134
- /**
135
- Inserts the examples defined using a `sharedExamples` function into the current example group.
136
- The shared examples are executed at this location, as if they were written out manually.
137
-
138
- :param: name The name of the shared examples group to be executed. This must be identical to the
139
- name of a shared examples group defined using `sharedExamples`. If there are no shared
140
- examples that match the name given, an exception is thrown and the test suite will crash.
141
- :param: flags A mapping of string keys to booleans that can be used to filter examples or example groups.
142
- Empty by default.
143
- :param: file The absolute path to the file containing the current example group. A sensible default is provided.
144
- :param: line The line containing the current example group. A sensible default is provided.
145
- */
146
- public func itBehavesLike(name: String, flags: FilterFlags = [:], file: String = __FILE__, line: Int = __LINE__) {
147
- itBehavesLike(name, { return [:] }, flags: flags, file: file, line: line)
148
- }
149
-
150
- /**
151
- Inserts the examples defined using a `sharedExamples` function into the current example group.
152
- The shared examples are executed at this location, as if they were written out manually.
153
- This function also passes those shared examples a context that can be evaluated to give the shared
154
- examples extra information on the subject of the example.
155
-
156
- :param: name The name of the shared examples group to be executed. This must be identical to the
157
- name of a shared examples group defined using `sharedExamples`. If there are no shared
158
- examples that match the name given, an exception is thrown and the test suite will crash.
159
- :param: sharedExampleContext A closure that, when evaluated, returns key-value pairs that provide the
160
- shared examples with extra information on the subject of the example.
161
- :param: flags A mapping of string keys to booleans that can be used to filter examples or example groups.
162
- Empty by default.
163
- :param: file The absolute path to the file containing the current example group. A sensible default is provided.
164
- :param: line The line containing the current example group. A sensible default is provided.
165
- */
166
- public func itBehavesLike(name: String, sharedExampleContext: SharedExampleContext, flags: FilterFlags = [:], file: String = __FILE__, line: Int = __LINE__) {
167
- World.sharedWorld().itBehavesLike(name, sharedExampleContext: sharedExampleContext, flags: flags, file: file, line: line)
168
- }
169
-
170
- /**
171
- Defines an example or example group that should not be executed. Use `pending` to temporarily disable
172
- examples or groups that should not be run yet.
173
-
174
- :param: description An arbitrary string describing the example or example group.
175
- :param: closure A closure that will not be evaluated.
176
- */
177
- public func pending(description: String, closure: () -> ()) {
178
- World.sharedWorld().pending(description, closure: closure)
179
- }
180
-
181
- /**
182
- Use this to quickly mark a `describe` closure as pending.
183
- This disables all examples within the closure.
184
- */
185
- public func xdescribe(description: String, closure: () -> (), flags: FilterFlags) {
186
- World.sharedWorld().xdescribe(description, closure: closure, flags: flags)
187
- }
188
-
189
- /**
190
- Use this to quickly mark a `context` closure as pending.
191
- This disables all examples within the closure.
192
- */
193
- public func xcontext(description: String, closure: () -> (), flags: FilterFlags) {
194
- xdescribe(description, closure, flags)
195
- }
196
-
197
- /**
198
- Use this to quickly mark an `it` closure as pending.
199
- This disables the example and ensures the code within the closure is never run.
200
- */
201
- public func xit(description: String, closure: () -> (), flags: FilterFlags = [:], file: String = __FILE__, line: Int = __LINE__) {
202
- World.sharedWorld().xit(description, flags: flags, file: file, line: line, closure: closure)
203
- }
204
-
205
- /**
206
- Use this to quickly focus a `describe` closure, focusing the examples in the closure.
207
- If any examples in the test suite are focused, only those examples are executed.
208
- This trumps any explicitly focused or unfocused examples within the closure--they are all treated as focused.
209
- */
210
- public func fdescribe(description: String, closure: () -> (), flags: FilterFlags = [:]) {
211
- World.sharedWorld().fdescribe(description, closure: closure, flags: flags)
212
- }
213
-
214
- /**
215
- Use this to quickly focus a `context` closure. Equivalent to `fdescribe`.
216
- */
217
- public func fcontext(description: String, closure: () -> (), flags: FilterFlags = [:]) {
218
- fdescribe(description, closure, flags: flags)
219
- }
220
-
221
- /**
222
- Use this to quickly focus an `it` closure, focusing the example.
223
- If any examples in the test suite are focused, only those examples are executed.
224
- */
225
- public func fit(description: String, closure: () -> (), flags: FilterFlags = [:], file: String = __FILE__, line: Int = __LINE__) {
226
- World.sharedWorld().fit(description, flags: flags, file: file, line: line, closure: closure)
227
- }
@@ -1,211 +0,0 @@
1
- #import <Foundation/Foundation.h>
2
-
3
- /**
4
- Provides a hook for Quick to be configured before any examples are run.
5
- Within this scope, override the +[QuickConfiguration configure:] method
6
- to set properties on a configuration object to customize Quick behavior.
7
- For details, see the documentation for Configuraiton.swift.
8
-
9
- @param name The name of the configuration class. Like any Objective-C
10
- class name, this must be unique to the current runtime
11
- environment.
12
- */
13
- #define QuickConfigurationBegin(name) \
14
- @interface name : QuickConfiguration; @end \
15
- @implementation name \
16
-
17
-
18
- /**
19
- Marks the end of a Quick configuration.
20
- Make sure you put this after `QuickConfigurationBegin`.
21
- */
22
- #define QuickConfigurationEnd \
23
- @end \
24
-
25
-
26
- /**
27
- Defines a new QuickSpec. Define examples and example groups within the space
28
- between this and `QuickSpecEnd`.
29
-
30
- @param name The name of the spec class. Like any Objective-C class name, this
31
- must be unique to the current runtime environment.
32
- */
33
- #define QuickSpecBegin(name) \
34
- @interface name : QuickSpec; @end \
35
- @implementation name \
36
- - (void)spec { \
37
-
38
-
39
- /**
40
- Marks the end of a QuickSpec. Make sure you put this after `QuickSpecBegin`.
41
- */
42
- #define QuickSpecEnd \
43
- } \
44
- @end \
45
-
46
- typedef NSDictionary *(^QCKDSLSharedExampleContext)(void);
47
- typedef void (^QCKDSLSharedExampleBlock)(QCKDSLSharedExampleContext);
48
- typedef void (^QCKDSLEmptyBlock)(void);
49
-
50
- extern void qck_beforeSuite(QCKDSLEmptyBlock closure);
51
- extern void qck_afterSuite(QCKDSLEmptyBlock closure);
52
- extern void qck_sharedExamples(NSString *name, QCKDSLSharedExampleBlock closure);
53
- extern void qck_describe(NSString *description, QCKDSLEmptyBlock closure);
54
- extern void qck_context(NSString *description, QCKDSLEmptyBlock closure);
55
- extern void qck_beforeEach(QCKDSLEmptyBlock closure);
56
- extern void qck_afterEach(QCKDSLEmptyBlock closure);
57
- extern void qck_pending(NSString *description, QCKDSLEmptyBlock closure);
58
- extern void qck_xdescribe(NSString *description, QCKDSLEmptyBlock closure);
59
- extern void qck_xcontext(NSString *description, QCKDSLEmptyBlock closure);
60
- extern void qck_fdescribe(NSString *description, QCKDSLEmptyBlock closure);
61
- extern void qck_fcontext(NSString *description, QCKDSLEmptyBlock closure);
62
-
63
- #ifndef QUICK_DISABLE_SHORT_SYNTAX
64
- /**
65
- Defines a closure to be run prior to any examples in the test suite.
66
- You may define an unlimited number of these closures, but there is no
67
- guarantee as to the order in which they're run.
68
-
69
- If the test suite crashes before the first example is run, this closure
70
- will not be executed.
71
-
72
- @param closure The closure to be run prior to any examples in the test suite.
73
- */
74
- static inline void beforeSuite(QCKDSLEmptyBlock closure) {
75
- qck_beforeSuite(closure);
76
- }
77
-
78
-
79
- /**
80
- Defines a closure to be run after all of the examples in the test suite.
81
- You may define an unlimited number of these closures, but there is no
82
- guarantee as to the order in which they're run.
83
-
84
- If the test suite crashes before all examples are run, this closure
85
- will not be executed.
86
-
87
- @param closure The closure to be run after all of the examples in the test suite.
88
- */
89
- static inline void afterSuite(QCKDSLEmptyBlock closure) {
90
- qck_afterSuite(closure);
91
- }
92
-
93
- /**
94
- Defines a group of shared examples. These examples can be re-used in several locations
95
- by using the `itBehavesLike` function.
96
-
97
- @param name The name of the shared example group. This must be unique across all shared example
98
- groups defined in a test suite.
99
- @param closure A closure containing the examples. This behaves just like an example group defined
100
- using `describe` or `context`--the closure may contain any number of `beforeEach`
101
- and `afterEach` closures, as well as any number of examples (defined using `it`).
102
- */
103
- static inline void sharedExamples(NSString *name, QCKDSLSharedExampleBlock closure) {
104
- qck_sharedExamples(name, closure);
105
- }
106
-
107
- /**
108
- Defines an example group. Example groups are logical groupings of examples.
109
- Example groups can share setup and teardown code.
110
-
111
- @param description An arbitrary string describing the example group.
112
- @param closure A closure that can contain other examples.
113
- */
114
- static inline void describe(NSString *description, QCKDSLEmptyBlock closure) {
115
- qck_describe(description, closure);
116
- }
117
-
118
- /**
119
- Defines an example group. Equivalent to `describe`.
120
- */
121
- static inline void context(NSString *description, QCKDSLEmptyBlock closure) {
122
- qck_context(description, closure);
123
- }
124
-
125
- /**
126
- Defines a closure to be run prior to each example in the current example
127
- group. This closure is not run for pending or otherwise disabled examples.
128
- An example group may contain an unlimited number of beforeEach. They'll be
129
- run in the order they're defined, but you shouldn't rely on that behavior.
130
-
131
- @param closure The closure to be run prior to each example.
132
- */
133
- static inline void beforeEach(QCKDSLEmptyBlock closure) {
134
- qck_beforeEach(closure);
135
- }
136
-
137
- /**
138
- Defines a closure to be run after each example in the current example
139
- group. This closure is not run for pending or otherwise disabled examples.
140
- An example group may contain an unlimited number of afterEach. They'll be
141
- run in the order they're defined, but you shouldn't rely on that behavior.
142
-
143
- @param closure The closure to be run after each example.
144
- */
145
- static inline void afterEach(QCKDSLEmptyBlock closure) {
146
- qck_afterEach(closure);
147
- }
148
-
149
- /**
150
- Defines an example or example group that should not be executed. Use `pending` to temporarily disable
151
- examples or groups that should not be run yet.
152
-
153
- @param description An arbitrary string describing the example or example group.
154
- @param closure A closure that will not be evaluated.
155
- */
156
- static inline void pending(NSString *description, QCKDSLEmptyBlock closure) {
157
- qck_pending(description, closure);
158
- }
159
-
160
- /**
161
- Use this to quickly mark a `describe` block as pending.
162
- This disables all examples within the block.
163
- */
164
- static inline void xdescribe(NSString *description, QCKDSLEmptyBlock closure) {
165
- qck_xdescribe(description, closure);
166
- }
167
-
168
- /**
169
- Use this to quickly mark a `context` block as pending.
170
- This disables all examples within the block.
171
- */
172
- static inline void xcontext(NSString *description, QCKDSLEmptyBlock closure) {
173
- qck_xcontext(description, closure);
174
- }
175
-
176
- /**
177
- Use this to quickly focus a `describe` block, focusing the examples in the block.
178
- If any examples in the test suite are focused, only those examples are executed.
179
- This trumps any explicitly focused or unfocused examples within the block--they are all treated as focused.
180
- */
181
- static inline void fdescribe(NSString *description, QCKDSLEmptyBlock closure) {
182
- qck_fdescribe(description, closure);
183
- }
184
-
185
- /**
186
- Use this to quickly focus a `context` block. Equivalent to `fdescribe`.
187
- */
188
- static inline void fcontext(NSString *description, QCKDSLEmptyBlock closure) {
189
- qck_fcontext(description, closure);
190
- }
191
-
192
- #define it qck_it
193
- #define xit qck_xit
194
- #define fit qck_fit
195
- #define itBehavesLike qck_itBehavesLike
196
- #define xitBehavesLike qck_xitBehavesLike
197
- #define fitBehavesLike qck_fitBehavesLike
198
- #endif
199
-
200
- #define qck_it qck_it_builder(@{}, @(__FILE__), __LINE__)
201
- #define qck_xit qck_it_builder(@{Filter.pending: @YES}, @(__FILE__), __LINE__)
202
- #define qck_fit qck_it_builder(@{Filter.focused: @YES}, @(__FILE__), __LINE__)
203
- #define qck_itBehavesLike qck_itBehavesLike_builder(@{}, @(__FILE__), __LINE__)
204
- #define qck_xitBehavesLike qck_itBehavesLike_builder(@{Filter.pending: @YES}, @(__FILE__), __LINE__)
205
- #define qck_fitBehavesLike qck_itBehavesLike_builder(@{Filter.focused: @YES}, @(__FILE__), __LINE__)
206
-
207
- typedef void (^QCKItBlock)(NSString *description, QCKDSLEmptyBlock closure);
208
- typedef void (^QCKItBehavesLikeBlock)(NSString *descritpion, QCKDSLSharedExampleContext context);
209
-
210
- extern QCKItBlock qck_it_builder(NSDictionary *flags, NSString *file, NSUInteger line);
211
- extern QCKItBehavesLikeBlock qck_itBehavesLike_builder(NSDictionary *flags, NSString *file, NSUInteger line);
@@ -1,70 +0,0 @@
1
- #import "QCKDSL.h"
2
- #import <Quick/Quick-Swift.h>
3
-
4
- void qck_beforeSuite(QCKDSLEmptyBlock closure) {
5
- [[World sharedWorld] beforeSuite:closure];
6
- }
7
-
8
- void qck_afterSuite(QCKDSLEmptyBlock closure) {
9
- [[World sharedWorld] afterSuite:closure];
10
- }
11
-
12
- void qck_sharedExamples(NSString *name, QCKDSLSharedExampleBlock closure) {
13
- [[World sharedWorld] sharedExamples:name closure:closure];
14
- }
15
-
16
- void qck_describe(NSString *description, QCKDSLEmptyBlock closure) {
17
- [[World sharedWorld] describe:description closure:closure flags:@{}];
18
- }
19
-
20
- void qck_context(NSString *description, QCKDSLEmptyBlock closure) {
21
- qck_describe(description, closure);
22
- }
23
-
24
- void qck_beforeEach(QCKDSLEmptyBlock closure) {
25
- [[World sharedWorld] beforeEach:closure];
26
- }
27
-
28
- void qck_afterEach(QCKDSLEmptyBlock closure) {
29
- [[World sharedWorld] afterEach:closure];
30
- }
31
-
32
- QCKItBlock qck_it_builder(NSDictionary *flags, NSString *file, NSUInteger line) {
33
- return ^(NSString *description, QCKDSLEmptyBlock closure) {
34
- [[World sharedWorld] itWithDescription:description
35
- flags:flags
36
- file:file
37
- line:line
38
- closure:closure];
39
- };
40
- }
41
-
42
- QCKItBehavesLikeBlock qck_itBehavesLike_builder(NSDictionary *flags, NSString *file, NSUInteger line) {
43
- return ^(NSString *name, QCKDSLSharedExampleContext context) {
44
- [[World sharedWorld] itBehavesLikeSharedExampleNamed:name
45
- sharedExampleContext:context
46
- flags:flags
47
- file:file
48
- line:line];
49
- };
50
- }
51
-
52
- void qck_pending(NSString *description, QCKDSLEmptyBlock closure) {
53
- [[World sharedWorld] pending:description closure:closure];
54
- }
55
-
56
- void qck_xdescribe(NSString *description, QCKDSLEmptyBlock closure) {
57
- [[World sharedWorld] xdescribe:description closure:closure flags:@{}];
58
- }
59
-
60
- void qck_xcontext(NSString *description, QCKDSLEmptyBlock closure) {
61
- qck_xdescribe(description, closure);
62
- }
63
-
64
- void qck_fdescribe(NSString *description, QCKDSLEmptyBlock closure) {
65
- [[World sharedWorld] fdescribe:description closure:closure flags:@{}];
66
- }
67
-
68
- void qck_fcontext(NSString *description, QCKDSLEmptyBlock closure) {
69
- qck_fdescribe(description, closure);
70
- }