summaryrefslogtreecommitdiffstats
path: root/asdc-tests/src/main
diff options
context:
space:
mode:
authorIsrael Lavi <il0695@intl.att.com>2017-04-05 16:23:14 +0300
committerIsrael Lavi <il0695@intl.att.com>2017-04-05 16:23:14 +0300
commit3c90e954d3a36e49a4aa8704031eaf93a8c7c450 (patch)
tree4374d4fa9456f6581ceb77182630b0f5b6893202 /asdc-tests/src/main
parent4d95bb8461adec361abad7f605e2ceed770cebfc (diff)
Fix typo error in code
Change-Id: Iacd930f4222d0888597e010e33aac45adec88945 Signed-off-by: Israel Lavi <il0695@intl.att.com>
Diffstat (limited to 'asdc-tests/src/main')
-rw-r--r--asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/datatypes/ResourceInstanceAssetStructure.java16
-rw-r--r--asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/utils/rest/AssetRestUtils.java4
2 files changed, 10 insertions, 10 deletions
diff --git a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/datatypes/ResourceInstanceAssetStructure.java b/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/datatypes/ResourceInstanceAssetStructure.java
index 6a69120a05..9172b8a632 100644
--- a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/datatypes/ResourceInstanceAssetStructure.java
+++ b/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/datatypes/ResourceInstanceAssetStructure.java
@@ -28,7 +28,7 @@ public class ResourceInstanceAssetStructure {
String resourceName;
String resourceInvariantUUID;
String resourceVersion;
- String resoucreType;
+ String resourceType;
String resourceUUID;
List<ArtifactAssetStructure> artifacts;
@@ -37,14 +37,14 @@ public class ResourceInstanceAssetStructure {
}
public ResourceInstanceAssetStructure(String resourceInstanceName, String resourceName,
- String resourceInvariantUUID, String resourceVersion, String resoucreType, String resourceUUID,
+ String resourceInvariantUUID, String resourceVersion, String resourceType, String resourceUUID,
List<ArtifactAssetStructure> artifacts) {
super();
this.resourceInstanceName = resourceInstanceName;
this.resourceName = resourceName;
this.resourceInvariantUUID = resourceInvariantUUID;
this.resourceVersion = resourceVersion;
- this.resoucreType = resoucreType;
+ this.resourceType = resourceType;
this.resourceUUID = resourceUUID;
this.artifacts = artifacts;
}
@@ -81,12 +81,12 @@ public class ResourceInstanceAssetStructure {
this.resourceVersion = resourceVersion;
}
- public String getResoucreType() {
- return resoucreType;
+ public String getResourceType() {
+ return resourceType;
}
- public void setResoucreType(String resoucreType) {
- this.resoucreType = resoucreType;
+ public void setResourceType(String resourceType) {
+ this.resourceType = resourceType;
}
public String getResourceUUID() {
@@ -109,7 +109,7 @@ public class ResourceInstanceAssetStructure {
public String toString() {
return "ResourceInstanceAssetStructure [resourceInstanceName=" + resourceInstanceName + ", resourceName="
+ resourceName + ", resourceInvariantUUID=" + resourceInvariantUUID + ", resourceVersion="
- + resourceVersion + ", resoucreType=" + resoucreType + ", resourceUUID=" + resourceUUID + ", artifacts="
+ + resourceVersion + ", resourceType=" + resourceType + ", resourceUUID=" + resourceUUID + ", artifacts="
+ artifacts + "]";
}
diff --git a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/utils/rest/AssetRestUtils.java b/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/utils/rest/AssetRestUtils.java
index 51bd2162c0..39001403b9 100644
--- a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/utils/rest/AssetRestUtils.java
+++ b/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/utils/rest/AssetRestUtils.java
@@ -395,9 +395,9 @@ public class AssetRestUtils extends BaseRestUtils {
.equals(resourceInstanceAssetStructure.getResourceVersion()));
assertTrue(
"Expected RI asset resourceType is " + componentInstance.getOriginType() + " actual: "
- + resourceInstanceAssetStructure.getResoucreType(),
+ + resourceInstanceAssetStructure.getResourceType(),
componentInstance.getOriginType().toString()
- .equals(resourceInstanceAssetStructure.getResoucreType()));
+ .equals(resourceInstanceAssetStructure.getResourceType()));
assertTrue(
"Expected RI asset resourceUUID is " + componentInstance.getComponentUid() + " actual: "
+ resourceInstanceAssetStructure.getResourceUUID(),