iCuke 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. data/.gitmodules +1 -1
  2. data/Gemfile +12 -0
  3. data/Gemfile.lock +41 -0
  4. data/README.markdown +126 -0
  5. data/Rakefile +34 -12
  6. data/VERSION +1 -1
  7. data/bin/icuke +12 -10
  8. data/ext/Rakefile +6 -0
  9. data/ext/iCuke/{sdk3.1/DefaultsResponse.h → DefaultsResponse.h} +0 -0
  10. data/ext/iCuke/{sdk3.1/DefaultsResponse.m → DefaultsResponse.m} +0 -0
  11. data/ext/iCuke/{sdk3.1/EventResponse.h → EventResponse.h} +0 -0
  12. data/ext/iCuke/{sdk3.1/EventResponse.m → EventResponse.m} +0 -0
  13. data/ext/iCuke/{sdk3.1/ModuleResponse.h → ModuleResponse.h} +0 -0
  14. data/ext/iCuke/{sdk3.1/ModuleResponse.m → ModuleResponse.m} +0 -0
  15. data/ext/iCuke/{sdk3.1/QuitResponse.h → QuitResponse.h} +0 -0
  16. data/ext/iCuke/{sdk3.1/QuitResponse.m → QuitResponse.m} +0 -0
  17. data/ext/iCuke/Rakefile +14 -13
  18. data/ext/iCuke/{sdk3.1/Recorder.h → Recorder.h} +0 -0
  19. data/ext/iCuke/{sdk3.1/Recorder.m → Recorder.m} +0 -0
  20. data/ext/iCuke/{sdk3.1/RecorderResponse.h → RecorderResponse.h} +0 -0
  21. data/ext/iCuke/{sdk3.1/RecorderResponse.m → RecorderResponse.m} +0 -0
  22. data/ext/iCuke/{sdk3.1/SynthesizeSingleton.h → SynthesizeSingleton.h} +0 -0
  23. data/ext/iCuke/{sdk3.1/ViewResponse.h → ViewResponse.h} +0 -0
  24. data/ext/iCuke/{sdk3.1/ViewResponse.m → ViewResponse.m} +0 -0
  25. data/ext/iCuke/{sdk3.1/Viewer.h → Viewer.h} +0 -0
  26. data/ext/iCuke/{sdk4.0/Viewer.m → Viewer.m} +0 -0
  27. data/ext/iCuke/{sdk3.1/iCukeHTTPResponseHandler.h → iCukeHTTPResponseHandler.h} +0 -0
  28. data/ext/iCuke/{sdk3.1/iCukeHTTPResponseHandler.m → iCukeHTTPResponseHandler.m} +0 -0
  29. data/ext/iCuke/{sdk3.1/iCukeHTTPServer.h → iCukeHTTPServer.h} +0 -0
  30. data/ext/iCuke/{sdk4.0/iCukeHTTPServer.m → iCukeHTTPServer.m} +4 -2
  31. data/ext/iCuke/{sdk3.1/iCukeServer.h → iCukeServer.h} +0 -0
  32. data/ext/iCuke/{sdk3.1/iCukeServer.m → iCukeServer.m} +0 -0
  33. data/ext/iCuke/{sdk3.1/json → json}/JSON.h +0 -0
  34. data/ext/iCuke/{sdk3.1/json → json}/NSObject+SBJSON.h +0 -0
  35. data/ext/iCuke/{sdk3.1/json → json}/NSObject+SBJSON.m +0 -0
  36. data/ext/iCuke/{sdk3.1/json → json}/NSString+SBJSON.h +0 -0
  37. data/ext/iCuke/{sdk3.1/json → json}/NSString+SBJSON.m +0 -0
  38. data/ext/iCuke/{sdk3.1/json → json}/SBJSON.h +0 -0
  39. data/ext/iCuke/{sdk3.1/json → json}/SBJSON.m +0 -0
  40. data/ext/iCuke/{sdk3.1/json → json}/SBJsonBase.h +0 -0
  41. data/ext/iCuke/{sdk3.1/json → json}/SBJsonBase.m +0 -0
  42. data/ext/iCuke/{sdk3.1/json → json}/SBJsonParser.h +0 -0
  43. data/ext/iCuke/{sdk3.1/json → json}/SBJsonParser.m +0 -0
  44. data/ext/iCuke/{sdk3.1/json → json}/SBJsonWriter.h +0 -0
  45. data/ext/iCuke/{sdk3.1/json → json}/SBJsonWriter.m +0 -0
  46. data/features/starting_project.feature +18 -0
  47. data/features/step_definitions/shell.rb +41 -0
  48. data/features/support/env.rb +2 -0
  49. data/features/support/environment.rb +40 -0
  50. data/features/supported_sdks.feature +12 -0
  51. data/iCuke.gemspec +149 -161
  52. data/lib/icuke/configuration.rb +19 -0
  53. data/lib/icuke/core_ext.rb +27 -0
  54. data/lib/icuke/cucumber.rb +29 -265
  55. data/lib/icuke/cucumber_compat.rb +4 -0
  56. data/lib/icuke/icuke_world.rb +149 -0
  57. data/lib/icuke/sdk.rb +5 -13
  58. data/lib/icuke/simulator_driver.rb +201 -0
  59. data/lib/icuke/waxsim.rb +47 -9
  60. data/spec/cucumber_spec.rb +130 -0
  61. data/spec/fixtures/controls_page.xml +252 -0
  62. data/spec/process_spec.rb +76 -0
  63. data/spec/screen_spec.rb +173 -0
  64. data/spec/simulate_spec.rb +75 -0
  65. data/spec/simulator_spec.rb +28 -0
  66. data/spec/spec.opts +2 -0
  67. data/spec/spec_helper.rb +67 -0
  68. metadata +222 -121
  69. data/.gitignore +0 -15
  70. data/README.rdoc +0 -68
  71. data/ext/WaxSim/Simulator.h +0 -31
  72. data/ext/WaxSim/Simulator.m +0 -131
  73. data/ext/WaxSim/WaxSim.m +0 -110
  74. data/ext/WaxSim/WaxSim.xcodeproj/project.pbxproj +0 -238
  75. data/ext/WaxSim/WaxSim_Prefix.pch +0 -7
  76. data/ext/WaxSim/build/Release/waxsim +0 -0
  77. data/ext/WaxSim/build/Release/waxsim.dSYM/Contents/Info.plist +0 -20
  78. data/ext/WaxSim/build/Release/waxsim.dSYM/Contents/Resources/DWARF/waxsim +0 -0
  79. data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Objects-normal/x86_64/Simulator.o +0 -0
  80. data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Objects-normal/x86_64/WaxSim.o +0 -0
  81. data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Objects-normal/x86_64/waxsim.LinkFileList +0 -2
  82. data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/WaxSim.dep +0 -6
  83. data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/WaxSim~.dep +0 -6
  84. data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/build-state.dat +0 -227
  85. data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/build-state~.dat +0 -227
  86. data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim-all-target-headers.hmap +0 -0
  87. data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim-generated-files.hmap +0 -0
  88. data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim-own-target-headers.hmap +0 -0
  89. data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim-project-headers.hmap +0 -0
  90. data/ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim.hmap +0 -0
  91. data/ext/WaxSim/iPhoneSimulatorRemoteClient/iPhoneSimulatorRemoteClient.h +0 -126
  92. data/ext/iCuke/sdk3.1/Rakefile +0 -20
  93. data/ext/iCuke/sdk3.1/Viewer.m +0 -203
  94. data/ext/iCuke/sdk3.1/iCukeHTTPServer.m +0 -365
  95. data/ext/iCuke/sdk4.0/DefaultsResponse.h +0 -5
  96. data/ext/iCuke/sdk4.0/DefaultsResponse.m +0 -66
  97. data/ext/iCuke/sdk4.0/EventResponse.h +0 -5
  98. data/ext/iCuke/sdk4.0/EventResponse.m +0 -130
  99. data/ext/iCuke/sdk4.0/ModuleResponse.h +0 -5
  100. data/ext/iCuke/sdk4.0/ModuleResponse.m +0 -76
  101. data/ext/iCuke/sdk4.0/QuitResponse.h +0 -5
  102. data/ext/iCuke/sdk4.0/QuitResponse.m +0 -23
  103. data/ext/iCuke/sdk4.0/Rakefile +0 -20
  104. data/ext/iCuke/sdk4.0/Recorder.h +0 -17
  105. data/ext/iCuke/sdk4.0/Recorder.m +0 -90
  106. data/ext/iCuke/sdk4.0/RecorderResponse.h +0 -6
  107. data/ext/iCuke/sdk4.0/RecorderResponse.m +0 -68
  108. data/ext/iCuke/sdk4.0/SynthesizeSingleton.h +0 -68
  109. data/ext/iCuke/sdk4.0/ViewResponse.h +0 -5
  110. data/ext/iCuke/sdk4.0/ViewResponse.m +0 -84
  111. data/ext/iCuke/sdk4.0/Viewer.h +0 -8
  112. data/ext/iCuke/sdk4.0/iCukeHTTPResponseHandler.h +0 -50
  113. data/ext/iCuke/sdk4.0/iCukeHTTPResponseHandler.m +0 -381
  114. data/ext/iCuke/sdk4.0/iCukeHTTPServer.h +0 -53
  115. data/ext/iCuke/sdk4.0/iCukeServer.h +0 -14
  116. data/ext/iCuke/sdk4.0/iCukeServer.m +0 -65
  117. data/ext/iCuke/sdk4.0/json/JSON.h +0 -50
  118. data/ext/iCuke/sdk4.0/json/NSObject+SBJSON.h +0 -68
  119. data/ext/iCuke/sdk4.0/json/NSObject+SBJSON.m +0 -53
  120. data/ext/iCuke/sdk4.0/json/NSString+SBJSON.h +0 -58
  121. data/ext/iCuke/sdk4.0/json/NSString+SBJSON.m +0 -55
  122. data/ext/iCuke/sdk4.0/json/SBJSON.h +0 -75
  123. data/ext/iCuke/sdk4.0/json/SBJSON.m +0 -212
  124. data/ext/iCuke/sdk4.0/json/SBJsonBase.h +0 -86
  125. data/ext/iCuke/sdk4.0/json/SBJsonBase.m +0 -78
  126. data/ext/iCuke/sdk4.0/json/SBJsonParser.h +0 -87
  127. data/ext/iCuke/sdk4.0/json/SBJsonParser.m +0 -475
  128. data/ext/iCuke/sdk4.0/json/SBJsonWriter.h +0 -129
  129. data/ext/iCuke/sdk4.0/json/SBJsonWriter.m +0 -228
