X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=docs%2Fhow-to-use%2FUnitTests.rst;h=4a360d4822c70c58412f6cb896fd1aee84e0d4ff;hb=7ddff3c75481b3c3d1b9cd39b88ed875a168d67d;hp=ac42892566e73d2158503cc9d966c411b20013f9;hpb=3688eb42266a2a96a16eb140eebf6f86a7bc126b;p=snaps.git diff --git a/docs/how-to-use/UnitTests.rst b/docs/how-to-use/UnitTests.rst index ac42892..4a360d4 100644 --- a/docs/how-to-use/UnitTests.rst +++ b/docs/how-to-use/UnitTests.rst @@ -126,6 +126,18 @@ DomainDomainObjectTests Ensures that all required members are included when constructing a Domain domain object +ComputeQuotasDomainObjectTests +------------------------------ + +Ensures that all required members are included when constructing a +ComputeQuotas domain object + +NetworkQuotasDomainObjectTests +------------------------------ + +Ensures that all required members are included when constructing a +NetworkQuotas domain object + RoleDomainObjectTests --------------------- @@ -196,7 +208,67 @@ StackDomainObjectTests ---------------------- Ensures that all required members are included when constructing a -Stack domain object +Stack domain object (for Heat) + +ResourceDomainObjectTests +------------------------- + +Ensures that all required members are included when constructing a +Resource domain object (for Heat) + +OutputDomainObjectTests +----------------------- + +Ensures that all required members are included when constructing a +Output domain object (for Heat) + +VolumeSettingsUnitTests +----------------------- + +Ensures that all required members are included when constructing a +VolumeSettings object + +VolumeDomainObjectTests +----------------------- + +Ensures that all required members are included when constructing a +Volume domain object (for Cinder) + +VolumeTypeSettingsUnitTests +--------------------------- + +Ensures that all required members are included when constructing a +VolumeTypeSettings object + +VolumeTypeDomainObjectTests +--------------------------- + +Ensures that all required members are included when constructing a +VolumeType domain object (for Cinder) + +VolumeTypeEncryptionObjectTests +------------------------------- + +Ensures that all required members are included when constructing a +VolumeTypeEncryption domain object (for Cinder) + +QoSSettingsUnitTests +-------------------- + +Ensures that all required members are included when constructing a +QoSSettings object + +QoSSpecDomainObjectTests +------------------------ + +Ensures that all required members are included when constructing a +QoSSpec domain object (for Cinder) + +VolumeDomainObjectTests +----------------------- + +Ensures that all required members are included when constructing a +Volume domain object (for Cinder) FloatingIpSettingsUnitTests --------------------------- @@ -221,3 +293,17 @@ VmInstDomainObjectTests Ensures that all required members are included when constructing a VmInst domain object + +SettingsUtilsUnitTests +---------------------- + +Ensures that the settings_utils.py#create_volume_settings() function properly +maps a snaps.domain.Volume object correctly to a +snaps.openstack.create_volume.VolumeSettings object as well as a +snaps.domain.VolumeType object to a +snaps.openstack.create_volume.VolumeSettings object + + +Ensures that the settings_utils.py#create_flavor_settings() function properly +maps a snaps.domain.Flavor object correctly to a +snaps.openstack.create_flavor.FlavorSettings object \ No newline at end of file