taverna-player 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. data/.gitignore +1 -0
  2. data/.travis.yml +8 -0
  3. data/CHANGES.rdoc +47 -0
  4. data/README.rdoc +43 -3
  5. data/Rakefile +1 -4
  6. data/app/assets/stylesheets/taverna_player/coderay.css +30 -20
  7. data/app/controllers/taverna_player/application_controller.rb +2 -2
  8. data/app/controllers/taverna_player/job_queue_controller.rb +18 -0
  9. data/app/models/taverna_player/run.rb +10 -3
  10. data/app/views/taverna_player/job_queue/index.html.erb +47 -0
  11. data/app/views/taverna_player/runs/_interaction.html.erb +7 -1
  12. data/app/views/taverna_player/runs/embedded/new.html.erb +1 -1
  13. data/config/locales/en.yml +36 -0
  14. data/config/routes.rb +4 -1
  15. data/db/migrate/20140226135723_change_taverna_player_runs_status_message_to_use_keys.rb +19 -0
  16. data/lib/generators/taverna_player/install_generator.rb +6 -1
  17. data/lib/generators/templates/ReadMe.txt +6 -0
  18. data/lib/generators/templates/controllers/job_queue_controller.rb +19 -0
  19. data/lib/generators/templates/player_initializer.rb +8 -0
  20. data/lib/tasks/delete-cancelled-runs.rake +1 -1
  21. data/lib/taverna-player.rb +9 -1
  22. data/lib/taverna_player/concerns/controllers/job_queue_controller.rb +38 -0
  23. data/lib/taverna_player/concerns/controllers/runs_controller.rb +2 -13
  24. data/lib/taverna_player/concerns/models/run.rb +22 -9
  25. data/lib/taverna_player/concerns/models/run_port.rb +5 -0
  26. data/lib/taverna_player/port_renderer.rb +1 -1
  27. data/lib/taverna_player/version.rb +1 -1
  28. data/lib/taverna_player/worker.rb +78 -51
  29. data/taverna_player.gemspec +7 -5
  30. data/test/dummy/app/views/home/index.html.erb +1 -1
  31. data/test/dummy/app/views/layouts/application.html.erb +2 -1
  32. data/test/dummy/config/application.rb +1 -0
  33. data/test/dummy/config/initializers/taverna_player.rb +8 -3
  34. data/test/dummy/config/locales/taverna_player.en.yml +36 -0
  35. data/test/dummy/db/migrate/20140226143013_change_taverna_player_runs_status_message_to_use_keys.taverna_player.rb +20 -0
  36. data/test/dummy/db/schema.rb +9 -9
  37. data/test/dummy/lib/callbacks.rb +1 -5
  38. data/test/fixtures/files/non-ascii.csv +30 -0
  39. data/test/fixtures/taverna_player/interactions.yml +4 -1
  40. data/test/fixtures/taverna_player/runs.yml +6 -1
  41. data/test/functional/taverna_player/job_queue_controller_test.rb +35 -0
  42. data/test/functional/taverna_player/runs_controller_test.rb +20 -0
  43. data/test/functional/taverna_player/service_credentials_controller_test.rb +3 -3
  44. data/test/test_helper.rb +4 -1
  45. data/test/unit/helpers/taverna_player/runs_helper_test.rb +20 -1
  46. data/test/unit/taverna_player/run_port_test.rb +41 -5
  47. data/test/unit/{utils_test.rb → taverna_player/utils_test.rb} +0 -0
  48. data/test/unit/taverna_player/worker_test.rb +201 -0
  49. metadata +67 -18
  50. data/test/fixtures/files/crassostrea_gigas.csv +0 -737