@@ -0,0 +1,75 @@
1
+ require 'spec/spec_helper'
2
+ require 'icuke'
3
+ require 'icuke/simulate'
4
+
5
+ describe ICuke::Simulate::Events::Touch do
6
+
7
+ before(:each) do
8
+ @touch = ICuke::Simulate::Events::Touch.new(:up, [[20, 30]])
9
+ end
10
+
11
+ it "should include the Location of the touch in the output" do
12
+ @touch.to_json.should include '"Location":{"X":20,"Y":30}'
13
+ end
14
+
15
+ it "should include the proper event type in the output" do
16
+ @touch.to_json.should include '"Type":3001'
17
+ end
18
+
19
+ it "should include the proper touch time (up/down)" do
20
+ @touch.to_json.should include '"Type":6'
21
+ @touch = ICuke::Simulate::Events::Touch.new(:down, [[20, 30]])
22
+ @touch.to_json.should include '"Type":1'
23
+ end
24
+
25
+ it "should include the proper window location" do
26
+ @touch.to_json.should include '"WindowLocation":{"X":20,"Y":30}'
27
+ end
28
+
29
+ end
30
+
31
+ describe ICuke::Simulate::Gestures::Tap do
32
+
33
+ it "should generate a down and up touch" do
34
+ tap = ICuke::Simulate::Gestures::Tap.new(20, 30)
35
+ tap.to_json.should include touch_output(1, 20, 30)
36
+ tap.to_json.should include touch_output(6, 20, 30)
37
+ end
38
+
39
+ end
40
+
41
+ describe ICuke::Simulate::Gestures::Swipe do
42
+
43
+ before(:each) do
44
+ @swipe = ICuke::Simulate::Gestures::Swipe.new(40, 60, 20, 30, 0.015, {})
45
+ end
46
+
47
+ it "should generate a down and up touch" do
48
+ @swipe.to_json.should include touch_output(1, 40, 60)
49
+ @swipe.to_json.should include touch_output(6, 20, 30)
50
+ end
51
+
52
+ it "should generate move touches" do
53
+ move_x, move_y = calculate_move(40, 60, 20, 30, 1)
54
+ @swipe.to_json.should include touch_output(2, move_x, move_y)
55
+ end
56
+
57
+ it "should generate multiple move touches when moving over distance" do
58
+ mx1, my1 = calculate_move(40, 60, 120, 130, 1)
59
+ @swipe = ICuke::Simulate::Gestures::Swipe.new(40, 60, 120, 130, 0.015, {})
60
+ 4.times do |i|
61
+ x, y = calculate_move(40, 60, 120, 130, i+1)
62
+ @swipe.to_json.should include touch_output(2, x, y)
63
+ end
64
+ end
65
+
66
+ it "should include the appropriate hold_for value in the output" do
67
+ times = timestamps(@swipe.to_json)
68
+ times[0].should == times[1] - 15000000
69
+ end
70
+
71
+ end
72
+
73
+
74
+
75
+
@@ -0,0 +1,28 @@
1
+ require 'spec/spec_helper'
2
+ require 'icuke/waxsim'
3
+
4
+ describe ICuke::Simulator do
5
+
6
+ describe :launch do
7
+ it "should run any setup commands" do
8
+ s = ICuke::Simulator.new
9
+ s.stub(:view).and_return(nil)
10
+
11
+ p = ICuke::Simulator::Process.new('foo', {:env => {}})
12
+ f = "/tmp/command_was_run.#{$$}"
13
+ p.stub(:setup_commands).and_return(["touch #{f}"])
14
+ p.stub(:with_launch_options).and_return(p)
15
+
16
+ BackgroundProcess.stub(:run).and_return(nil)
17
+
18
+ File.delete(f) rescue nil
19
+
20
+ ICuke::SDK.use('4.0')
21
+ s.launch(p)
22
+
23
+ File.exist?(f).should be_true
24
+ File.delete(f) rescue nil
25
+ end
26
+ end
27
+
28
+ end
data/spec/spec.opts ADDED
@@ -0,0 +1,2 @@
1
+ --colour
2
+ --format progress
@@ -0,0 +1,67 @@
1
+ require 'rubygems'
2
+
3
+ $:.unshift(File.dirname(__FILE__) + '/../lib')
4
+ require 'icuke'
5
+ $:.unshift(File.dirname(__FILE__))
6
+
7
+ begin
8
+ require 'rspec'
9
+ require 'rspec/autorun'
10
+ Rspec.configure do |c|
11
+ c.color_enabled = true
12
+ c.before(:each) do
13
+ ::Term::ANSIColor.coloring = true
14
+ end
15
+ end
16
+ rescue LoadError
17
+ require 'spec'
18
+ require 'spec/autorun'
19
+ Spec::Runner.configure do |c|
20
+ c.before(:each) do
21
+ ::Term::ANSIColor.coloring = true
22
+ end
23
+ end
24
+ end
25
+
26
+ require 'cucumber'
27
+
28
+
29
+ def calculate_move(x1, y1, x2, y2, step_num)
30
+ dx = x2 - x1
31
+ dy = y2 - y1
32
+ hypotenuse = Math.sqrt(dx*dx + dy*dy)
33
+ step = 25 / hypotenuse
34
+ return 40 + step_num * step * dx, 60 + step_num * step * dy
35
+ end
36
+
37
+ def touch_output(type, x, y)
38
+ '{"Data":{"Paths":[{"Size":{"X":1.0,"Y":1.0},"Location":{"X":' +
39
+ x.to_s +
40
+ ',"Y":' +
41
+ y.to_s +
42
+ '}}],"Delta":{"X":1,"Y":1},"Type":' +
43
+ type.to_s +
44
+ '}'
45
+ end
46
+
47
+ def timestamps(json)
48
+ segments = json.split('"Time":')
49
+ segments.delete_at 0
50
+ timestamps = []
51
+ segments.each do |segment|
52
+ timestamps << segment.split(',')[0].to_i
53
+ end
54
+ timestamps
55
+ end
56
+
57
+
58
+ def World
59
+ end
60
+ def After
61
+ end
62
+ def Given(something)
63
+ end
64
+ def When(something)
65
+ end
66
+ def Then(something)
67
+ end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iCuke
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 15
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 6
8
- - 3
9
- version: 0.6.3
9
+ - 4
10
+ version: 0.6.4
10
11
  platform: ruby
