Class: Syskit::Test::RubyTaskContextTest

Inherits:
TaskContextTest show all
Defined in:
lib/syskit/test/ruby_task_context_test.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from TaskContextTest

#assert_is_configurable, #is_configurable, it_should_be_configurable, roby_should_run, #setup, #subject_syskit_model

Methods inherited from ComponentTest

subject_syskit_model

Methods included from NetworkManipulation

#__syskit_root_components, #normalize_instanciation_models, #resolve_orocos_writer, #setup, #syskit_configure, #syskit_configure_and_start, #syskit_default_stub_name, #syskit_deploy, #syskit_deploy_and_configure, #syskit_deploy_configure_and_start, #syskit_engine_resolve_handle_plan_export, #syskit_export_to_svg, #syskit_generate_network, #syskit_guard_against_configure, #syskit_guard_against_start_and_configure, #syskit_prepare_configure, #syskit_prepare_start, #syskit_protect_configuration_manager, #syskit_start, #syskit_start_all_execution_agents, #syskit_start_execution_agents, #syskit_stub, #syskit_stub_and_deploy, #syskit_stub_attached_device, #syskit_stub_com_bus, #syskit_stub_component, #syskit_stub_composition_requirements, #syskit_stub_conf, #syskit_stub_configured_deployment, #syskit_stub_deploy_and_configure, #syskit_stub_deploy_configure_and_start, #syskit_stub_deployment, #syskit_stub_deployment_model, #syskit_stub_device, #syskit_stub_driver_model_for, #syskit_stub_model_id, #syskit_stub_network, #syskit_stub_network_abstract_component, #syskit_stub_network_deployment, #syskit_stub_placeholder, #syskit_stub_required_devices, #syskit_stub_requirements, #syskit_stub_resolves_remote_tasks=, #syskit_stub_resolves_remote_tasks?, #syskit_stub_task_context_model, #syskit_stub_task_context_requirements, #syskit_wait_ready, #syskit_write, #teardown, #use_deployment, #use_ruby_tasks, #use_unmanaged_task

Methods inherited from Spec

#plan, #setup, #subject_syskit_model, subject_syskit_model, #syskit_stub_attached_device_model, #syskit_stub_driver_model, #teardown, #teardown_registered_plans, use_syskit_model

Methods included from Base

#assert_has_no_new_sample, #assert_has_one_new_sample, #plug_connection_management, #plug_requirement_modifications, #setup, #stub_type, #teardown, #unplug_connection_management, #unplug_requirement_modifications

Class Method Details

.ensure_can_deploy_subject_syskit_modelObject



7
8
9
# File 'lib/syskit/test/ruby_task_context_test.rb', line 7

def self.ensure_can_deploy_subject_syskit_model(*)
    # We can always deploy ruby task contexts
end

Instance Method Details

#deploy_subject_syskit_modelObject



4
5
6
# File 'lib/syskit/test/ruby_task_context_test.rb', line 4

def deploy_subject_syskit_model
    use_ruby_tasks subject_syskit_model.model.concrete_model => 'task_under_test'
end