@@ -0,0 +1,201 @@
1
+ #------------------------------------------------------------------------------
2
+ # Copyright (c) 2014 The University of Manchester, UK.
3
+ #
4
+ # BSD Licenced. See LICENCE.rdoc for details.
5
+ #
6
+ # Taverna Player was developed in the BioVeL project, funded by the European
7
+ # Commission 7th Framework Programme (FP7), through grant agreement
8
+ # number 283359.
9
+ #
10
+ # Author: Robert Haines
11
+ #------------------------------------------------------------------------------
12
+
13
+ require 'flexmock'
14
+ require 'test_helper'
15
+
16
+ class WorkerTest < ActiveSupport::TestCase
17
+ include FlexMock::TestCase
18
+
19
+ setup do
20
+ @noop_callback = Proc.new { }
21
+
22
+ # Taverna Server config that we need to set here for Travis, etc.
23
+ TavernaPlayer.setup do |config|
24
+ config.server_address = "http://localhost:1111/taverna"
25
+ config.server_username = "taverna"
26
+ config.server_password = "taverna"
27
+ config.server_poll_interval = 0
28
+ config.server_retry_interval = 0
29
+ config.pre_run_callback = @noop_callback
30
+ config.post_run_callback = @noop_callback
31
+ config.run_cancelled_callback = @noop_callback
32
+ config.run_failed_callback = @noop_callback
33
+ end
34
+
35
+ # Stuff we can't test yet in TavernaPlayer::Worker.
36
+ flexmock(TavernaPlayer::Worker).new_instances do |w|
37
+ w.should_receive(:download_outputs).and_return_undefined
38
+ w.should_receive(:download_log).and_return_undefined
39
+ w.should_receive(:process_outputs).and_return([])
40
+ end
41
+
42
+ @run = taverna_player_runs(:seven)
43
+ @worker = TavernaPlayer::Worker.new(@run)
44
+ end
45
+
46
+ test "max attempts should be 1" do
47
+ assert_equal 1, @worker.max_attempts, "Max attempts was not 1."
48
+ end
49
+
50
+ test "run a workflow" do
51
+ # Stub the creation of a run on a Taverna Server with a failure first.
52
+ flexmock(T2Server::Server).new_instances do |s|
53
+ s.should_receive(:initialize_run).twice.
54
+ and_raise(T2Server::ServerAtCapacityError).
55
+ and_return(URI.parse("http://localhost/run/01"))
56
+ end
57
+
58
+ # Stub the Taverna Server run calls.
59
+ flexmock(T2Server::Run).new_instances do |r|
60
+ r.should_receive(:status).times(4).and_return(:initialized, :running, :running, :finished)
61
+ r.should_receive(:create_time).and_return(Time.now)
62
+ r.should_receive(:add_password_credential).and_return(true)
63
+ r.should_receive(:name=).once.and_return(true)
64
+ r.should_receive(:start).twice.and_return(false, true)
65
+ r.should_receive(:start_time).and_return(Time.now)
66
+ r.should_receive(:notifications).and_return([])
67
+ r.should_receive(:finish_time).and_return(Time.now)
68
+ r.should_receive(:delete).and_return_undefined
69
+ end
70
+
71
+ assert_equal :pending, @run.state, "Initial run state not ':pending'"
72
+ assert_nil @run.run_id, "Server run ID not nil before creation"
73
+ assert_nil @run.create_time, "Create time not nil before creation"
74
+ assert_nil @run.start_time, "Start time not nil before starting"
75
+ assert_nil @run.finish_time, "Finish time not nil before run"
76
+
77
+ @worker.perform
78
+
79
+ assert_equal :finished, @run.state, "Final run state not ':finished'"
80
+ assert_equal "01", @run.run_id, "Server run ID not set correctly"
81
+ assert_not_nil @run.create_time, "Create time nil after creation"
82
+ assert_not_nil @run.start_time, "Start time nil after starting"
83
+ assert_not_nil @run.finish_time, "Finish time nil after finishing"
84
+ end
85
+
86
+ test "workflow failure" do
87
+ # Stub the creation of a run on a Taverna Server.
88
+ flexmock(T2Server::Server).new_instances do |s|
89
+ s.should_receive(:initialize_run).
90
+ and_return(URI.parse("http://localhost/run/01"))
91
+ end
92
+
93
+ # Stub a Taverna Server run calls so it fails.
94
+ flexmock(T2Server::Run).new_instances do |r|
95
+ r.should_receive(:status).and_raise(RuntimeError)
96
+ end
97
+
98
+ assert_equal :pending, @run.state, "Initial run state not ':pending'"
99
+
100
+ @worker.perform
101
+
102
+ assert_equal :failed, @run.state, "Final run state not ':failed'"
103
+ assert_not_nil @run.failure_message, "Run's failure message is nil"
104
+ end
105
+
106
+ test "fail in failure handler" do
107
+ # Stub the creation of a run on a Taverna Server with complete failure.
108
+ flexmock(T2Server::Server).new_instances do |s|
109
+ s.should_receive(:initialize_run).once.
110
+ and_raise(RuntimeError)
111
+ end
112
+
113
+ # Set a failing failure callback
114
+ TavernaPlayer.run_failed_callback = Proc.new { raise RuntimeError }
115
+
116
+ assert_equal :pending, @run.state, "Initial run state not ':pending'"
117
+
118
+ @worker.perform
119
+
120
+ assert_equal :failed, @run.state, "Final run state not ':failed'"
121
+ assert_not_nil @run.failure_message, "Run's failure message is nil"
122
+ end
123
+
124
+ test "cancelled run" do
125
+ # Stub the creation of a run on a Taverna Server with a failure.
126
+ flexmock(T2Server::Server).new_instances do |s|
127
+ s.should_receive(:initialize_run).once.
128
+ and_raise(T2Server::ServerAtCapacityError)
129
+ end
130
+
131
+ # Cancel the run.
132
+ @run.stop = true
133
+ @run.save
134
+
135
+ assert_equal :pending, @run.state, "Initial run state not ':pending'"
136
+
137
+ @worker.perform
138
+
139
+ assert_equal :cancelled, @run.state, "Final run state not ':cancelled'"
140
+ end
141
+
142
+ test "fail in cancelled callback" do
143
+ # Stub the creation of a run on a Taverna Server with a failure.
144
+ flexmock(T2Server::Server).new_instances do |s|
145
+ s.should_receive(:initialize_run).once.
146
+ and_raise(T2Server::ServerAtCapacityError)
147
+ end
148
+
149
+ # Set a failing cancelled callback
150
+ TavernaPlayer.run_cancelled_callback = Proc.new { raise RuntimeError }
151
+
152
+ # Cancel the run.
153
+ @run.stop = true
154
+ @run.save
155
+
156
+ assert_equal :pending, @run.state, "Initial run state not ':pending'"
157
+
158
+ @worker.perform
159
+
160
+ assert_equal :failed, @run.state, "Final run state not ':failed'"
161
+ assert_not_nil @run.failure_message, "Run's failure message is nil"
162
+ end
163
+
164
+ test "fail in pre run callback" do
165
+ # Set a failing pre_run callback
166
+ TavernaPlayer.pre_run_callback = Proc.new { raise RuntimeError }
167
+
168
+ assert_equal :pending, @run.state, "Initial run state not ':pending'"
169
+
170
+ @worker.perform
171
+
172
+ assert_equal :failed, @run.state, "Final run state not ':failed'"
173
+ assert_not_nil @run.failure_message, "Run's failure message is nil"
174
+ end
175
+
176
+ test "fail in post run callback" do
177
+ # Set a failing post_run callback
178
+ TavernaPlayer.post_run_callback = Proc.new { raise RuntimeError }
179
+
180
+ assert_equal :pending, @run.state, "Initial run state not ':pending'"
181
+
182
+ @worker.perform
183
+
184
+ assert_equal :failed, @run.state, "Final run state not ':failed'"
185
+ assert_not_nil @run.failure_message, "Run's failure message is nil"
186
+ end
187
+
188
+ test "timed out run" do
189
+ # Stub the creation of a run on a Taverna Server with a timeout.
190
+ flexmock(T2Server::Server).new_instances do |s|
191
+ s.should_receive(:initialize_run).once.
192
+ and_raise(Delayed::WorkerTimeout)
193
+ end
194
+
195
+ assert_equal :pending, @run.state, "Initial run state not ':pending'"
196
+
197
+ @worker.perform
198
+
199
+ assert_equal :timeout, @run.state, "Final run state not ':timeout'"
200
+ end
201
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taverna-player
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-01-07 00:00:00.000000000 Z
12
+ date: 2014-03-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - ~>
36
36
  - !ruby/object:Gem::Version