11
12
  authors:
12
13
  - Rob Holland
@@ -14,73 +15,211 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-07-03 00:00:00 +01:00
18
+ date: 2011-08-17 00:00:00 -04:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
- name: cucumber
22
- prerelease: false
23
22
  requirement: &id001 !ruby/object:Gem::Requirement
23
+ none: false
24
24
  requirements:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
+ hash: 3
27
28
  segments:
28
29
  - 0
29
30
  version: "0"
30
31
  type: :runtime
32
+ name: cucumber
33
+ prerelease: false
31
34
  version_requirements: *id001
32
35
  - !ruby/object:Gem::Dependency
33
- name: httparty
34
- prerelease: false
35
36
  requirement: &id002 !ruby/object:Gem::Requirement
37
+ none: false
36
38
  requirements:
37
39
  - - ">="
38
40
  - !ruby/object:Gem::Version
41
+ hash: 3
39
42
  segments:
40
43
  - 0
41
44
  version: "0"
42
45
  type: :runtime
46
+ name: rake
47
+ prerelease: false
43
48
  version_requirements: *id002
44
49
  - !ruby/object:Gem::Dependency
45
- name: nokogiri
46
- prerelease: false
47
50
  requirement: &id003 !ruby/object:Gem::Requirement
51
+ none: false
48
52
  requirements:
