From cd9f84ec06fafeb1c80ad704b447a0ce0536f014 Mon Sep 17 00:00:00 2001 From: Morgan Richomme Date: Tue, 17 Jan 2017 15:10:55 +0100 Subject: Clean case declaration prototype not used in Colorado angular framework (landing page) could be used for Danube Change-Id: I86ded631b4c5b78260bd03b376bf6264dabc2f89 Signed-off-by: Morgan Richomme --- utils/test/declaration/addtestcase.php | 40 ------ utils/test/declaration/index.php | 221 --------------------------------- utils/test/declaration/testcases.php | 36 ------ 3 files changed, 297 deletions(-) delete mode 100644 utils/test/declaration/addtestcase.php delete mode 100644 utils/test/declaration/index.php delete mode 100644 utils/test/declaration/testcases.php (limited to 'utils/test/declaration') diff --git a/utils/test/declaration/addtestcase.php b/utils/test/declaration/addtestcase.php deleted file mode 100644 index 0e5bed689..000000000 --- a/utils/test/declaration/addtestcase.php +++ /dev/null @@ -1,40 +0,0 @@ -$url,'name'=>$name,'description'=>$desc); - $str_data=json_encode($str_data); - $res=sendPostData($url_send, $str_data); - echo '
Success! Added New test Case
'; - -}else{ - - echo '
Error! Failed to Add New test Case
'; - -} - -?> - diff --git a/utils/test/declaration/index.php b/utils/test/declaration/index.php deleted file mode 100644 index b2c5d0370..000000000 --- a/utils/test/declaration/index.php +++ /dev/null @@ -1,221 +0,0 @@ - - - - OPNFV DashBoard - - - - - - - - - - -
-

OPNFV DASHBOARD:

-
- -
-
- - - - - - - - - - - pods; - $i=1; - foreach ( $pods as $pod ){ - - $column_str=""; - $column_str=""; - $column_str=$column_str.""; - $column_str= $column_str.""; - $column_str= $column_str.""; - $column_str= $column_str.""; - $column_str= $column_str.""; - echo $column_str; - $i=$i+1; - } - ?> -
#Pod NameCreation DateRoleMode
".$i."".$pod->name."".$pod->creation_date."".$pod->role."".$pod->mode."
-
-
- - - - - - - - - projects; - $i=0; - foreach ( $projects as $project ){ - - $column_str=""; - $column_str=""; - $column_str=$column_str.""; - $column_str= $column_str.""; - $column_str= $column_str.""; - echo $column_str; - $i=$i+1; - } -?> -
#ProjectCreation Date
".$i."".$project->name."".$project->creation_date."
-
-
-
- - -
-
- -
-
-
-
-
- - -
-
- - -
-
- - -
-
- - -
- -
-
-
-
-
- - diff --git a/utils/test/declaration/testcases.php b/utils/test/declaration/testcases.php deleted file mode 100644 index 20645807e..000000000 --- a/utils/test/declaration/testcases.php +++ /dev/null @@ -1,36 +0,0 @@ -projects; - $selected=$projects[0]->name; - } - $new_url="http://testresults.opnfv.org:80/test/api/v1/projects/".$selected."/cases"; - $response = file_get_contents($new_url); - $data = json_decode($response); - $testcases=$data->testcases; - $i=0; - $column_str=""; - $column_str=$column_str.""; - $column_str=$column_str.""; - $column_str=$column_str.""; - $column_str=$column_str.""; - foreach ( $testcases as $testcase ){ - $i=$i+1; - $column_str=$column_str.""; - $column_str=$column_str.""; - $column_str=$column_str.""; - $column_str=$column_str.""; - $column_str=$column_str.""; - $column_str=$column_str.""; - - } - $column_str=$column_str."
#Test Case NameCreation DateDescription
".$i."".$testcase->name."".$testcase->creation_date."".$testcase->description."
"; - echo $column_str; - -?> - -- cgit 1.2.3-korg