37
- version: 3.0.4
37
+ version: '3.0'
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
- version: 3.0.4
45
+ version: '3.0'
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: paperclip
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - ~>
52
52
  - !ruby/object:Gem::Version
53
- version: 3.4.1
53
+ version: '4.1'
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
@@ -58,7 +58,7 @@ dependencies:
58
58
  requirements:
59
59
  - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: 3.4.1
61
+ version: '4.1'
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: t2-server
64
64
  requirement: !ruby/object:Gem::Requirement
@@ -82,7 +82,7 @@ dependencies:
82
82
  requirements:
83
83
  - - ~>
84
84
  - !ruby/object:Gem::Version
85
- version: 0.4.3
85
+ version: '4.0'
86
86
  type: :runtime
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
@@ -90,7 +90,7 @@ dependencies:
90
90
  requirements:
91
91
  - - ~>
92
92
  - !ruby/object:Gem::Version
93
- version: 0.4.3
93
+ version: '4.0'
94
94
  - !ruby/object:Gem::Dependency
95
95
  name: daemons
96
96
  requirement: !ruby/object:Gem::Requirement
@@ -130,7 +130,7 @@ dependencies:
130
130
  requirements:
131
131
  - - ~>
132
132
  - !ruby/object:Gem::Version
133
- version: 1.0.9
133
+ version: '1.1'
134
134
  type: :runtime
