Sha256: dd0a954707b0f3fc377403808cd06bca74ac0b9c2081a8e7f5029c39b432141e

Contents?: true

Size: 1.26 KB

Versions: 16

Compression:

Stored size: 1.26 KB

Contents

# Before everything, load virtualbox, of course
require 'spec'
require File.join(File.dirname(__FILE__), %W[.. .. lib virtualbox])

# Configuration settings/info
IntegrationInfo = {
  :test_unsafe => !!ENV["TEST_UNSAFE"],
  :vm_name => "test_vm"
}

# Mapping of VirtualBox::VM property keys to attributes in the
# `showvminfo` output.
VM_MAPPINGS = {
  :uuid => "UUID",
  :name => "name",
  :os_type_id => "ostype",
  :memory_size => "memory",
  :vram_size => "vram",
  :cpu_count => "cpus",
  :accelerate_3d_enabled => "accelerate3d",
  :accelerate_2d_video_enabled => "accelerate2dvideo",
  :clipboard_mode => "clipboard",
  :monitor_count => "monitorcount"
}

BIOS_MAPPINGS = {
  :acpi_enabled => "acpi",
  :io_apic_enabled => "ioapic"
}

HWVIRT_MAPPINGS = {
  :enabled => "hwvirtex",
  :exclusive => "hwvirtexexcl",
  :nested_paging => "nestedpaging",
  :vpid => "vtxvpid"
}

CPU_MAPPINGS = {
  :pae => "pae",
  :synthetic => "synthcpu"
}

STORAGE_MAPPINGS = {
  :port_count => "portcount",
  :controller_type => "type"
}

SHARED_FOLDER_MAPPINGS = {
  :host_path => "path"
}

NETWORK_ADAPTER_MAPPINGS = {
  :mac_address => "macaddress",
  :cable_connected => "cableconnected"
}

FORWARDED_PORT_MAPPINGS = {
  :protocol => "protocol",
  :hostport => "hostport",
  :guestport => "guestport"
}

Version data entries

16 entries across 16 versions & 3 rubygems

Version Path
virtualbox-0.9.2 features/support/env.rb
virtualbox-0.9.1 features/support/env.rb
virtualbox-0.9.0 features/support/env.rb
virtualbox-0.8.6 features/support/env.rb
virtualbox-0.8.5 features/support/env.rb
virtualbox-0.8.4 features/support/env.rb
velir_virtualbox-0.8.4 features/support/env.rb
virtualbox-0.8.3 features/support/env.rb
virtualbox-0.8.2 features/support/env.rb
virtualbox-0.8.1 features/support/env.rb
virtualbox-0.8.0 features/support/env.rb
virtualbox-0.7.9 features/support/env.rb
virtualbox-0.7.8 features/support/env.rb
virtualbox-0.7.7 features/support/env.rb
virtualbox-0.7.6 features/support/env.rb
bbrowning-virtualbox-0.7.6.dev features/support/env.rb