diff options
author | Abhishek Shekhar <abhishek.shekhar1@amdocs.com> | 2018-02-12 14:00:55 +0530 |
---|---|---|
committer | Abhishek Shekhar <abhishek.shekhar1@amdocs.com> | 2018-02-12 15:32:27 +0530 |
commit | 9b16e7e72a97bd90a37c7871363a24e9b205b2a0 (patch) | |
tree | 8d0efcd91fca0a82ff095d6bbf4ddeec34b0e398 /nova-model/src/test/java/com/woorea/openstack/nova/model/QuotaSetTest.java | |
parent | fe355ec81ccaf825479a29e46583bb2d15bdd46a (diff) |
Nova Model UTs
Change-Id: I3e72997983bdec151ded4b923e03d0f64b9891e8
Issue-ID: SO-369
Signed-off-by: Abhishek Shekhar <abhishek.shekhar1@amdocs.com>
Diffstat (limited to 'nova-model/src/test/java/com/woorea/openstack/nova/model/QuotaSetTest.java')
-rw-r--r-- | nova-model/src/test/java/com/woorea/openstack/nova/model/QuotaSetTest.java | 166 |
1 files changed, 166 insertions, 0 deletions
diff --git a/nova-model/src/test/java/com/woorea/openstack/nova/model/QuotaSetTest.java b/nova-model/src/test/java/com/woorea/openstack/nova/model/QuotaSetTest.java new file mode 100644 index 0000000..bbf7fd7 --- /dev/null +++ b/nova-model/src/test/java/com/woorea/openstack/nova/model/QuotaSetTest.java @@ -0,0 +1,166 @@ +/*- + * ============LICENSE_START======================================================= + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + */ + +package com.woorea.openstack.nova.model; + +import org.junit.Test; + +import static org.junit.Assert.*; + +public class QuotaSetTest { + + private QuotaSet set = new QuotaSet(); + + @Test + public void getId() { + set.getId(); + } + + @Test + public void setId() { + set.setId("123"); + } + + @Test + public void getMetadataItems() { + set.getMetadataItems(); + } + + @Test + public void setMetadataItems() { + set.setMetadataItems(123); + } + + @Test + public void getInjectedFileContentBytes() { + set.getInjectedFileContentBytes(); + } + + @Test + public void setInjectedFileContentBytes() { + set.setInjectedFileContentBytes(123); + } + + @Test + public void getInjectedFiles() { + set.getInjectedFiles(); + } + + @Test + public void setInjectedFiles() { + set.setInjectedFiles(123); + } + + @Test + public void getGigabytes() { + set.getGigabytes(); + } + + @Test + public void setGigabytes() { + set.setGigabytes(123); + } + + @Test + public void getRam() { + set.getRam(); + } + + @Test + public void setRam() { + set.setRam(123); + } + + @Test + public void getFloatingIps() { + set.getFloatingIps(); + } + + @Test + public void setFloatingIps() { + set.setFloatingIps(123); + } + + @Test + public void getInstances() { + set.getInstances(); + } + + @Test + public void setInstances() { + set.setInstances(123); + } + + @Test + public void getVolumes() { + set.getVolumes(); + } + + @Test + public void setVolumes() { + set.setVolumes(123); + } + + @Test + public void getCores() { + set.getCores(); + } + + @Test + public void setCores() { + set.setCores(123); + } + + @Test + public void getSecurityGroups() { + set.getSecurityGroups(); + } + + @Test + public void setSecurityGroups() { + set.setSecurityGroups(123); + } + + @Test + public void getSecurityGroupRules() { + set.getSecurityGroupRules(); + } + + @Test + public void setSecurityGroupRules() { + set.setSecurityGroupRules(123); + } + + @Test + public void getKeyPairs() { + set.getKeyPairs(); + } + + @Test + public void setKeyPairs() { + set.setKeyPairs(123); + } + + @Test + public void getInjectedFilePathBytes() { + set.getInjectedFilePathBytes(); + } + + @Test + public void setInjectedFilePathBytes() { + set.setInjectedFilePathBytes(123); + } +}
\ No newline at end of file |