135
135
  prerelease: false
136
136
  version_requirements: !ruby/object:Gem::Requirement
@@ -138,7 +138,7 @@ dependencies:
138
138
  requirements:
139
139
  - - ~>
140
140
  - !ruby/object:Gem::Version
141
- version: 1.0.9
141
+ version: '1.1'
142
142
  - !ruby/object:Gem::Dependency
143
143
  name: rails_autolink
144
144
  requirement: !ruby/object:Gem::Requirement
@@ -178,7 +178,7 @@ dependencies:
178
178
  requirements:
179
179
  - - ~>
180
180
  - !ruby/object:Gem::Version
181
- version: 1.5.2
181
+ version: '2.0'
182
182
  type: :runtime
183
183
  prerelease: false
184
184
  version_requirements: !ruby/object:Gem::Requirement
@@ -186,7 +186,7 @@ dependencies:
186
186
  requirements:
187
187
  - - ~>
188
188
  - !ruby/object:Gem::Version
189
- version: 1.5.2
189
+ version: '2.0'
190
190
  - !ruby/object:Gem::Dependency
191
191
  name: pmrpc-rails
192
192
  requirement: !ruby/object:Gem::Requirement
@@ -219,6 +219,38 @@ dependencies:
219
219
  - - ! '>='
220
220
  - !ruby/object:Gem::Version
221
221
  version: '0'
222
+ - !ruby/object:Gem::Dependency
223
+ name: coveralls
224
+ requirement: !ruby/object:Gem::Requirement
225
+ none: false
226
+ requirements:
227
+ - - ! '>='
228
+ - !ruby/object:Gem::Version
229
+ version: '0'
230
+ type: :development
231
+ prerelease: false
232
+ version_requirements: !ruby/object:Gem::Requirement
233
+ none: false
234
+ requirements:
235
+ - - ! '>='
236
+ - !ruby/object:Gem::Version
237
+ version: '0'
238
+ - !ruby/object:Gem::Dependency
239
+ name: flexmock
240
+ requirement: !ruby/object:Gem::Requirement
241
+ none: false
242
+ requirements:
243
+ - - ~>
244
+ - !ruby/object:Gem::Version
245
+ version: '1.3'
246
+ type: :development
247
+ prerelease: false
248
+ version_requirements: !ruby/object:Gem::Requirement
249
+ none: false
250
+ requirements:
251
+ - - ~>
252
+ - !ruby/object:Gem::Version
253
+ version: '1.3'
222
254
  description: ! 'Taverna Player is a Ruby on Rails plugin to run Taverna Workflows
223
255
  using Taverna Server. Taverna Player surfaces a workflow in three ways: As a Web
224
256
  interface in the browser; As an embeddable widget to be included in any other Web
@@ -232,6 +264,7 @@ extensions: []
232
264
  extra_rdoc_files: []
233
265
  files:
234
266
  - .gitignore
267
+ - .travis.yml
235
268
  - CHANGES.rdoc
236
269
  - Gemfile
237
270
  - LICENCE.rdoc
@@ -243,6 +276,7 @@ files:
243
276
  - app/assets/stylesheets/taverna_player/application.css
244
277
  - app/assets/stylesheets/taverna_player/coderay.css
245
278
  - app/controllers/taverna_player/application_controller.rb
279
+ - app/controllers/taverna_player/job_queue_controller.rb
246
280
  - app/controllers/taverna_player/runs_controller.rb
247
281
  - app/controllers/taverna_player/service_credentials_controller.rb
248
282
  - app/helpers/taverna_player/application_helper.rb
@@ -252,6 +286,7 @@ files:
252
286
  - app/models/taverna_player/run_port.rb
253
287
  - app/models/taverna_player/service_credential.rb
254
288
  - app/views/layouts/taverna_player/embedded.html.erb
