aboutsummaryrefslogtreecommitdiffstats
path: root/testdata
diff options
context:
space:
mode:
authorYoung Gyu Park <younggyu@google.com>2018-01-10 16:51:45 +0900
committerYoung Gyu Park <younggyu@google.com>2018-01-10 17:39:33 +0900
commitca0edfc002b1da1f3c0c2b3fc0515ec21a2c7afb (patch)
treeacdaa4cf44d17188e44b3ad722e3a63470f9512b /testdata
parent33f170fccf48e7d76f31e9575e08183b22747578 (diff)
downloadplatform_test_vti_dashboard-ca0edfc002b1da1f3c0c2b3fc0515ec21a2c7afb.tar.gz
platform_test_vti_dashboard-ca0edfc002b1da1f3c0c2b3fc0515ec21a2c7afb.tar.bz2
platform_test_vti_dashboard-ca0edfc002b1da1f3c0c2b3fc0515ec21a2c7afb.zip
Test plan mock data generating API for dashboard in local dev environment.
Test: Tested with curl command(curl -d @testdata/test-plan-report-data.json -m 30 -X POST http://127.0.0.1:8080/api/test_data/plan -H "Content-Type: application/json" --verbose) Bug: 71779032 Change-Id: I65886f33d67a2ea48302f0af266268056e793bde
Diffstat (limited to 'testdata')
-rw-r--r--testdata/test-plan-report-data.json13
-rw-r--r--testdata/test-report-data.json14
2 files changed, 18 insertions, 9 deletions
diff --git a/testdata/test-plan-report-data.json b/testdata/test-plan-report-data.json
index 0e0dcd2..ec733a5 100644
--- a/testdata/test-plan-report-data.json
+++ b/testdata/test-plan-report-data.json
@@ -1,3 +1,14 @@
{
-
+ "testPlanList": [
+ {
+ "testPlanName": "vts-serving-staging-fuzz",
+ "testModules": ["BionicUnitTests", "CpuProfilingTest"],
+ "testTimes": [1515562811, 1515562811]
+ },
+ {
+ "testPlanName": "vts-serving-staging-hal-conventional",
+ "testModules": ["BionicUnitTests", "CpuProfilingTest"],
+ "testTimes": [1515562811, 1515562811]
+ }
+ ]
} \ No newline at end of file
diff --git a/testdata/test-report-data.json b/testdata/test-report-data.json
index 6034450..fb19a6a 100644
--- a/testdata/test-report-data.json
+++ b/testdata/test-report-data.json
@@ -5,8 +5,8 @@
{
"testName": "BionicUnitTests",
"type": 1,
- "startTimestamp":1496812169433653,
- "endTimestamp": 1496813103553548,
+ "startTimestamp":1515562811,
+ "endTimestamp": 1515389691,
"testBuildId": "4075328",
"hostName": "test.google.com",
"passCount": 1861,
@@ -16,7 +16,7 @@
"testCaseIds": [2120003,9120003,7140003,9110002,7150002,110006,2160001,130003],
"failingTestcaseIds": [2120003,9120003,7140003,9110002],
"failingTestcaseOffsets": [212,234,388,384],
- "links": ["https://test.google.com/host-log/2017-06-06/BionicUnitTests_1496812169433653_test_run_details.txt","https://test.google.com/host-log/2017-06-06/BionicUnitTests_1496812169433653.log","https://test.google.com/host-log/2017-06-06/BionicUnitTests_1496812169433653.txt"],
+ "links": ["https://google.com/test_run_details.txt","https://google.com/BionicUnitTests_1496812169433653.log","https://google.com/BionicUnitTests_1496812169433653.txt"],
"coverageList": [
{
"group": "wkejfiowfe",
@@ -137,8 +137,8 @@
{
"testName": "CpuProfilingTest",
"type": 2,
- "startTimestamp":1496812169433653,
- "endTimestamp": 1496813103553548,
+ "startTimestamp":1515562811,
+ "endTimestamp": 1515303611,
"testBuildId": "4075338",
"hostName": "test.google.com",
"passCount": 1361,
@@ -148,9 +148,7 @@
"testCaseIds": [2120003,9120003,7140003,9110002,7150002,110006,2160001,130003],
"failingTestcaseIds": [2120003,9120003,7140003,9110002],
"failingTestcaseOffsets": [212,234,388,384],
- "links": [
- "https://test.google.com/host-log/2017-06-06/BionicUnitTests_test_run_details.txt","https://test.google.com/host-log/2017-06-06/BionicUnitTests.log","https://test.google.com/host-log/2017-06-06/BionicUnitTests_1496812169433653.txt"
- ],
+ "links": ["https://google.com/test_run_details.txt","https://google.com/BionicUnitTests_1496812169433653.log","https://google.com/BionicUnitTests_1496812169433653.txt"],
"coverageList": [
{
"group": "wkejfiowfe",