49
53
  - - ">="
50
54
  - !ruby/object:Gem::Version
55
+ hash: 3
51
56
  segments:
52
57
  - 0
53
58
  version: "0"
54
59
  type: :runtime
60
+ name: httparty
61
+ prerelease: false
55
62
  version_requirements: *id003
56
63
  - !ruby/object:Gem::Dependency
57
- name: background_process
58
- prerelease: false
59
64
  requirement: &id004 !ruby/object:Gem::Requirement
65
+ none: false
60
66
  requirements:
61
67
  - - ">="
62
68
  - !ruby/object:Gem::Version
69
+ hash: 3
63
70
  segments:
64
71
  - 0
65
72
  version: "0"
66
73
  type: :runtime
74
+ name: nokogiri
75
+ prerelease: false
67
76
  version_requirements: *id004
77
+ - !ruby/object:Gem::Dependency
78
+ requirement: &id005 !ruby/object:Gem::Requirement
79
+ none: false
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ hash: 3
84
+ segments:
85
+ - 0
86
+ version: "0"
87
+ type: :runtime
88
+ name: background_process
89
+ prerelease: false
90
+ version_requirements: *id005
91
+ - !ruby/object:Gem::Dependency
92
+ requirement: &id006 !ruby/object:Gem::Requirement
93
+ none: false
94
+ requirements:
95
+ - - <
96
+ - !ruby/object:Gem::Version
97
+ hash: 15
98
+ segments:
99
+ - 2
100
+ - 0
101
+ - 0
102
+ version: 2.0.0
103
+ type: :development
104
+ name: rspec
105
+ prerelease: false
106
+ version_requirements: *id006
107
+ - !ruby/object:Gem::Dependency
108
+ requirement: &id007 !ruby/object:Gem::Requirement
109
+ none: false
110
+ requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ hash: 3
114
+ segments:
115
+ - 0
116
+ version: "0"
117
+ type: :development
118
+ name: jeweler
119
+ prerelease: false
120
+ version_requirements: *id007
121
+ - !ruby/object:Gem::Dependency
122
+ requirement: &id008 !ruby/object:Gem::Requirement
123
+ none: false
124
+ requirements:
125
+ - - ">="
126
+ - !ruby/object:Gem::Version
127
+ hash: 3
128
+ segments:
129
+ - 0
130
+ version: "0"
131
+ type: :development
132
+ name: sandbox
133
+ prerelease: false
134
+ version_requirements: *id008
135
+ - !ruby/object:Gem::Dependency
136
+ requirement: &id009 !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ">="
140
+ - !ruby/object:Gem::Version
141
+ hash: 3
142
+ segments:
143
+ - 0
144
+ version: "0"
145
+ type: :runtime
146
+ name: cucumber
147
+ prerelease: false
148
+ version_requirements: *id009
149
+ - !ruby/object:Gem::Dependency
150
+ requirement: &id010 !ruby/object:Gem::Requirement
151
+ none: false
152
+ requirements:
153
+ - - ">="
154
+ - !ruby/object:Gem::Version
155
+ hash: 3
156
+ segments:
157
+ - 0
158
+ version: "0"
159
+ type: :runtime
160
+ name: httparty
161
+ prerelease: false
162
+ version_requirements: *id010
163
+ - !ruby/object:Gem::Dependency
164
+ requirement: &id011 !ruby/object:Gem::Requirement
165
+ none: false
166
+ requirements:
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ hash: 3
170
+ segments:
171
+ - 0
172
+ version: "0"
173
+ type: :runtime
174
+ name: nokogiri
175
+ prerelease: false
176
+ version_requirements: *id011
177
+ - !ruby/object:Gem::Dependency
178
+ requirement: &id012 !ruby/object:Gem::Requirement
179
+ none: false
180
+ requirements:
181
+ - - ">="
182
+ - !ruby/object:Gem::Version
183
+ hash: 3
184
+ segments:
185
+ - 0
186
+ version: "0"
187
+ type: :runtime
188
+ name: rake
189
+ prerelease: false
190
+ version_requirements: *id012
191
+ - !ruby/object:Gem::Dependency
192
+ requirement: &id013 !ruby/object:Gem::Requirement
193
+ none: false
194
+ requirements:
195
+ - - ">="
196
+ - !ruby/object:Gem::Version
197
+ hash: 3
198
+ segments:
199
+ - 0
200
+ version: "0"
201
+ type: :runtime
202
+ name: background_process
203
+ prerelease: false
204
+ version_requirements: *id013
68
205
  description: Cucumber support for iPhone applications