289
+ - app/views/taverna_player/job_queue/index.html.erb
255
290
  - app/views/taverna_player/runs/_button.html.erb
256
291
  - app/views/taverna_player/runs/_info.html.erb
257
292
  - app/views/taverna_player/runs/_info.json.jbuilder
@@ -280,6 +315,7 @@ files:
280
315
  - app/views/taverna_player/service_credentials/index.html.erb
281
316
  - app/views/taverna_player/service_credentials/new.html.erb
282
317
  - app/views/taverna_player/service_credentials/show.html.erb
318
+ - config/locales/en.yml
283
319
  - config/routes.rb
284
320
  - db/migrate/20130313105546_create_taverna_player_runs.rb
285
321
  - db/migrate/20130315163019_create_taverna_player_run_ports.rb
@@ -310,6 +346,7 @@ files:
310
346
  - db/migrate/20131127162157_add_indexes_where_missing.rb
311
347
  - db/migrate/20131127163438_remove_run_id_index_from_taverna_player_runs.rb
312
348
  - db/migrate/20131127171823_remove_unused_paperclip_columns.rb
349
+ - db/migrate/20140226135723_change_taverna_player_runs_status_message_to_use_keys.rb
313
350
  - lib/generators/taverna_player/callbacks_generator.rb
314
351
  - lib/generators/taverna_player/controllers_generator.rb
315
352
  - lib/generators/taverna_player/install_generator.rb
@@ -320,6 +357,7 @@ files:
320
357
  - lib/generators/templates/ReadMe.txt
321
358
  - lib/generators/templates/callbacks/render_callbacks.rb
322
359
  - lib/generators/templates/callbacks/worker_callbacks.rb
360
+ - lib/generators/templates/controllers/job_queue_controller.rb
323
361
  - lib/generators/templates/controllers/runs_controller.rb
324
362
  - lib/generators/templates/controllers/service_credentials_controller.rb
325
363
  - lib/generators/templates/models/run.rb
@@ -330,6 +368,7 @@ files:
330
368
  - lib/tasks/delete-old-embedded-runs.rake
331
369
  - lib/taverna-player.rb
332
370
  - lib/taverna_player/concerns/callback.rb
371
+ - lib/taverna_player/concerns/controllers/job_queue_controller.rb
333
372
  - lib/taverna_player/concerns/controllers/runs_controller.rb
334
373
  - lib/taverna_player/concerns/controllers/service_credentials_controller.rb
335
374
  - lib/taverna_player/concerns/models/input_port.rb
@@ -377,6 +416,7 @@ files:
377
416
  - test/dummy/config/initializers/taverna_server.rb.example
378
417
  - test/dummy/config/initializers/wrap_parameters.rb
379
418
  - test/dummy/config/locales/en.yml
419
+ - test/dummy/config/locales/taverna_player.en.yml
380
420
  - test/dummy/config/routes.rb
381
421
  - test/dummy/db/migrate/20130314103555_create_workflows.rb
382
422
  - test/dummy/db/migrate/20130318141557_create_taverna_player_runs.taverna_player.rb
@@ -409,6 +449,7 @@ files:
409
449
  - test/dummy/db/migrate/20131127163538_add_indexes_where_missing.taverna_player.rb
410
450
  - test/dummy/db/migrate/20131127163539_remove_run_id_index_from_taverna_player_runs.taverna_player.rb
411
451
  - test/dummy/db/migrate/20131127172420_remove_unused_paperclip_columns.taverna_player.rb
452
+ - test/dummy/db/migrate/20140226143013_change_taverna_player_runs_status_message_to_use_keys.taverna_player.rb
412
453
  - test/dummy/db/schema.rb
413
454
  - test/dummy/lib/callbacks.rb
414
455
  - test/dummy/log/.gitkeep
@@ -420,13 +461,15 @@ files:
420
461
  - test/dummy/script/rails
421
462
  - test/dummy/test/functional/home_controller_test.rb
422
463
  - test/dummy/test/functional/workflows_controller_test.rb
423
- - test/fixtures/files/crassostrea_gigas.csv
464
+ - test/dummy/tmp/.gitkeep
465
+ - test/fixtures/files/non-ascii.csv
424
466
  - test/fixtures/taverna_player/interactions.yml
425
467
  - test/fixtures/taverna_player/run_ports.yml
426
468
  - test/fixtures/taverna_player/runs.yml
427
469
  - test/fixtures/taverna_player/service_credentials.yml
