diff --git a/test/test_deserialization.rb b/test/test_deserialization.rb index e1c008ac..38a4194e 100644 --- a/test/test_deserialization.rb +++ b/test/test_deserialization.rb @@ -26,7 +26,6 @@ def test_moref def test_dataobject obj = VIM.DatastoreSummary( - :dynamicProperty => [], :capacity => 1000, :accessible => true, :datastore => VIM.Datastore(nil, "foo"), @@ -59,7 +58,6 @@ def test_enum def test_array obj = VIM.ObjectContent( - :dynamicProperty => [], :obj => VIM.Folder(nil, 'ha-folder-root'), :missingSet => [], :propSet => [ @@ -87,12 +85,11 @@ def test_array def test_array2 obj = VIM.DVPortStatus( - :dynamicProperty => [], :linkUp => true, :blocked => false, :vlanIds => [ - VIM::NumericRange(:dynamicProperty => [], :start => 5, :end => 7), - VIM::NumericRange(:dynamicProperty => [], :start => 10, :end => 20), + VIM::NumericRange(:start => 5, :end => 7), + VIM::NumericRange(:start => 10, :end => 20), ], :vmDirectPathGen2InactiveReasonNetwork => [], :vmDirectPathGen2InactiveReasonOther => [] @@ -116,7 +113,6 @@ def test_array2 def test_empty_array obj = VIM.DVPortStatus( - :dynamicProperty => [], :linkUp => true, :blocked => false, :vlanIds => [], @@ -155,22 +151,18 @@ def test_fault def test_wait_for_updates obj = VIM.UpdateSet( - :dynamicProperty => [], :version => '7', :filterSet => [ VIM.PropertyFilterUpdate( - :dynamicProperty => [], :filter => VIM.PropertyFilter(nil, "session[528BA5EB-335B-4AF6-B49C-6160CF5E8D5B]71E3AC7E-7927-4D9E-8BC3-522769F22DAF"), :missingSet => [], :objectSet => [ VIM.ObjectUpdate( - :dynamicProperty => [], :kind => 'enter', :obj => VIM.VirtualMachine(nil, 'vm-1106'), :missingSet => [], :changeSet => [ VIM.PropertyChange( - :dynamicProperty => [], :name => 'runtime.powerState', :op => 'assign', :val => 'poweredOn' @@ -210,7 +202,6 @@ def test_binary def test_hba obj = VIM::HostBlockHba( - :dynamicProperty => [], :key => 'key-vim.host.BlockHba-vmhba0', :device => 'vmhba0', :bus => 0, @@ -250,7 +241,6 @@ def test_runtime_state def test_runtime_info obj = VIM::VirtualMachineRuntimeInfo( - :dynamicProperty => [], :bootTime => Time.parse('2010-08-20 05:44:35 UTC'), :connectionState => "connected", :faultToleranceState => "notConfigured", @@ -360,7 +350,6 @@ def test_typename def test_new_fields obj = VIM::HostBlockHba( - :dynamicProperty => [], :key => 'key-vim.host.BlockHba-vmhba0', :device => 'vmhba0', :bus => 0,