69
- email: rob@the-it-refinery.co.uk
206
+ email: jason.felice@bluefroggaming.com
70
207
  executables:
71
- - icuke
72
208
  - icuke-module
209
+ - icuke
210
+ - .gitignore
73
211
  extensions:
74
212
  - ext/Rakefile
75
213
  extra_rdoc_files:
76
214
  - LICENSE
77
- - README.rdoc
215
+ - README.markdown
78
216
  files:
79
- - .gitignore
80
217
  - .gitmodules
218
+ - Gemfile
219
+ - Gemfile.lock
81
220
  - History.txt
82
221
  - LICENSE
83
- - README.rdoc
222
+ - README.markdown
84
223
  - Rakefile
85
224
  - VERSION
86
225
  - app/.gitignore
@@ -115,147 +254,109 @@ files:
115
254
  - bin/icuke-module
116
255
  - ext/.gitignore
117
256
  - ext/Rakefile
118
- - ext/WaxSim/Simulator.h
119
- - ext/WaxSim/Simulator.m
120
- - ext/WaxSim/WaxSim.m
121
- - ext/WaxSim/WaxSim.xcodeproj/project.pbxproj
122
- - ext/WaxSim/WaxSim_Prefix.pch
123
- - ext/WaxSim/build/Release/waxsim
124
- - ext/WaxSim/build/Release/waxsim.dSYM/Contents/Info.plist
125
- - ext/WaxSim/build/Release/waxsim.dSYM/Contents/Resources/DWARF/waxsim
126
- - ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Objects-normal/x86_64/Simulator.o
127
- - ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Objects-normal/x86_64/WaxSim.o
128
- - ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/Objects-normal/x86_64/waxsim.LinkFileList
129
- - ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/WaxSim.dep
130
- - ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/WaxSim~.dep
131
- - ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/build-state.dat
132
- - ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/build-state~.dat
133
- - ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim-all-target-headers.hmap
134
- - ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim-generated-files.hmap
135
- - ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim-own-target-headers.hmap
136
- - ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim-project-headers.hmap
137
- - ext/WaxSim/build/WaxSim.build/Release/WaxSim.build/waxsim.hmap
138
- - ext/WaxSim/iPhoneSimulatorRemoteClient/iPhoneSimulatorRemoteClient.h
139
- - ext/bin/waxsim
140
257
  - ext/iCuke/.gitignore