428
470
  - test/fixtures/users.yml
429
471
  - test/fixtures/workflows.yml
472
+ - test/functional/taverna_player/job_queue_controller_test.rb
430
473
  - test/functional/taverna_player/runs_controller_test.rb
431
474
  - test/functional/taverna_player/service_credentials_controller_test.rb
432
475
  - test/taverna_player_test.rb
@@ -437,7 +480,8 @@ files:
437
480
  - test/unit/taverna_player/run_port_test.rb
438
481
  - test/unit/taverna_player/run_test.rb
439
482
  - test/unit/taverna_player/service_credential_test.rb
440
- - test/unit/utils_test.rb
483
+ - test/unit/taverna_player/utils_test.rb
484
+ - test/unit/taverna_player/worker_test.rb
441
485
  - test/workflows/hello.t2flow
442
486
  - test/workflows/list_with_errors.t2flow
443
487
  - test/workflows/pass_through.t2flow
@@ -456,7 +500,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
456
500
  version: '0'
457
501
  segments:
458
502
  - 0
459
- hash: -672196183231170536
503
+ hash: 94152040374779137
460
504
  required_rubygems_version: !ruby/object:Gem::Requirement
461
505
  none: false
462
506
  requirements:
@@ -465,7 +509,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
465
509
  version: '0'
466
510
  segments:
467
511
  - 0
468
- hash: -672196183231170536
512
+ hash: 94152040374779137
469
513
  requirements: []
470
514
  rubyforge_project:
471
515
  rubygems_version: 1.8.21
@@ -503,6 +547,7 @@ test_files:
503
547
  - test/dummy/config/initializers/taverna_server.rb.example
504
548
  - test/dummy/config/initializers/wrap_parameters.rb
505
549
  - test/dummy/config/locales/en.yml
550
+ - test/dummy/config/locales/taverna_player.en.yml
506
551
  - test/dummy/config/routes.rb
507
552
  - test/dummy/db/migrate/20130314103555_create_workflows.rb
508
553
  - test/dummy/db/migrate/20130318141557_create_taverna_player_runs.taverna_player.rb
@@ -535,6 +580,7 @@ test_files:
535
580
  - test/dummy/db/migrate/20131127163538_add_indexes_where_missing.taverna_player.rb
536
581
  - test/dummy/db/migrate/20131127163539_remove_run_id_index_from_taverna_player_runs.taverna_player.rb
537
582
  - test/dummy/db/migrate/20131127172420_remove_unused_paperclip_columns.taverna_player.rb
583
+ - test/dummy/db/migrate/20140226143013_change_taverna_player_runs_status_message_to_use_keys.taverna_player.rb
538
584
  - test/dummy/db/schema.rb
539
585
  - test/dummy/lib/callbacks.rb
540
586
  - test/dummy/log/.gitkeep
@@ -546,13 +592,15 @@ test_files:
546
592
  - test/dummy/script/rails
547
593
  - test/dummy/test/functional/home_controller_test.rb
548
594
  - test/dummy/test/functional/workflows_controller_test.rb
549
- - test/fixtures/files/crassostrea_gigas.csv
595
+ - test/dummy/tmp/.gitkeep
596
+ - test/fixtures/files/non-ascii.csv
550
597
  - test/fixtures/taverna_player/interactions.yml
551
598
  - test/fixtures/taverna_player/run_ports.yml
552
599
  - test/fixtures/taverna_player/runs.yml
553
600
  - test/fixtures/taverna_player/service_credentials.yml
554
601
  - test/fixtures/users.yml
555
602
  - test/fixtures/workflows.yml
603
+ - test/functional/taverna_player/job_queue_controller_test.rb
556
604
  - test/functional/taverna_player/runs_controller_test.rb
557
605
  - test/functional/taverna_player/service_credentials_controller_test.rb
558
606
  - test/taverna_player_test.rb
@@ -563,7 +611,8 @@ test_files:
563
611
  - test/unit/taverna_player/run_port_test.rb
564
612
  - test/unit/taverna_player/run_test.rb
565
613
  - test/unit/taverna_player/service_credential_test.rb
566
- - test/unit/utils_test.rb
614
+ - test/unit/taverna_player/utils_test.rb
615
+ - test/unit/taverna_player/worker_test.rb
567
616
  - test/workflows/hello.t2flow
568
617
  - test/workflows/list_with_errors.t2flow
569
618
  - test/workflows/pass_through.t2flow