diff options
author | vasraz <vasyl.razinkov@est.tech> | 2021-02-18 13:13:50 +0000 |
---|---|---|
committer | vasraz <vasyl.razinkov@est.tech> | 2021-02-18 13:13:50 +0000 |
commit | fee0f29212b10c940ec4b19fc8f4794d06964eee (patch) | |
tree | 794d90ad0c299e85143e1ffee55916078285c4ef /catalog-model/src/test/java/org | |
parent | 26e5029d922779fd7e786c1a31b6b37492132388 (diff) |
Implement Attributes/Outputs BE (part 1)
This commit includes support for:
- import VFC with attributes
- add VFC to VF/Service
- show attributes in VF/Service
Change-Id: I2cda966ab878ae7aee4bcfecf266c5c251c91164
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3448
Signed-off-by: JulienBe <julien.bertozzi@intl.att.com>
Diffstat (limited to 'catalog-model/src/test/java/org')
-rw-r--r-- | catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentParametersViewTest.java | 420 |
1 files changed, 0 insertions, 420 deletions
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentParametersViewTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentParametersViewTest.java index ec3604498b..1f6719531e 100644 --- a/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentParametersViewTest.java +++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentParametersViewTest.java @@ -70,426 +70,6 @@ public class ComponentParametersViewTest { testSubject.disableAll(); } - - @Test - public void testIsIgnoreGroups() throws Exception { - ComponentParametersView testSubject; - boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.isIgnoreGroups(); - } - - - @Test - public void testSetIgnoreGroups() throws Exception { - ComponentParametersView testSubject; - boolean ignoreGroups = false; - - // default test - testSubject = createTestSubject(); - testSubject.setIgnoreGroups(ignoreGroups); - } - - - @Test - public void testIsIgnoreComponentInstances() throws Exception { - ComponentParametersView testSubject; - boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.isIgnoreComponentInstances(); - } - - - @Test - public void testSetIgnoreComponentInstances() throws Exception { - ComponentParametersView testSubject; - boolean ignoreComponentInstances = false; - - // default test - testSubject = createTestSubject(); - testSubject.setIgnoreComponentInstances(ignoreComponentInstances); - } - - - @Test - public void testIsIgnoreProperties() throws Exception { - ComponentParametersView testSubject; - boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.isIgnoreProperties(); - } - - - @Test - public void testSetIgnoreProperties() throws Exception { - ComponentParametersView testSubject; - boolean ignoreProperties = false; - - // default test - testSubject = createTestSubject(); - testSubject.setIgnoreProperties(ignoreProperties); - } - - - @Test - public void testIsIgnoreCapabilities() throws Exception { - ComponentParametersView testSubject; - boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.isIgnoreCapabilities(); - } - - - @Test - public void testSetIgnoreCapabilities() throws Exception { - ComponentParametersView testSubject; - boolean ignoreCapabilities = false; - - // default test - testSubject = createTestSubject(); - testSubject.setIgnoreCapabilities(ignoreCapabilities); - } - - - @Test - public void testIsIgnoreRequirements() throws Exception { - ComponentParametersView testSubject; - boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.isIgnoreRequirements(); - } - - - @Test - public void testSetIgnoreRequirements() throws Exception { - ComponentParametersView testSubject; - boolean ignoreRequirements = false; - - // default test - testSubject = createTestSubject(); - testSubject.setIgnoreRequirements(ignoreRequirements); - } - - - @Test - public void testIsIgnoreCategories() throws Exception { - ComponentParametersView testSubject; - boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.isIgnoreCategories(); - } - - - @Test - public void testSetIgnoreCategories() throws Exception { - ComponentParametersView testSubject; - boolean ignoreCategories = false; - - // default test - testSubject = createTestSubject(); - testSubject.setIgnoreCategories(ignoreCategories); - } - - - @Test - public void testIsIgnoreAllVersions() throws Exception { - ComponentParametersView testSubject; - boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.isIgnoreAllVersions(); - } - - - @Test - public void testSetIgnoreAllVersions() throws Exception { - ComponentParametersView testSubject; - boolean ignoreAllVersions = false; - - // default test - testSubject = createTestSubject(); - testSubject.setIgnoreAllVersions(ignoreAllVersions); - } - - - @Test - public void testIsIgnoreAdditionalInformation() throws Exception { - ComponentParametersView testSubject; - boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.isIgnoreAdditionalInformation(); - } - - - @Test - public void testIsIgnoreArtifacts() throws Exception { - ComponentParametersView testSubject; - boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.isIgnoreArtifacts(); - } - - - @Test - public void testSetIgnoreArtifacts() throws Exception { - ComponentParametersView testSubject; - boolean ignoreArtifacts = false; - - // default test - testSubject = createTestSubject(); - testSubject.setIgnoreArtifacts(ignoreArtifacts); - } - - - @Test - public void testIsIgnoreComponentInstancesProperties() throws Exception { - ComponentParametersView testSubject; - boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.isIgnoreComponentInstancesProperties(); - } - - - @Test - public void testSetIgnoreComponentInstancesProperties() throws Exception { - ComponentParametersView testSubject; - boolean ignoreComponentInstancesProperties = false; - - // default test - testSubject = createTestSubject(); - testSubject.setIgnoreComponentInstancesProperties(ignoreComponentInstancesProperties); - } - - - @Test - public void testIsIgnoreComponentInstancesInputs() throws Exception { - ComponentParametersView testSubject; - boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.isIgnoreComponentInstancesInputs(); - } - - - @Test - public void testSetIgnoreComponentInstancesInputs() throws Exception { - ComponentParametersView testSubject; - boolean ignoreComponentInstancesInputs = false; - - // default test - testSubject = createTestSubject(); - testSubject.setIgnoreComponentInstancesInputs(ignoreComponentInstancesInputs); - } - - - @Test - public void testIsIgnoreInterfaces() throws Exception { - ComponentParametersView testSubject; - boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.isIgnoreInterfaces(); - } - - - - @Test - public void testIsIgnoreAttributesFrom() throws Exception { - ComponentParametersView testSubject; - boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.isIgnoreAttributesFrom(); - } - - - @Test - public void testSetIgnoreAttributesFrom() throws Exception { - ComponentParametersView testSubject; - boolean ignoreAttributesFrom = false; - - // default test - testSubject = createTestSubject(); - testSubject.setIgnoreAttributesFrom(ignoreAttributesFrom); - } - - - @Test - public void testIsIgnoreComponentInstancesAttributesFrom() throws Exception { - ComponentParametersView testSubject; - boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.isIgnoreComponentInstancesAttributesFrom(); - } - - - - @Test - public void testIsIgnoreDerivedFrom() throws Exception { - ComponentParametersView testSubject; - boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.isIgnoreDerivedFrom(); - } - - - - @Test - public void testIsIgnoreUsers() throws Exception { - ComponentParametersView testSubject; - boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.isIgnoreUsers(); - } - - - @Test - public void testSetIgnoreUsers() throws Exception { - ComponentParametersView testSubject; - boolean ignoreUsers = false; - - // default test - testSubject = createTestSubject(); - testSubject.setIgnoreUsers(ignoreUsers); - } - - - @Test - public void testIsIgnoreInputs() throws Exception { - ComponentParametersView testSubject; - boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.isIgnoreInputs(); - } - - - @Test - public void testSetIgnoreInputs() throws Exception { - ComponentParametersView testSubject; - boolean ignoreInputs = false; - - // default test - testSubject = createTestSubject(); - testSubject.setIgnoreInputs(ignoreInputs); - } - - - @Test - public void testIsIgnoreCapabiltyProperties() throws Exception { - ComponentParametersView testSubject; - boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.isIgnoreCapabiltyProperties(); - } - - - @Test - public void testSetIgnoreCapabiltyProperties() throws Exception { - ComponentParametersView testSubject; - boolean ignoreCapabiltyProperties = false; - - // default test - testSubject = createTestSubject(); - testSubject.setIgnoreCapabiltyProperties(ignoreCapabiltyProperties); - } - - - @Test - public void testIsIgnoreForwardingPath() throws Exception { - ComponentParametersView testSubject; - boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.isIgnoreForwardingPath(); - } - - - @Test - public void testSetIgnoreForwardingPath() throws Exception { - ComponentParametersView testSubject; - boolean ignoreServicePath = false; - - // default test - testSubject = createTestSubject(); - testSubject.setIgnoreForwardingPath(ignoreServicePath); - } - - - @Test - public void testIsIgnorePolicies() throws Exception { - ComponentParametersView testSubject; - boolean result; - - // default test - testSubject = createTestSubject(); - result = testSubject.isIgnorePolicies(); - } - - - @Test - public void testSetIgnorePolicies() throws Exception { - ComponentParametersView testSubject; - boolean ignorePolicies = false; - - // default test - testSubject = createTestSubject(); - testSubject.setIgnorePolicies(ignorePolicies); - } - - - @Test - public void testIsIgnoreNodeFilterWithTrue() throws Exception { - ComponentParametersView testSubject; - - testSubject = createTestSubject(); - testSubject.setIgnoreNodeFilter(true); - assertSame(testSubject.isIgnoreNodeFilter(), true); - } - - - @Test - public void testIsIgnoreNodeFilterWithFalse() throws Exception { - ComponentParametersView testSubject; - - testSubject = createTestSubject(); - testSubject.setIgnoreNodeFilter(false); - assertSame(testSubject.isIgnoreNodeFilter(), false); - } - - @Test public void testDetectParseFlag() throws Exception { ComponentParametersView testSubject; |