258
+ - ext/iCuke/DefaultsResponse.h
259
+ - ext/iCuke/DefaultsResponse.m
260
+ - ext/iCuke/EventResponse.h
261
+ - ext/iCuke/EventResponse.m
262
+ - ext/iCuke/ModuleResponse.h
263
+ - ext/iCuke/ModuleResponse.m
264
+ - ext/iCuke/QuitResponse.h
265
+ - ext/iCuke/QuitResponse.m
141
266
  - ext/iCuke/Rakefile
142
- - ext/iCuke/libicuke-sdk3.1.dylib
143
- - ext/iCuke/libicuke-sdk4.0.dylib
144
- - ext/iCuke/libicuke.dylib
145
- - ext/iCuke/sdk3.1/DefaultsResponse.h
146
- - ext/iCuke/sdk3.1/DefaultsResponse.m
147
- - ext/iCuke/sdk3.1/EventResponse.h
148
- - ext/iCuke/sdk3.1/EventResponse.m
149
- - ext/iCuke/sdk3.1/ModuleResponse.h
150
- - ext/iCuke/sdk3.1/ModuleResponse.m
151
- - ext/iCuke/sdk3.1/QuitResponse.h
152
- - ext/iCuke/sdk3.1/QuitResponse.m
153
- - ext/iCuke/sdk3.1/Rakefile
154
- - ext/iCuke/sdk3.1/Recorder.h
155
- - ext/iCuke/sdk3.1/Recorder.m
156
- - ext/iCuke/sdk3.1/RecorderResponse.h
157
- - ext/iCuke/sdk3.1/RecorderResponse.m
158
- - ext/iCuke/sdk3.1/SynthesizeSingleton.h
159
- - ext/iCuke/sdk3.1/ViewResponse.h
160
- - ext/iCuke/sdk3.1/ViewResponse.m
161
- - ext/iCuke/sdk3.1/Viewer.h
162
- - ext/iCuke/sdk3.1/Viewer.m
163
- - ext/iCuke/sdk3.1/iCukeHTTPResponseHandler.h
164
- - ext/iCuke/sdk3.1/iCukeHTTPResponseHandler.m
165
- - ext/iCuke/sdk3.1/iCukeHTTPServer.h
166
- - ext/iCuke/sdk3.1/iCukeHTTPServer.m
167
- - ext/iCuke/sdk3.1/iCukeServer.h
168
- - ext/iCuke/sdk3.1/iCukeServer.m
169
- - ext/iCuke/sdk3.1/json/JSON.h
170
- - ext/iCuke/sdk3.1/json/NSObject+SBJSON.h
171
- - ext/iCuke/sdk3.1/json/NSObject+SBJSON.m
172
- - ext/iCuke/sdk3.1/json/NSString+SBJSON.h
173
- - ext/iCuke/sdk3.1/json/NSString+SBJSON.m
174
- - ext/iCuke/sdk3.1/json/SBJSON.h
175
- - ext/iCuke/sdk3.1/json/SBJSON.m
176
- - ext/iCuke/sdk3.1/json/SBJsonBase.h
177
- - ext/iCuke/sdk3.1/json/SBJsonBase.m
178
- - ext/iCuke/sdk3.1/json/SBJsonParser.h
179
- - ext/iCuke/sdk3.1/json/SBJsonParser.m
180
- - ext/iCuke/sdk3.1/json/SBJsonWriter.h
181
- - ext/iCuke/sdk3.1/json/SBJsonWriter.m
182
- - ext/iCuke/sdk4.0/DefaultsResponse.h
183
- - ext/iCuke/sdk4.0/DefaultsResponse.m
184
- - ext/iCuke/sdk4.0/EventResponse.h
185
- - ext/iCuke/sdk4.0/EventResponse.m
186
- - ext/iCuke/sdk4.0/ModuleResponse.h
187
- - ext/iCuke/sdk4.0/ModuleResponse.m
188
- - ext/iCuke/sdk4.0/QuitResponse.h
189
- - ext/iCuke/sdk4.0/QuitResponse.m
190
- - ext/iCuke/sdk4.0/Rakefile
191
- - ext/iCuke/sdk4.0/Recorder.h
192
- - ext/iCuke/sdk4.0/Recorder.m
193
- - ext/iCuke/sdk4.0/RecorderResponse.h
194
- - ext/iCuke/sdk4.0/RecorderResponse.m
195
- - ext/iCuke/sdk4.0/SynthesizeSingleton.h
196
- - ext/iCuke/sdk4.0/ViewResponse.h
197
- - ext/iCuke/sdk4.0/ViewResponse.m
198
- - ext/iCuke/sdk4.0/Viewer.h
199
- - ext/iCuke/sdk4.0/Viewer.m
200
- - ext/iCuke/sdk4.0/iCukeHTTPResponseHandler.h
201
- - ext/iCuke/sdk4.0/iCukeHTTPResponseHandler.m
202
- - ext/iCuke/sdk4.0/iCukeHTTPServer.h
203
- - ext/iCuke/sdk4.0/iCukeHTTPServer.m
204
- - ext/iCuke/sdk4.0/iCukeServer.h
205
- - ext/iCuke/sdk4.0/iCukeServer.m
206
- - ext/iCuke/sdk4.0/json/JSON.h
207
- - ext/iCuke/sdk4.0/json/NSObject+SBJSON.h
208
- - ext/iCuke/sdk4.0/json/NSObject+SBJSON.m
209
- - ext/iCuke/sdk4.0/json/NSString+SBJSON.h
210
- - ext/iCuke/sdk4.0/json/NSString+SBJSON.m
211
- - ext/iCuke/sdk4.0/json/SBJSON.h
212
- - ext/iCuke/sdk4.0/json/SBJSON.m
213
- - ext/iCuke/sdk4.0/json/SBJsonBase.h
214
- - ext/iCuke/sdk4.0/json/SBJsonBase.m
215
- - ext/iCuke/sdk4.0/json/SBJsonParser.h
216
- - ext/iCuke/sdk4.0/json/SBJsonParser.m
217
- - ext/iCuke/sdk4.0/json/SBJsonWriter.h
218
- - ext/iCuke/sdk4.0/json/SBJsonWriter.m
267
+ - ext/iCuke/Recorder.h
268
+ - ext/iCuke/Recorder.m
269
+ - ext/iCuke/RecorderResponse.h
270
+ - ext/iCuke/RecorderResponse.m
271
+ - ext/iCuke/SynthesizeSingleton.h
272
+ - ext/iCuke/ViewResponse.h
273
+ - ext/iCuke/ViewResponse.m
274
+ - ext/iCuke/Viewer.h
275
+ - ext/iCuke/Viewer.m
276
+ - ext/iCuke/iCukeHTTPResponseHandler.h
277
+ - ext/iCuke/iCukeHTTPResponseHandler.m
278
+ - ext/iCuke/iCukeHTTPServer.h
279
+ - ext/iCuke/iCukeHTTPServer.m
280
+ - ext/iCuke/iCukeServer.h
281
+ - ext/iCuke/iCukeServer.m
282
+ - ext/iCuke/json/JSON.h
283
+ - ext/iCuke/json/NSObject+SBJSON.h
284
+ - ext/iCuke/json/NSObject+SBJSON.m
285
+ - ext/iCuke/json/NSString+SBJSON.h
286
+ - ext/iCuke/json/NSString+SBJSON.m
287
+ - ext/iCuke/json/SBJSON.h
288
+ - ext/iCuke/json/SBJSON.m
289
+ - ext/iCuke/json/SBJsonBase.h
290
+ - ext/iCuke/json/SBJsonBase.m
291
+ - ext/iCuke/json/SBJsonParser.h
292
+ - ext/iCuke/json/SBJsonParser.m
293
+ - ext/iCuke/json/SBJsonWriter.h
294
+ - ext/iCuke/json/SBJsonWriter.m
219
295
  - features/iphone.feature
