velir_virtualbox 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +8 -0
- data/.yardopts +3 -0
- data/Gemfile +16 -0
- data/LICENSE +19 -0
- data/Rakefile +37 -0
- data/Readme.md +70 -0
- data/docs/GettingStarted.md +196 -0
- data/docs/WhatsNew.md +12 -0
- data/features/README.md +33 -0
- data/features/global.feature +19 -0
- data/features/global_extra_data.feature +27 -0
- data/features/step_definitions/abstract_model_steps.rb +39 -0
- data/features/step_definitions/extra_data_steps.rb +36 -0
- data/features/step_definitions/global_steps.rb +29 -0
- data/features/step_definitions/nat_engine_steps.rb +76 -0
- data/features/step_definitions/network_adapter_steps.rb +38 -0
- data/features/step_definitions/shared_folder_steps.rb +76 -0
- data/features/step_definitions/snapshot_steps.rb +74 -0
- data/features/step_definitions/storage_controller_steps.rb +16 -0
- data/features/step_definitions/virtualbox_steps.rb +17 -0
- data/features/step_definitions/vm_steps.rb +50 -0
- data/features/support/env.rb +61 -0
- data/features/support/helpers.rb +38 -0
- data/features/support/hooks.rb +30 -0
- data/features/support/ordered_hash.rb +49 -0
- data/features/support/vboxmanage.rb +191 -0
- data/features/version.feature +16 -0
- data/features/vm.feature +13 -0
- data/features/vm_bios.feature +29 -0
- data/features/vm_cpu.feature +29 -0
- data/features/vm_extra_data.feature +35 -0
- data/features/vm_hw_virt.feature +29 -0
- data/features/vm_nat_engine.feature +57 -0
- data/features/vm_network_adapters.feature +27 -0
- data/features/vm_shared_folders.feature +42 -0
- data/features/vm_snapshots.feature +29 -0
- data/features/vm_storage_controllers.feature +11 -0
- data/lib/virtualbox.rb +11 -0
- data/lib/virtualbox/abstract_model.rb +281 -0
- data/lib/virtualbox/abstract_model/attributable.rb +290 -0
- data/lib/virtualbox/abstract_model/dirty.rb +177 -0
- data/lib/virtualbox/abstract_model/interface_attributes.rb +98 -0
- data/lib/virtualbox/abstract_model/relatable.rb +332 -0
- data/lib/virtualbox/abstract_model/validatable.rb +167 -0
- data/lib/virtualbox/abstract_model/version_matcher.rb +35 -0
- data/lib/virtualbox/appliance.rb +62 -0
- data/lib/virtualbox/audio_adapter.rb +52 -0
- data/lib/virtualbox/bios.rb +50 -0
- data/lib/virtualbox/com.rb +23 -0
- data/lib/virtualbox/com/abstract_enum.rb +43 -0
- data/lib/virtualbox/com/abstract_implementer.rb +45 -0
- data/lib/virtualbox/com/abstract_interface.rb +167 -0
- data/lib/virtualbox/com/base_interface.rb +38 -0
- data/lib/virtualbox/com/ffi/interface.rb +150 -0
- data/lib/virtualbox/com/ffi/interfaces.rb +63 -0
- data/lib/virtualbox/com/ffi/util.rb +121 -0
- data/lib/virtualbox/com/ffi/vboxxpcomc.rb +31 -0
- data/lib/virtualbox/com/ffi_interface.rb +96 -0
- data/lib/virtualbox/com/implementer/base.rb +59 -0
- data/lib/virtualbox/com/implementer/ffi.rb +381 -0
- data/lib/virtualbox/com/implementer/mscom.rb +189 -0
- data/lib/virtualbox/com/implementer/nil.rb +10 -0
- data/lib/virtualbox/com/interface/3.1.x/access_mode.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/appliance.rb +22 -0
- data/lib/virtualbox/com/interface/3.1.x/audio_adapter.rb +15 -0
- data/lib/virtualbox/com/interface/3.1.x/audio_controller_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/audio_driver_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/bios_boot_menu_mode.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/bios_settings.rb +21 -0
- data/lib/virtualbox/com/interface/3.1.x/clipboard_mode.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/console.rb +50 -0
- data/lib/virtualbox/com/interface/3.1.x/cpu_property_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/device_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/dhcp_server.rb +22 -0
- data/lib/virtualbox/com/interface/3.1.x/firmware_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/guest_os_type.rb +23 -0
- data/lib/virtualbox/com/interface/3.1.x/host.rb +42 -0
- data/lib/virtualbox/com/interface/3.1.x/host_network_interface.rb +30 -0
- data/lib/virtualbox/com/interface/3.1.x/host_network_interface_medium_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/host_network_interface_status.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/host_network_interface_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/host_usb_device.rb +13 -0
- data/lib/virtualbox/com/interface/3.1.x/host_usb_device_filter.rb +13 -0
- data/lib/virtualbox/com/interface/3.1.x/hw_virt_ex_property_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/machine.rb +105 -0
- data/lib/virtualbox/com/interface/3.1.x/machine_state.rb +14 -0
- data/lib/virtualbox/com/interface/3.1.x/medium.rb +50 -0
- data/lib/virtualbox/com/interface/3.1.x/medium_attachment.rb +18 -0
- data/lib/virtualbox/com/interface/3.1.x/medium_format.rb +18 -0
- data/lib/virtualbox/com/interface/3.1.x/medium_state.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/medium_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/medium_variant.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/network_adapter.rb +30 -0
- data/lib/virtualbox/com/interface/3.1.x/network_adapter_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/network_attachment_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/nsiexception.rb +23 -0
- data/lib/virtualbox/com/interface/3.1.x/nsisupports.rb +15 -0
- data/lib/virtualbox/com/interface/3.1.x/parallel_port.rb +17 -0
- data/lib/virtualbox/com/interface/3.1.x/port_mode.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/progress.rb +63 -0
- data/lib/virtualbox/com/interface/3.1.x/serial_port.rb +19 -0
- data/lib/virtualbox/com/interface/3.1.x/session.rb +18 -0
- data/lib/virtualbox/com/interface/3.1.x/session_state.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/session_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/shared_folder.rb +17 -0
- data/lib/virtualbox/com/interface/3.1.x/snapshot.rb +20 -0
- data/lib/virtualbox/com/interface/3.1.x/storage_bus.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/storage_controller.rb +23 -0
- data/lib/virtualbox/com/interface/3.1.x/storage_controller_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/system_properties.rb +37 -0
- data/lib/virtualbox/com/interface/3.1.x/usb_controller.rb +20 -0
- data/lib/virtualbox/com/interface/3.1.x/usb_device.rb +24 -0
- data/lib/virtualbox/com/interface/3.1.x/usb_device_filter.rb +23 -0
- data/lib/virtualbox/com/interface/3.1.x/usb_device_filter_action.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/usb_device_state.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/virtual_box_error_info.rb +17 -0
- data/lib/virtualbox/com/interface/3.1.x/virtual_system_description.rb +19 -0
- data/lib/virtualbox/com/interface/3.1.x/virtual_system_description_type.rb +14 -0
- data/lib/virtualbox/com/interface/3.1.x/virtual_system_description_value_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/virtualbox.rb +67 -0
- data/lib/virtualbox/com/interface/3.1.x/vrdp_auth_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.1.x/vrdp_server.rb +19 -0
- data/lib/virtualbox/com/interface/3.2.x/access_mode.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/appliance.rb +22 -0
- data/lib/virtualbox/com/interface/3.2.x/audio_adapter.rb +15 -0
- data/lib/virtualbox/com/interface/3.2.x/audio_controller_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/audio_driver_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/bios_boot_menu_mode.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/bios_settings.rb +21 -0
- data/lib/virtualbox/com/interface/3.2.x/clipboard_mode.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/console.rb +50 -0
- data/lib/virtualbox/com/interface/3.2.x/cpu_property_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/device_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/dhcp_server.rb +22 -0
- data/lib/virtualbox/com/interface/3.2.x/firmware_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/guest.rb +13 -0
- data/lib/virtualbox/com/interface/3.2.x/guest_os_type.rb +33 -0
- data/lib/virtualbox/com/interface/3.2.x/host.rb +43 -0
- data/lib/virtualbox/com/interface/3.2.x/host_network_interface.rb +30 -0
- data/lib/virtualbox/com/interface/3.2.x/host_network_interface_medium_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/host_network_interface_status.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/host_network_interface_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/host_usb_device.rb +13 -0
- data/lib/virtualbox/com/interface/3.2.x/host_usb_device_filter.rb +13 -0
- data/lib/virtualbox/com/interface/3.2.x/hw_virt_ex_property_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/keyboard_hid_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/machine.rb +118 -0
- data/lib/virtualbox/com/interface/3.2.x/machine_state.rb +14 -0
- data/lib/virtualbox/com/interface/3.2.x/medium.rb +51 -0
- data/lib/virtualbox/com/interface/3.2.x/medium_attachment.rb +18 -0
- data/lib/virtualbox/com/interface/3.2.x/medium_format.rb +18 -0
- data/lib/virtualbox/com/interface/3.2.x/medium_state.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/medium_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/medium_variant.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/nat_alias_mode.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/nat_engine.rb +27 -0
- data/lib/virtualbox/com/interface/3.2.x/nat_protocol.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/network_adapter.rb +34 -0
- data/lib/virtualbox/com/interface/3.2.x/network_adapter_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/network_attachment_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/nsiexception.rb +23 -0
- data/lib/virtualbox/com/interface/3.2.x/nsisupports.rb +15 -0
- data/lib/virtualbox/com/interface/3.2.x/parallel_port.rb +17 -0
- data/lib/virtualbox/com/interface/3.2.x/pointing_hid_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/port_mode.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/progress.rb +63 -0
- data/lib/virtualbox/com/interface/3.2.x/serial_port.rb +19 -0
- data/lib/virtualbox/com/interface/3.2.x/session.rb +18 -0
- data/lib/virtualbox/com/interface/3.2.x/session_state.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/session_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/shared_folder.rb +17 -0
- data/lib/virtualbox/com/interface/3.2.x/snapshot.rb +20 -0
- data/lib/virtualbox/com/interface/3.2.x/storage_bus.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/storage_controller.rb +24 -0
- data/lib/virtualbox/com/interface/3.2.x/storage_controller_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/system_properties.rb +42 -0
- data/lib/virtualbox/com/interface/3.2.x/usb_controller.rb +21 -0
- data/lib/virtualbox/com/interface/3.2.x/usb_device.rb +24 -0
- data/lib/virtualbox/com/interface/3.2.x/usb_device_filter.rb +23 -0
- data/lib/virtualbox/com/interface/3.2.x/usb_device_filter_action.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/usb_device_state.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/virtual_box_error_info.rb +17 -0
- data/lib/virtualbox/com/interface/3.2.x/virtual_system_description.rb +19 -0
- data/lib/virtualbox/com/interface/3.2.x/virtual_system_description_type.rb +14 -0
- data/lib/virtualbox/com/interface/3.2.x/virtual_system_description_value_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/virtualbox.rb +67 -0
- data/lib/virtualbox/com/interface/3.2.x/vrdp_auth_type.rb +11 -0
- data/lib/virtualbox/com/interface/3.2.x/vrdp_server.rb +21 -0
- data/lib/virtualbox/com/interface/4.0.x/access_mode.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/appliance.rb +23 -0
- data/lib/virtualbox/com/interface/4.0.x/audio_adapter.rb +15 -0
- data/lib/virtualbox/com/interface/4.0.x/audio_controller_type.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/audio_driver_type.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/auth_type.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/bios_boot_menu_mode.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/bios_settings.rb +21 -0
- data/lib/virtualbox/com/interface/4.0.x/cleanup_mode.rb +12 -0
- data/lib/virtualbox/com/interface/4.0.x/clipboard_mode.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/console.rb +50 -0
- data/lib/virtualbox/com/interface/4.0.x/cpu_property_type.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/device_type.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/dhcp_server.rb +22 -0
- data/lib/virtualbox/com/interface/4.0.x/event_source.rb +13 -0
- data/lib/virtualbox/com/interface/4.0.x/fault_tolerance_state.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/firmware_type.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/guest.rb +13 -0
- data/lib/virtualbox/com/interface/4.0.x/guest_os_type.rb +33 -0
- data/lib/virtualbox/com/interface/4.0.x/host.rb +43 -0
- data/lib/virtualbox/com/interface/4.0.x/host_network_interface.rb +30 -0
- data/lib/virtualbox/com/interface/4.0.x/host_network_interface_medium_type.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/host_network_interface_status.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/host_network_interface_type.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/host_usb_device.rb +13 -0
- data/lib/virtualbox/com/interface/4.0.x/host_usb_device_filter.rb +13 -0
- data/lib/virtualbox/com/interface/4.0.x/hw_virt_ex_property_type.rb +12 -0
- data/lib/virtualbox/com/interface/4.0.x/keyboard_hid_type.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/lock_type.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/machine.rb +132 -0
- data/lib/virtualbox/com/interface/4.0.x/machine_state.rb +14 -0
- data/lib/virtualbox/com/interface/4.0.x/medium.rb +53 -0
- data/lib/virtualbox/com/interface/4.0.x/medium_attachment.rb +18 -0
- data/lib/virtualbox/com/interface/4.0.x/medium_format.rb +18 -0
- data/lib/virtualbox/com/interface/4.0.x/medium_state.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/medium_type.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/medium_variant.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/nat_alias_mode.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/nat_engine.rb +27 -0
- data/lib/virtualbox/com/interface/4.0.x/nat_protocol.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/network_adapter.rb +35 -0
- data/lib/virtualbox/com/interface/4.0.x/network_adapter_type.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/network_attachment_type.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/nsiexception.rb +23 -0
- data/lib/virtualbox/com/interface/4.0.x/nsisupports.rb +15 -0
- data/lib/virtualbox/com/interface/4.0.x/parallel_port.rb +17 -0
- data/lib/virtualbox/com/interface/4.0.x/pointing_hid_type.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/port_mode.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/progress.rb +64 -0
- data/lib/virtualbox/com/interface/4.0.x/serial_port.rb +19 -0
- data/lib/virtualbox/com/interface/4.0.x/session.rb +18 -0
- data/lib/virtualbox/com/interface/4.0.x/session_state.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/session_type.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/shared_folder.rb +17 -0
- data/lib/virtualbox/com/interface/4.0.x/snapshot.rb +20 -0
- data/lib/virtualbox/com/interface/4.0.x/storage_bus.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/storage_controller.rb +24 -0
- data/lib/virtualbox/com/interface/4.0.x/storage_controller_type.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/system_properties.rb +42 -0
- data/lib/virtualbox/com/interface/4.0.x/usb_controller.rb +21 -0
- data/lib/virtualbox/com/interface/4.0.x/usb_device.rb +24 -0
- data/lib/virtualbox/com/interface/4.0.x/usb_device_filter.rb +23 -0
- data/lib/virtualbox/com/interface/4.0.x/usb_device_filter_action.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/usb_device_state.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/virtual_box_error_info.rb +17 -0
- data/lib/virtualbox/com/interface/4.0.x/virtual_system_description.rb +19 -0
- data/lib/virtualbox/com/interface/4.0.x/virtual_system_description_type.rb +14 -0
- data/lib/virtualbox/com/interface/4.0.x/virtual_system_description_value_type.rb +11 -0
- data/lib/virtualbox/com/interface/4.0.x/virtualbox.rb +50 -0
- data/lib/virtualbox/com/interface/4.0.x/vrde_server.rb +23 -0
- data/lib/virtualbox/com/mscom_interface.rb +44 -0
- data/lib/virtualbox/com/nil_interface.rb +7 -0
- data/lib/virtualbox/com/util.rb +32 -0
- data/lib/virtualbox/cpu.rb +61 -0
- data/lib/virtualbox/dhcp_server.rb +89 -0
- data/lib/virtualbox/dvd.rb +27 -0
- data/lib/virtualbox/exceptions.rb +39 -0
- data/lib/virtualbox/ext/byte_normalizer.rb +17 -0
- data/lib/virtualbox/ext/glob_loader.rb +35 -0
- data/lib/virtualbox/ext/logger.rb +38 -0
- data/lib/virtualbox/ext/platform.rb +31 -0
- data/lib/virtualbox/ext/subclass_listing.rb +24 -0
- data/lib/virtualbox/extra_data.rb +127 -0
- data/lib/virtualbox/forwarded_port.rb +222 -0
- data/lib/virtualbox/global.rb +96 -0
- data/lib/virtualbox/hard_drive.rb +246 -0
- data/lib/virtualbox/host.rb +71 -0
- data/lib/virtualbox/host_network_interface.rb +137 -0
- data/lib/virtualbox/hw_virtualization.rb +64 -0
- data/lib/virtualbox/lib.rb +84 -0
- data/lib/virtualbox/media.rb +20 -0
- data/lib/virtualbox/medium.rb +145 -0
- data/lib/virtualbox/medium_attachment.rb +61 -0
- data/lib/virtualbox/nat_engine.rb +71 -0
- data/lib/virtualbox/nat_forwarded_port.rb +171 -0
- data/lib/virtualbox/network_adapter.rb +166 -0
- data/lib/virtualbox/proxies/collection.rb +57 -0
- data/lib/virtualbox/shared_folder.rb +220 -0
- data/lib/virtualbox/snapshot.rb +185 -0
- data/lib/virtualbox/storage_controller.rb +160 -0
- data/lib/virtualbox/system_properties.rb +73 -0
- data/lib/virtualbox/usb_controller.rb +59 -0
- data/lib/virtualbox/usb_device_filter.rb +74 -0
- data/lib/virtualbox/version.rb +36 -0
- data/lib/virtualbox/virtual_system_description.rb +47 -0
- data/lib/virtualbox/vm.rb +649 -0
- data/lib/virtualbox/vrde_server.rb +57 -0
- data/test/test_helper.rb +18 -0
- data/test/virtualbox/abstract_model/attributable_test.rb +269 -0
- data/test/virtualbox/abstract_model/dirty_test.rb +83 -0
- data/test/virtualbox/abstract_model/interface_attributes_test.rb +194 -0
- data/test/virtualbox/abstract_model/relatable_test.rb +348 -0
- data/test/virtualbox/abstract_model/validatable_test.rb +308 -0
- data/test/virtualbox/abstract_model/version_matcher_test.rb +41 -0
- data/test/virtualbox/abstract_model_test.rb +462 -0
- data/test/virtualbox/appliance_test.rb +159 -0
- data/test/virtualbox/audio_adapter_test.rb +83 -0
- data/test/virtualbox/bios_test.rb +83 -0
- data/test/virtualbox/com/abstract_enum_test.rb +49 -0
- data/test/virtualbox/com/abstract_implementer_test.rb +40 -0
- data/test/virtualbox/com/abstract_interface_test.rb +140 -0
- data/test/virtualbox/com/ffi/interface_test.rb +249 -0
- data/test/virtualbox/com/ffi/util_test.rb +108 -0
- data/test/virtualbox/com/ffi_interface_test.rb +42 -0
- data/test/virtualbox/com/implementer/base_test.rb +38 -0
- data/test/virtualbox/com/implementer/ffi_test.rb +527 -0
- data/test/virtualbox/com/implementer/mscom_test.rb +247 -0
- data/test/virtualbox/com/mscom_interface_test.rb +17 -0
- data/test/virtualbox/com/util_test.rb +17 -0
- data/test/virtualbox/cpu_test.rb +103 -0
- data/test/virtualbox/dhcp_server_test.rb +165 -0
- data/test/virtualbox/dvd_test.rb +28 -0
- data/test/virtualbox/ext/byte_normalizer_test.rb +34 -0
- data/test/virtualbox/ext/platform_test.rb +50 -0
- data/test/virtualbox/ext/subclass_listing_test.rb +25 -0
- data/test/virtualbox/extra_data_test.rb +155 -0
- data/test/virtualbox/forwarded_port_test.rb +286 -0
- data/test/virtualbox/global_test.rb +46 -0
- data/test/virtualbox/hard_drive_test.rb +141 -0
- data/test/virtualbox/host_network_interface_test.rb +255 -0
- data/test/virtualbox/host_test.rb +94 -0
- data/test/virtualbox/hw_virtualization_test.rb +103 -0
- data/test/virtualbox/lib_test.rb +93 -0
- data/test/virtualbox/medium_attachment_test.rb +147 -0
- data/test/virtualbox/medium_test.rb +192 -0
- data/test/virtualbox/nat_engine_test.rb +106 -0
- data/test/virtualbox/nat_forwarded_port_test.rb +222 -0
- data/test/virtualbox/network_adapter_test.rb +191 -0
- data/test/virtualbox/proxies/collection_test.rb +102 -0
- data/test/virtualbox/shared_folder_test.rb +219 -0
- data/test/virtualbox/snapshot_test.rb +231 -0
- data/test/virtualbox/storage_controller_test.rb +197 -0
- data/test/virtualbox/system_properties_test.rb +87 -0
- data/test/virtualbox/usb_controller_test.rb +112 -0
- data/test/virtualbox/usb_device_filter_test.rb +93 -0
- data/test/virtualbox/version_test.rb +59 -0
- data/test/virtualbox/virtual_system_description_test.rb +61 -0
- data/test/virtualbox/vm_test.rb +633 -0
- data/test/virtualbox/vrde_server_test.rb +83 -0
- data/test/virtualbox_test.rb +11 -0
- data/virtualbox.gemspec +24 -0
- metadata +464 -0
@@ -0,0 +1,83 @@
|
|
1
|
+
require File.expand_path("../../test_helper", __FILE__)
|
2
|
+
|
3
|
+
class VRDEServerTest < Test::Unit::TestCase
|
4
|
+
setup do
|
5
|
+
@klass = VirtualBox::VRDEServer
|
6
|
+
@interface = mock("interface")
|
7
|
+
@parent = mock("parent")
|
8
|
+
end
|
9
|
+
|
10
|
+
context "class methods" do
|
11
|
+
context "populating relationship" do
|
12
|
+
setup do
|
13
|
+
@instance = mock("instance")
|
14
|
+
@klass.stubs(:new).returns(@instance)
|
15
|
+
|
16
|
+
@vrde_server = mock("vrde_server")
|
17
|
+
@interface.stubs(:vrde_server).returns(@vrde_server)
|
18
|
+
end
|
19
|
+
|
20
|
+
should "call new for the interface" do
|
21
|
+
@klass.expects(:new).with(nil, @vrde_server).once.returns(@instance)
|
22
|
+
assert_equal @instance, @klass.populate_relationship(nil, @interface)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
context "saving relationship" do
|
27
|
+
should "call save with the interface on the instance" do
|
28
|
+
instance = mock("instance")
|
29
|
+
instance.expects(:save).once
|
30
|
+
|
31
|
+
@klass.save_relationship(nil, instance)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
context "initializing" do
|
37
|
+
setup do
|
38
|
+
@klass.any_instance.stubs(:load_interface_attributes)
|
39
|
+
end
|
40
|
+
|
41
|
+
should "load interface attribtues" do
|
42
|
+
@klass.any_instance.expects(:load_interface_attributes).with(@interface).once
|
43
|
+
@klass.new(@parent, @interface)
|
44
|
+
end
|
45
|
+
|
46
|
+
should "not be dirty" do
|
47
|
+
@instance = @klass.new(@parent, @interface)
|
48
|
+
assert !@instance.changed?
|
49
|
+
end
|
50
|
+
|
51
|
+
should "be existing record" do
|
52
|
+
@instance = @klass.new(@parent, @interface)
|
53
|
+
assert !@instance.new_record?
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
context "instance methods" do
|
58
|
+
setup do
|
59
|
+
@klass.any_instance.stubs(:load_interface_attributes)
|
60
|
+
|
61
|
+
@parent = mock("parent")
|
62
|
+
@interface = mock("interface")
|
63
|
+
@instance = @klass.new(@parent, @interface)
|
64
|
+
end
|
65
|
+
|
66
|
+
context "saving" do
|
67
|
+
setup do
|
68
|
+
@vrde_server = mock("vrde_server")
|
69
|
+
@session = mock("session")
|
70
|
+
@machine = mock("machine")
|
71
|
+
@machine.stubs(:vrde_server).returns(@vrde_server)
|
72
|
+
@session.stubs(:machine).returns(@machine)
|
73
|
+
@parent.stubs(:with_open_session).yields(@session)
|
74
|
+
end
|
75
|
+
|
76
|
+
should "save the interface settings with the new bios settings" do
|
77
|
+
save_seq = sequence("save_seq")
|
78
|
+
@instance.expects(:save_changed_interface_attributes).with(@vrde_server).once.in_sequence(save_seq)
|
79
|
+
@instance.save
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
data/virtualbox.gemspec
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require File.expand_path("../lib/virtualbox/version", __FILE__)
|
3
|
+
|
4
|
+
Gem::Specification.new do |s|
|
5
|
+
s.name = "velir_virtualbox"
|
6
|
+
s.version = VirtualBox::VERSION
|
7
|
+
s.platform = Gem::Platform::RUBY
|
8
|
+
s.authors = ["Mitchell Hashimoto"]
|
9
|
+
s.email = ["mitchell.hashimoto@gmail.com"]
|
10
|
+
s.homepage = "http://github.com/Ve;or/virtualbox"
|
11
|
+
s.summary = "Create and modify virtual machines in VirtualBox using pure ruby"
|
12
|
+
s.description = "Create and modify virtual machines in VirtualBox using pure ruby"
|
13
|
+
|
14
|
+
s.required_rubygems_version = ">= 1.3.6"
|
15
|
+
|
16
|
+
s.add_dependency "ffi", "~> 1.0"
|
17
|
+
s.add_development_dependency "contest", "~> 0.1.2"
|
18
|
+
s.add_development_dependency "mocha", "~> 0.9.8"
|
19
|
+
|
20
|
+
s.files = `git ls-files`.split("\n")
|
21
|
+
s.executables = `git ls-files`.split("\n").map{|f| f =~ /^bin\/(.*)/ ? $1 : nil}.compact
|
22
|
+
s.require_path = 'lib'
|
23
|
+
end
|
24
|
+
|
metadata
ADDED
@@ -0,0 +1,464 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: velir_virtualbox
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 55
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 8
|
9
|
+
- 4
|
10
|
+
version: 0.8.4
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Mitchell Hashimoto
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-04-12 00:00:00 -04:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: ffi
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 15
|
30
|
+
segments:
|
31
|
+
- 1
|
32
|
+
- 0
|
33
|
+
version: "1.0"
|
34
|
+
type: :runtime
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: contest
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ~>
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 31
|
45
|
+
segments:
|
46
|
+
- 0
|
47
|
+
- 1
|
48
|
+
- 2
|
49
|
+
version: 0.1.2
|
50
|
+
type: :development
|
51
|
+
version_requirements: *id002
|
52
|
+
- !ruby/object:Gem::Dependency
|
53
|
+
name: mocha
|
54
|
+
prerelease: false
|
55
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
56
|
+
none: false
|
57
|
+
requirements:
|
58
|
+
- - ~>
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
hash: 43
|
61
|
+
segments:
|
62
|
+
- 0
|
63
|
+
- 9
|
64
|
+
- 8
|
65
|
+
version: 0.9.8
|
66
|
+
type: :development
|
67
|
+
version_requirements: *id003
|
68
|
+
description: Create and modify virtual machines in VirtualBox using pure ruby
|
69
|
+
email:
|
70
|
+
- mitchell.hashimoto@gmail.com
|
71
|
+
executables: []
|
72
|
+
|
73
|
+
extensions: []
|
74
|
+
|
75
|
+
extra_rdoc_files: []
|
76
|
+
|
77
|
+
files:
|
78
|
+
- .gitignore
|
79
|
+
- .yardopts
|
80
|
+
- Gemfile
|
81
|
+
- LICENSE
|
82
|
+
- Rakefile
|
83
|
+
- Readme.md
|
84
|
+
- docs/GettingStarted.md
|
85
|
+
- docs/WhatsNew.md
|
86
|
+
- features/README.md
|
87
|
+
- features/global.feature
|
88
|
+
- features/global_extra_data.feature
|
89
|
+
- features/step_definitions/abstract_model_steps.rb
|
90
|
+
- features/step_definitions/extra_data_steps.rb
|
91
|
+
- features/step_definitions/global_steps.rb
|
92
|
+
- features/step_definitions/nat_engine_steps.rb
|
93
|
+
- features/step_definitions/network_adapter_steps.rb
|
94
|
+
- features/step_definitions/shared_folder_steps.rb
|
95
|
+
- features/step_definitions/snapshot_steps.rb
|
96
|
+
- features/step_definitions/storage_controller_steps.rb
|
97
|
+
- features/step_definitions/virtualbox_steps.rb
|
98
|
+
- features/step_definitions/vm_steps.rb
|
99
|
+
- features/support/env.rb
|
100
|
+
- features/support/helpers.rb
|
101
|
+
- features/support/hooks.rb
|
102
|
+
- features/support/ordered_hash.rb
|
103
|
+
- features/support/vboxmanage.rb
|
104
|
+
- features/version.feature
|
105
|
+
- features/vm.feature
|
106
|
+
- features/vm_bios.feature
|
107
|
+
- features/vm_cpu.feature
|
108
|
+
- features/vm_extra_data.feature
|
109
|
+
- features/vm_hw_virt.feature
|
110
|
+
- features/vm_nat_engine.feature
|
111
|
+
- features/vm_network_adapters.feature
|
112
|
+
- features/vm_shared_folders.feature
|
113
|
+
- features/vm_snapshots.feature
|
114
|
+
- features/vm_storage_controllers.feature
|
115
|
+
- lib/virtualbox.rb
|
116
|
+
- lib/virtualbox/abstract_model.rb
|
117
|
+
- lib/virtualbox/abstract_model/attributable.rb
|
118
|
+
- lib/virtualbox/abstract_model/dirty.rb
|
119
|
+
- lib/virtualbox/abstract_model/interface_attributes.rb
|
120
|
+
- lib/virtualbox/abstract_model/relatable.rb
|
121
|
+
- lib/virtualbox/abstract_model/validatable.rb
|
122
|
+
- lib/virtualbox/abstract_model/version_matcher.rb
|
123
|
+
- lib/virtualbox/appliance.rb
|
124
|
+
- lib/virtualbox/audio_adapter.rb
|
125
|
+
- lib/virtualbox/bios.rb
|
126
|
+
- lib/virtualbox/com.rb
|
127
|
+
- lib/virtualbox/com/abstract_enum.rb
|
128
|
+
- lib/virtualbox/com/abstract_implementer.rb
|
129
|
+
- lib/virtualbox/com/abstract_interface.rb
|
130
|
+
- lib/virtualbox/com/base_interface.rb
|
131
|
+
- lib/virtualbox/com/ffi/interface.rb
|
132
|
+
- lib/virtualbox/com/ffi/interfaces.rb
|
133
|
+
- lib/virtualbox/com/ffi/util.rb
|
134
|
+
- lib/virtualbox/com/ffi/vboxxpcomc.rb
|
135
|
+
- lib/virtualbox/com/ffi_interface.rb
|
136
|
+
- lib/virtualbox/com/implementer/base.rb
|
137
|
+
- lib/virtualbox/com/implementer/ffi.rb
|
138
|
+
- lib/virtualbox/com/implementer/mscom.rb
|
139
|
+
- lib/virtualbox/com/implementer/nil.rb
|
140
|
+
- lib/virtualbox/com/interface/3.1.x/access_mode.rb
|
141
|
+
- lib/virtualbox/com/interface/3.1.x/appliance.rb
|
142
|
+
- lib/virtualbox/com/interface/3.1.x/audio_adapter.rb
|
143
|
+
- lib/virtualbox/com/interface/3.1.x/audio_controller_type.rb
|
144
|
+
- lib/virtualbox/com/interface/3.1.x/audio_driver_type.rb
|
145
|
+
- lib/virtualbox/com/interface/3.1.x/bios_boot_menu_mode.rb
|
146
|
+
- lib/virtualbox/com/interface/3.1.x/bios_settings.rb
|
147
|
+
- lib/virtualbox/com/interface/3.1.x/clipboard_mode.rb
|
148
|
+
- lib/virtualbox/com/interface/3.1.x/console.rb
|
149
|
+
- lib/virtualbox/com/interface/3.1.x/cpu_property_type.rb
|
150
|
+
- lib/virtualbox/com/interface/3.1.x/device_type.rb
|
151
|
+
- lib/virtualbox/com/interface/3.1.x/dhcp_server.rb
|
152
|
+
- lib/virtualbox/com/interface/3.1.x/firmware_type.rb
|
153
|
+
- lib/virtualbox/com/interface/3.1.x/guest_os_type.rb
|
154
|
+
- lib/virtualbox/com/interface/3.1.x/host.rb
|
155
|
+
- lib/virtualbox/com/interface/3.1.x/host_network_interface.rb
|
156
|
+
- lib/virtualbox/com/interface/3.1.x/host_network_interface_medium_type.rb
|
157
|
+
- lib/virtualbox/com/interface/3.1.x/host_network_interface_status.rb
|
158
|
+
- lib/virtualbox/com/interface/3.1.x/host_network_interface_type.rb
|
159
|
+
- lib/virtualbox/com/interface/3.1.x/host_usb_device.rb
|
160
|
+
- lib/virtualbox/com/interface/3.1.x/host_usb_device_filter.rb
|
161
|
+
- lib/virtualbox/com/interface/3.1.x/hw_virt_ex_property_type.rb
|
162
|
+
- lib/virtualbox/com/interface/3.1.x/machine.rb
|
163
|
+
- lib/virtualbox/com/interface/3.1.x/machine_state.rb
|
164
|
+
- lib/virtualbox/com/interface/3.1.x/medium.rb
|
165
|
+
- lib/virtualbox/com/interface/3.1.x/medium_attachment.rb
|
166
|
+
- lib/virtualbox/com/interface/3.1.x/medium_format.rb
|
167
|
+
- lib/virtualbox/com/interface/3.1.x/medium_state.rb
|
168
|
+
- lib/virtualbox/com/interface/3.1.x/medium_type.rb
|
169
|
+
- lib/virtualbox/com/interface/3.1.x/medium_variant.rb
|
170
|
+
- lib/virtualbox/com/interface/3.1.x/network_adapter.rb
|
171
|
+
- lib/virtualbox/com/interface/3.1.x/network_adapter_type.rb
|
172
|
+
- lib/virtualbox/com/interface/3.1.x/network_attachment_type.rb
|
173
|
+
- lib/virtualbox/com/interface/3.1.x/nsiexception.rb
|
174
|
+
- lib/virtualbox/com/interface/3.1.x/nsisupports.rb
|
175
|
+
- lib/virtualbox/com/interface/3.1.x/parallel_port.rb
|
176
|
+
- lib/virtualbox/com/interface/3.1.x/port_mode.rb
|
177
|
+
- lib/virtualbox/com/interface/3.1.x/progress.rb
|
178
|
+
- lib/virtualbox/com/interface/3.1.x/serial_port.rb
|
179
|
+
- lib/virtualbox/com/interface/3.1.x/session.rb
|
180
|
+
- lib/virtualbox/com/interface/3.1.x/session_state.rb
|
181
|
+
- lib/virtualbox/com/interface/3.1.x/session_type.rb
|
182
|
+
- lib/virtualbox/com/interface/3.1.x/shared_folder.rb
|
183
|
+
- lib/virtualbox/com/interface/3.1.x/snapshot.rb
|
184
|
+
- lib/virtualbox/com/interface/3.1.x/storage_bus.rb
|
185
|
+
- lib/virtualbox/com/interface/3.1.x/storage_controller.rb
|
186
|
+
- lib/virtualbox/com/interface/3.1.x/storage_controller_type.rb
|
187
|
+
- lib/virtualbox/com/interface/3.1.x/system_properties.rb
|
188
|
+
- lib/virtualbox/com/interface/3.1.x/usb_controller.rb
|
189
|
+
- lib/virtualbox/com/interface/3.1.x/usb_device.rb
|
190
|
+
- lib/virtualbox/com/interface/3.1.x/usb_device_filter.rb
|
191
|
+
- lib/virtualbox/com/interface/3.1.x/usb_device_filter_action.rb
|
192
|
+
- lib/virtualbox/com/interface/3.1.x/usb_device_state.rb
|
193
|
+
- lib/virtualbox/com/interface/3.1.x/virtual_box_error_info.rb
|
194
|
+
- lib/virtualbox/com/interface/3.1.x/virtual_system_description.rb
|
195
|
+
- lib/virtualbox/com/interface/3.1.x/virtual_system_description_type.rb
|
196
|
+
- lib/virtualbox/com/interface/3.1.x/virtual_system_description_value_type.rb
|
197
|
+
- lib/virtualbox/com/interface/3.1.x/virtualbox.rb
|
198
|
+
- lib/virtualbox/com/interface/3.1.x/vrdp_auth_type.rb
|
199
|
+
- lib/virtualbox/com/interface/3.1.x/vrdp_server.rb
|
200
|
+
- lib/virtualbox/com/interface/3.2.x/access_mode.rb
|
201
|
+
- lib/virtualbox/com/interface/3.2.x/appliance.rb
|
202
|
+
- lib/virtualbox/com/interface/3.2.x/audio_adapter.rb
|
203
|
+
- lib/virtualbox/com/interface/3.2.x/audio_controller_type.rb
|
204
|
+
- lib/virtualbox/com/interface/3.2.x/audio_driver_type.rb
|
205
|
+
- lib/virtualbox/com/interface/3.2.x/bios_boot_menu_mode.rb
|
206
|
+
- lib/virtualbox/com/interface/3.2.x/bios_settings.rb
|
207
|
+
- lib/virtualbox/com/interface/3.2.x/clipboard_mode.rb
|
208
|
+
- lib/virtualbox/com/interface/3.2.x/console.rb
|
209
|
+
- lib/virtualbox/com/interface/3.2.x/cpu_property_type.rb
|
210
|
+
- lib/virtualbox/com/interface/3.2.x/device_type.rb
|
211
|
+
- lib/virtualbox/com/interface/3.2.x/dhcp_server.rb
|
212
|
+
- lib/virtualbox/com/interface/3.2.x/firmware_type.rb
|
213
|
+
- lib/virtualbox/com/interface/3.2.x/guest.rb
|
214
|
+
- lib/virtualbox/com/interface/3.2.x/guest_os_type.rb
|
215
|
+
- lib/virtualbox/com/interface/3.2.x/host.rb
|
216
|
+
- lib/virtualbox/com/interface/3.2.x/host_network_interface.rb
|
217
|
+
- lib/virtualbox/com/interface/3.2.x/host_network_interface_medium_type.rb
|
218
|
+
- lib/virtualbox/com/interface/3.2.x/host_network_interface_status.rb
|
219
|
+
- lib/virtualbox/com/interface/3.2.x/host_network_interface_type.rb
|
220
|
+
- lib/virtualbox/com/interface/3.2.x/host_usb_device.rb
|
221
|
+
- lib/virtualbox/com/interface/3.2.x/host_usb_device_filter.rb
|
222
|
+
- lib/virtualbox/com/interface/3.2.x/hw_virt_ex_property_type.rb
|
223
|
+
- lib/virtualbox/com/interface/3.2.x/keyboard_hid_type.rb
|
224
|
+
- lib/virtualbox/com/interface/3.2.x/machine.rb
|
225
|
+
- lib/virtualbox/com/interface/3.2.x/machine_state.rb
|
226
|
+
- lib/virtualbox/com/interface/3.2.x/medium.rb
|
227
|
+
- lib/virtualbox/com/interface/3.2.x/medium_attachment.rb
|
228
|
+
- lib/virtualbox/com/interface/3.2.x/medium_format.rb
|
229
|
+
- lib/virtualbox/com/interface/3.2.x/medium_state.rb
|
230
|
+
- lib/virtualbox/com/interface/3.2.x/medium_type.rb
|
231
|
+
- lib/virtualbox/com/interface/3.2.x/medium_variant.rb
|
232
|
+
- lib/virtualbox/com/interface/3.2.x/nat_alias_mode.rb
|
233
|
+
- lib/virtualbox/com/interface/3.2.x/nat_engine.rb
|
234
|
+
- lib/virtualbox/com/interface/3.2.x/nat_protocol.rb
|
235
|
+
- lib/virtualbox/com/interface/3.2.x/network_adapter.rb
|
236
|
+
- lib/virtualbox/com/interface/3.2.x/network_adapter_type.rb
|
237
|
+
- lib/virtualbox/com/interface/3.2.x/network_attachment_type.rb
|
238
|
+
- lib/virtualbox/com/interface/3.2.x/nsiexception.rb
|
239
|
+
- lib/virtualbox/com/interface/3.2.x/nsisupports.rb
|
240
|
+
- lib/virtualbox/com/interface/3.2.x/parallel_port.rb
|
241
|
+
- lib/virtualbox/com/interface/3.2.x/pointing_hid_type.rb
|
242
|
+
- lib/virtualbox/com/interface/3.2.x/port_mode.rb
|
243
|
+
- lib/virtualbox/com/interface/3.2.x/progress.rb
|
244
|
+
- lib/virtualbox/com/interface/3.2.x/serial_port.rb
|
245
|
+
- lib/virtualbox/com/interface/3.2.x/session.rb
|
246
|
+
- lib/virtualbox/com/interface/3.2.x/session_state.rb
|
247
|
+
- lib/virtualbox/com/interface/3.2.x/session_type.rb
|
248
|
+
- lib/virtualbox/com/interface/3.2.x/shared_folder.rb
|
249
|
+
- lib/virtualbox/com/interface/3.2.x/snapshot.rb
|
250
|
+
- lib/virtualbox/com/interface/3.2.x/storage_bus.rb
|
251
|
+
- lib/virtualbox/com/interface/3.2.x/storage_controller.rb
|
252
|
+
- lib/virtualbox/com/interface/3.2.x/storage_controller_type.rb
|
253
|
+
- lib/virtualbox/com/interface/3.2.x/system_properties.rb
|
254
|
+
- lib/virtualbox/com/interface/3.2.x/usb_controller.rb
|
255
|
+
- lib/virtualbox/com/interface/3.2.x/usb_device.rb
|
256
|
+
- lib/virtualbox/com/interface/3.2.x/usb_device_filter.rb
|
257
|
+
- lib/virtualbox/com/interface/3.2.x/usb_device_filter_action.rb
|
258
|
+
- lib/virtualbox/com/interface/3.2.x/usb_device_state.rb
|
259
|
+
- lib/virtualbox/com/interface/3.2.x/virtual_box_error_info.rb
|
260
|
+
- lib/virtualbox/com/interface/3.2.x/virtual_system_description.rb
|
261
|
+
- lib/virtualbox/com/interface/3.2.x/virtual_system_description_type.rb
|
262
|
+
- lib/virtualbox/com/interface/3.2.x/virtual_system_description_value_type.rb
|
263
|
+
- lib/virtualbox/com/interface/3.2.x/virtualbox.rb
|
264
|
+
- lib/virtualbox/com/interface/3.2.x/vrdp_auth_type.rb
|
265
|
+
- lib/virtualbox/com/interface/3.2.x/vrdp_server.rb
|
266
|
+
- lib/virtualbox/com/interface/4.0.x/access_mode.rb
|
267
|
+
- lib/virtualbox/com/interface/4.0.x/appliance.rb
|
268
|
+
- lib/virtualbox/com/interface/4.0.x/audio_adapter.rb
|
269
|
+
- lib/virtualbox/com/interface/4.0.x/audio_controller_type.rb
|
270
|
+
- lib/virtualbox/com/interface/4.0.x/audio_driver_type.rb
|
271
|
+
- lib/virtualbox/com/interface/4.0.x/auth_type.rb
|
272
|
+
- lib/virtualbox/com/interface/4.0.x/bios_boot_menu_mode.rb
|
273
|
+
- lib/virtualbox/com/interface/4.0.x/bios_settings.rb
|
274
|
+
- lib/virtualbox/com/interface/4.0.x/cleanup_mode.rb
|
275
|
+
- lib/virtualbox/com/interface/4.0.x/clipboard_mode.rb
|
276
|
+
- lib/virtualbox/com/interface/4.0.x/console.rb
|
277
|
+
- lib/virtualbox/com/interface/4.0.x/cpu_property_type.rb
|
278
|
+
- lib/virtualbox/com/interface/4.0.x/device_type.rb
|
279
|
+
- lib/virtualbox/com/interface/4.0.x/dhcp_server.rb
|
280
|
+
- lib/virtualbox/com/interface/4.0.x/event_source.rb
|
281
|
+
- lib/virtualbox/com/interface/4.0.x/fault_tolerance_state.rb
|
282
|
+
- lib/virtualbox/com/interface/4.0.x/firmware_type.rb
|
283
|
+
- lib/virtualbox/com/interface/4.0.x/guest.rb
|
284
|
+
- lib/virtualbox/com/interface/4.0.x/guest_os_type.rb
|
285
|
+
- lib/virtualbox/com/interface/4.0.x/host.rb
|
286
|
+
- lib/virtualbox/com/interface/4.0.x/host_network_interface.rb
|
287
|
+
- lib/virtualbox/com/interface/4.0.x/host_network_interface_medium_type.rb
|
288
|
+
- lib/virtualbox/com/interface/4.0.x/host_network_interface_status.rb
|
289
|
+
- lib/virtualbox/com/interface/4.0.x/host_network_interface_type.rb
|
290
|
+
- lib/virtualbox/com/interface/4.0.x/host_usb_device.rb
|
291
|
+
- lib/virtualbox/com/interface/4.0.x/host_usb_device_filter.rb
|
292
|
+
- lib/virtualbox/com/interface/4.0.x/hw_virt_ex_property_type.rb
|
293
|
+
- lib/virtualbox/com/interface/4.0.x/keyboard_hid_type.rb
|
294
|
+
- lib/virtualbox/com/interface/4.0.x/lock_type.rb
|
295
|
+
- lib/virtualbox/com/interface/4.0.x/machine.rb
|
296
|
+
- lib/virtualbox/com/interface/4.0.x/machine_state.rb
|
297
|
+
- lib/virtualbox/com/interface/4.0.x/medium.rb
|
298
|
+
- lib/virtualbox/com/interface/4.0.x/medium_attachment.rb
|
299
|
+
- lib/virtualbox/com/interface/4.0.x/medium_format.rb
|
300
|
+
- lib/virtualbox/com/interface/4.0.x/medium_state.rb
|
301
|
+
- lib/virtualbox/com/interface/4.0.x/medium_type.rb
|
302
|
+
- lib/virtualbox/com/interface/4.0.x/medium_variant.rb
|
303
|
+
- lib/virtualbox/com/interface/4.0.x/nat_alias_mode.rb
|
304
|
+
- lib/virtualbox/com/interface/4.0.x/nat_engine.rb
|
305
|
+
- lib/virtualbox/com/interface/4.0.x/nat_protocol.rb
|
306
|
+
- lib/virtualbox/com/interface/4.0.x/network_adapter.rb
|
307
|
+
- lib/virtualbox/com/interface/4.0.x/network_adapter_type.rb
|
308
|
+
- lib/virtualbox/com/interface/4.0.x/network_attachment_type.rb
|
309
|
+
- lib/virtualbox/com/interface/4.0.x/nsiexception.rb
|
310
|
+
- lib/virtualbox/com/interface/4.0.x/nsisupports.rb
|
311
|
+
- lib/virtualbox/com/interface/4.0.x/parallel_port.rb
|
312
|
+
- lib/virtualbox/com/interface/4.0.x/pointing_hid_type.rb
|
313
|
+
- lib/virtualbox/com/interface/4.0.x/port_mode.rb
|
314
|
+
- lib/virtualbox/com/interface/4.0.x/progress.rb
|
315
|
+
- lib/virtualbox/com/interface/4.0.x/serial_port.rb
|
316
|
+
- lib/virtualbox/com/interface/4.0.x/session.rb
|
317
|
+
- lib/virtualbox/com/interface/4.0.x/session_state.rb
|
318
|
+
- lib/virtualbox/com/interface/4.0.x/session_type.rb
|
319
|
+
- lib/virtualbox/com/interface/4.0.x/shared_folder.rb
|
320
|
+
- lib/virtualbox/com/interface/4.0.x/snapshot.rb
|
321
|
+
- lib/virtualbox/com/interface/4.0.x/storage_bus.rb
|
322
|
+
- lib/virtualbox/com/interface/4.0.x/storage_controller.rb
|
323
|
+
- lib/virtualbox/com/interface/4.0.x/storage_controller_type.rb
|
324
|
+
- lib/virtualbox/com/interface/4.0.x/system_properties.rb
|
325
|
+
- lib/virtualbox/com/interface/4.0.x/usb_controller.rb
|
326
|
+
- lib/virtualbox/com/interface/4.0.x/usb_device.rb
|
327
|
+
- lib/virtualbox/com/interface/4.0.x/usb_device_filter.rb
|
328
|
+
- lib/virtualbox/com/interface/4.0.x/usb_device_filter_action.rb
|
329
|
+
- lib/virtualbox/com/interface/4.0.x/usb_device_state.rb
|
330
|
+
- lib/virtualbox/com/interface/4.0.x/virtual_box_error_info.rb
|
331
|
+
- lib/virtualbox/com/interface/4.0.x/virtual_system_description.rb
|
332
|
+
- lib/virtualbox/com/interface/4.0.x/virtual_system_description_type.rb
|
333
|
+
- lib/virtualbox/com/interface/4.0.x/virtual_system_description_value_type.rb
|
334
|
+
- lib/virtualbox/com/interface/4.0.x/virtualbox.rb
|
335
|
+
- lib/virtualbox/com/interface/4.0.x/vrde_server.rb
|
336
|
+
- lib/virtualbox/com/mscom_interface.rb
|
337
|
+
- lib/virtualbox/com/nil_interface.rb
|
338
|
+
- lib/virtualbox/com/util.rb
|
339
|
+
- lib/virtualbox/cpu.rb
|
340
|
+
- lib/virtualbox/dhcp_server.rb
|
341
|
+
- lib/virtualbox/dvd.rb
|
342
|
+
- lib/virtualbox/exceptions.rb
|
343
|
+
- lib/virtualbox/ext/byte_normalizer.rb
|
344
|
+
- lib/virtualbox/ext/glob_loader.rb
|
345
|
+
- lib/virtualbox/ext/logger.rb
|
346
|
+
- lib/virtualbox/ext/platform.rb
|
347
|
+
- lib/virtualbox/ext/subclass_listing.rb
|
348
|
+
- lib/virtualbox/extra_data.rb
|
349
|
+
- lib/virtualbox/forwarded_port.rb
|
350
|
+
- lib/virtualbox/global.rb
|
351
|
+
- lib/virtualbox/hard_drive.rb
|
352
|
+
- lib/virtualbox/host.rb
|
353
|
+
- lib/virtualbox/host_network_interface.rb
|
354
|
+
- lib/virtualbox/hw_virtualization.rb
|
355
|
+
- lib/virtualbox/lib.rb
|
356
|
+
- lib/virtualbox/media.rb
|
357
|
+
- lib/virtualbox/medium.rb
|
358
|
+
- lib/virtualbox/medium_attachment.rb
|
359
|
+
- lib/virtualbox/nat_engine.rb
|
360
|
+
- lib/virtualbox/nat_forwarded_port.rb
|
361
|
+
- lib/virtualbox/network_adapter.rb
|
362
|
+
- lib/virtualbox/proxies/collection.rb
|
363
|
+
- lib/virtualbox/shared_folder.rb
|
364
|
+
- lib/virtualbox/snapshot.rb
|
365
|
+
- lib/virtualbox/storage_controller.rb
|
366
|
+
- lib/virtualbox/system_properties.rb
|
367
|
+
- lib/virtualbox/usb_controller.rb
|
368
|
+
- lib/virtualbox/usb_device_filter.rb
|
369
|
+
- lib/virtualbox/version.rb
|
370
|
+
- lib/virtualbox/virtual_system_description.rb
|
371
|
+
- lib/virtualbox/vm.rb
|
372
|
+
- lib/virtualbox/vrde_server.rb
|
373
|
+
- test/test_helper.rb
|
374
|
+
- test/virtualbox/abstract_model/attributable_test.rb
|
375
|
+
- test/virtualbox/abstract_model/dirty_test.rb
|
376
|
+
- test/virtualbox/abstract_model/interface_attributes_test.rb
|
377
|
+
- test/virtualbox/abstract_model/relatable_test.rb
|
378
|
+
- test/virtualbox/abstract_model/validatable_test.rb
|
379
|
+
- test/virtualbox/abstract_model/version_matcher_test.rb
|
380
|
+
- test/virtualbox/abstract_model_test.rb
|
381
|
+
- test/virtualbox/appliance_test.rb
|
382
|
+
- test/virtualbox/audio_adapter_test.rb
|
383
|
+
- test/virtualbox/bios_test.rb
|
384
|
+
- test/virtualbox/com/abstract_enum_test.rb
|
385
|
+
- test/virtualbox/com/abstract_implementer_test.rb
|
386
|
+
- test/virtualbox/com/abstract_interface_test.rb
|
387
|
+
- test/virtualbox/com/ffi/interface_test.rb
|
388
|
+
- test/virtualbox/com/ffi/util_test.rb
|
389
|
+
- test/virtualbox/com/ffi_interface_test.rb
|
390
|
+
- test/virtualbox/com/implementer/base_test.rb
|
391
|
+
- test/virtualbox/com/implementer/ffi_test.rb
|
392
|
+
- test/virtualbox/com/implementer/mscom_test.rb
|
393
|
+
- test/virtualbox/com/mscom_interface_test.rb
|
394
|
+
- test/virtualbox/com/util_test.rb
|
395
|
+
- test/virtualbox/cpu_test.rb
|
396
|
+
- test/virtualbox/dhcp_server_test.rb
|
397
|
+
- test/virtualbox/dvd_test.rb
|
398
|
+
- test/virtualbox/ext/byte_normalizer_test.rb
|
399
|
+
- test/virtualbox/ext/platform_test.rb
|
400
|
+
- test/virtualbox/ext/subclass_listing_test.rb
|
401
|
+
- test/virtualbox/extra_data_test.rb
|
402
|
+
- test/virtualbox/forwarded_port_test.rb
|
403
|
+
- test/virtualbox/global_test.rb
|
404
|
+
- test/virtualbox/hard_drive_test.rb
|
405
|
+
- test/virtualbox/host_network_interface_test.rb
|
406
|
+
- test/virtualbox/host_test.rb
|
407
|
+
- test/virtualbox/hw_virtualization_test.rb
|
408
|
+
- test/virtualbox/lib_test.rb
|
409
|
+
- test/virtualbox/medium_attachment_test.rb
|
410
|
+
- test/virtualbox/medium_test.rb
|
411
|
+
- test/virtualbox/nat_engine_test.rb
|
412
|
+
- test/virtualbox/nat_forwarded_port_test.rb
|
413
|
+
- test/virtualbox/network_adapter_test.rb
|
414
|
+
- test/virtualbox/proxies/collection_test.rb
|
415
|
+
- test/virtualbox/shared_folder_test.rb
|
416
|
+
- test/virtualbox/snapshot_test.rb
|
417
|
+
- test/virtualbox/storage_controller_test.rb
|
418
|
+
- test/virtualbox/system_properties_test.rb
|
419
|
+
- test/virtualbox/usb_controller_test.rb
|
420
|
+
- test/virtualbox/usb_device_filter_test.rb
|
421
|
+
- test/virtualbox/version_test.rb
|
422
|
+
- test/virtualbox/virtual_system_description_test.rb
|
423
|
+
- test/virtualbox/vm_test.rb
|
424
|
+
- test/virtualbox/vrde_server_test.rb
|
425
|
+
- test/virtualbox_test.rb
|
426
|
+
- virtualbox.gemspec
|
427
|
+
has_rdoc: true
|
428
|
+
homepage: http://github.com/Ve;or/virtualbox
|
429
|
+
licenses: []
|
430
|
+
|
431
|
+
post_install_message:
|
432
|
+
rdoc_options: []
|
433
|
+
|
434
|
+
require_paths:
|
435
|
+
- lib
|
436
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
437
|
+
none: false
|
438
|
+
requirements:
|
439
|
+
- - ">="
|
440
|
+
- !ruby/object:Gem::Version
|
441
|
+
hash: 3
|
442
|
+
segments:
|
443
|
+
- 0
|
444
|
+
version: "0"
|
445
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
446
|
+
none: false
|
447
|
+
requirements:
|
448
|
+
- - ">="
|
449
|
+
- !ruby/object:Gem::Version
|
450
|
+
hash: 23
|
451
|
+
segments:
|
452
|
+
- 1
|
453
|
+
- 3
|
454
|
+
- 6
|
455
|
+
version: 1.3.6
|
456
|
+
requirements: []
|
457
|
+
|
458
|
+
rubyforge_project:
|
459
|
+
rubygems_version: 1.3.7
|
460
|
+
signing_key:
|
461
|
+
specification_version: 3
|
462
|
+
summary: Create and modify virtual machines in VirtualBox using pure ruby
|
463
|
+
test_files: []
|
464
|
+
|