Class: TestCenter::Helper::MultiScanManager::TestBatchWorker
- Inherits:
-
Object
- Object
- TestCenter::Helper::MultiScanManager::TestBatchWorker
- Defined in:
- lib/fastlane/plugin/test_center/helper/multi_scan_manager/test_batch_worker.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#state ⇒ Object
Returns the value of attribute state.
Instance Method Summary collapse
-
#initialize(options) ⇒ TestBatchWorker
constructor
A new instance of TestBatchWorker.
- #process_results ⇒ Object
- #run(run_options) ⇒ Object
Constructor Details
#initialize(options) ⇒ TestBatchWorker
Returns a new instance of TestBatchWorker.
7 8 9 10 |
# File 'lib/fastlane/plugin/test_center/helper/multi_scan_manager/test_batch_worker.rb', line 7 def initialize() @options = @state = :ready_to_work end |
Instance Attribute Details
#state ⇒ Object
Returns the value of attribute state.
5 6 7 |
# File 'lib/fastlane/plugin/test_center/helper/multi_scan_manager/test_batch_worker.rb', line 5 def state @state end |
Instance Method Details
#process_results ⇒ Object
12 13 14 |
# File 'lib/fastlane/plugin/test_center/helper/multi_scan_manager/test_batch_worker.rb', line 12 def process_results @state = :ready_to_work end |
#run(run_options) ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/fastlane/plugin/test_center/helper/multi_scan_manager/test_batch_worker.rb', line 16 def run() self.state = :working test_batch_worker_final_result = RetryingScan.run(@options.merge()) @options[:test_batch_results] << test_batch_worker_final_result self.state = :ready_to_work test_batch_worker_final_result end |