296
+ - features/starting_project.feature
297
+ - features/step_definitions/shell.rb
220
298
  - features/support/env.rb
299
+ - features/support/environment.rb
300
+ - features/supported_sdks.feature
221
301
  - iCuke.gemspec
222
302
  - lib/icuke.rb
303
+ - lib/icuke/configuration.rb
223
304
  - lib/icuke/core_ext.rb
224
305
  - lib/icuke/cucumber.rb
306
+ - lib/icuke/cucumber_compat.rb
307
+ - lib/icuke/icuke_world.rb
225
308
  - lib/icuke/screen.rb
226
309
  - lib/icuke/sdk.rb
227
310
  - lib/icuke/simulate.rb
228
311
  - lib/icuke/simulator.rb
312
+ - lib/icuke/simulator_driver.rb
229
313
  - lib/icuke/waxsim.rb
314
+ - spec/cucumber_spec.rb
315
+ - spec/fixtures/controls_page.xml
316
+ - spec/process_spec.rb
317
+ - spec/screen_spec.rb
318
+ - spec/simulate_spec.rb
319
+ - spec/simulator_spec.rb
320
+ - spec/spec.opts
321
+ - spec/spec_helper.rb
230
322
  has_rdoc: true
231
- homepage: http://github.com/unboxed/iCuke
323
+ homepage: http://github.com/BlueFrogGaming/iCuke
232
324
  licenses: []
