summaryrefslogtreecommitdiffstats
path: root/vnf-sdk-function-test/src/test
diff options
context:
space:
mode:
authorMurali-P <murali.p@huawei.com>2017-04-06 09:44:36 +0530
committerMurali-P <murali.p@huawei.com>2017-04-06 09:44:36 +0530
commit5b735385b8c5a4163e62326182127c00040574d6 (patch)
tree611519bcb812b4bfe15f55386e7fbe40a47ec52b /vnf-sdk-function-test/src/test
parent9478fb474be09b01d088a4831e207e24b769d164 (diff)
Clear static checks-2
Resolved:VNFSDK-21 Change-Id: Ic9be66de339d39a9ad0f5f2e6cc2e52df76f2e3c Signed-off-by: Murali-P <murali.p@huawei.com>
Diffstat (limited to 'vnf-sdk-function-test/src/test')
-rw-r--r--vnf-sdk-function-test/src/test/java/org/openo/vnfsdk/functest/resource/CommonManagerTest.java2
-rw-r--r--vnf-sdk-function-test/src/test/java/org/openo/vnfsdk/functests/TaskExecutionTest.java6
2 files changed, 3 insertions, 5 deletions
diff --git a/vnf-sdk-function-test/src/test/java/org/openo/vnfsdk/functest/resource/CommonManagerTest.java b/vnf-sdk-function-test/src/test/java/org/openo/vnfsdk/functest/resource/CommonManagerTest.java
index e4f59f2..a6fa27f 100644
--- a/vnf-sdk-function-test/src/test/java/org/openo/vnfsdk/functest/resource/CommonManagerTest.java
+++ b/vnf-sdk-function-test/src/test/java/org/openo/vnfsdk/functest/resource/CommonManagerTest.java
@@ -52,7 +52,7 @@ public class CommonManagerTest {
try {
String jsonInput =
- "{\"RemoteIp\":\"192.168.4.47\",\"UserName\":\"root\",\"Password\":\"root123\", \"Path\":\"/src/test/resources\"}";
+ "{\"remoteIp\":\"192.168.4.47\",\"userName\":\"root\",\"password\":\"root123\", \"path\":\"/src/test/resources\"}";
response = commonManger.setEnvironment(jsonInput);
assertNotNull(response);
} catch(Exception e) {
diff --git a/vnf-sdk-function-test/src/test/java/org/openo/vnfsdk/functests/TaskExecutionTest.java b/vnf-sdk-function-test/src/test/java/org/openo/vnfsdk/functests/TaskExecutionTest.java
index 31bc533..27d86bf 100644
--- a/vnf-sdk-function-test/src/test/java/org/openo/vnfsdk/functests/TaskExecutionTest.java
+++ b/vnf-sdk-function-test/src/test/java/org/openo/vnfsdk/functests/TaskExecutionTest.java
@@ -44,9 +44,7 @@ public class TaskExecutionTest {
private String path = "src\\test\\resources";
private UUID envId = UUID.randomUUID();
private UUID executeId = UUID.randomUUID();
- private String frameworkType = "robotframework";
-
-
+
@Before
public void setUp() {
testExecution = new TaskExecution();
@@ -75,7 +73,7 @@ public class TaskExecutionTest {
}
};
try {
- testExecution.executeRobotScript(envId, executeId, frameworkType );
+ testExecution.executeRobotScript(envId, executeId );
} catch( Exception e ) {
e.printStackTrace();
}