233
325
 
234
326
  post_install_message:
235
- rdoc_options:
236
- - --charset=UTF-8
327
+ rdoc_options: []
328
+
237
329
  require_paths:
238
330
  - lib
239
331
  required_ruby_version: !ruby/object:Gem::Requirement
332
+ none: false
240
333
  requirements:
241
334
  - - ">="
242
335
  - !ruby/object:Gem::Version
336
+ hash: 3
243
337
  segments:
244
338
  - 0
245
339
  version: "0"
246
340
  required_rubygems_version: !ruby/object:Gem::Requirement
341
+ none: false
247
342
  requirements:
248
343
  - - ">="
249
344
  - !ruby/object:Gem::Version
345
+ hash: 3
250
346
  segments:
251
347
  - 0
252
348
  version: "0"
253
349
  requirements: []
254
350
 
255
351
  rubyforge_project:
256
- rubygems_version: 1.3.6
352
+ rubygems_version: 1.3.7
257
353
  signing_key:
258
354
  specification_version: 3
259
355
  summary: Cucumber support for iPhone applications
260
- test_files: []
261
-
356
+ test_files:
357
+ - spec/cucumber_spec.rb
358
+ - spec/process_spec.rb
359
+ - spec/screen_spec.rb
360
+ - spec/simulate_spec.rb
361
+ - spec/simulator_spec.rb
362
+ - spec/spec_helper.rb