aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/getjson_test.go
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2023-10-26 14:18:21 +0200
committerTaras Madan <tarasmadan@google.com>2023-10-26 13:05:49 +0000
commit72c2392eb8cf0b8eba97cdd94331a2ad5bebacdb (patch)
treedb2938d2de6a64092e672b916287ccbfbdcc3d17 /dashboard/app/getjson_test.go
parent23afc60f9d53873eed6f06fcb586bfb7bb4726a0 (diff)
dashboard/app: export ReportLink as a json
Diffstat (limited to 'dashboard/app/getjson_test.go')
-rw-r--r--dashboard/app/getjson_test.go12
1 files changed, 8 insertions, 4 deletions
diff --git a/dashboard/app/getjson_test.go b/dashboard/app/getjson_test.go
index 113053e26..03ad24682 100644
--- a/dashboard/app/getjson_test.go
+++ b/dashboard/app/getjson_test.go
@@ -21,7 +21,8 @@ func TestJSONAPIIntegration(t *testing.T) {
"kernel-config": "/text?tag=KernelConfig\u0026x=a989f27ebc47e2dc",
"kernel-source-commit": "1111111111111111111111111111111111111111",
"syzkaller-git": "https://github.com/google/syzkaller/commits/syzkaller_commit1",
- "syzkaller-commit": "syzkaller_commit1"
+ "syzkaller-commit": "syzkaller_commit1",
+ "crash-report-link": "/text?tag=CrashReport\u0026x=12000000000000"
}
]
}`,
@@ -39,7 +40,8 @@ func TestJSONAPIIntegration(t *testing.T) {
"kernel-config": "/text?tag=KernelConfig\u0026x=a989f27ebc47e2dc",
"kernel-source-commit": "1111111111111111111111111111111111111111",
"syzkaller-git": "https://github.com/google/syzkaller/commits/syzkaller_commit1",
- "syzkaller-commit": "syzkaller_commit1"
+ "syzkaller-commit": "syzkaller_commit1",
+ "crash-report-link": "/text?tag=CrashReport\u0026x=15000000000000"
}
]
}`,
@@ -151,7 +153,8 @@ func TestJSONAPIFixCommits(t *testing.T) {
"kernel-config": "/text?tag=KernelConfig\u0026x=a989f27ebc47e2dc",
"kernel-source-commit": "1111111111111111111111111111111111111111",
"syzkaller-git": "https://github.com/google/syzkaller/commits/syzkaller_commit1",
- "syzkaller-commit": "syzkaller_commit1"
+ "syzkaller-commit": "syzkaller_commit1",
+ "crash-report-link": "/text?tag=CrashReport\u0026x=12000000000000"
}
]
}`)
@@ -189,7 +192,8 @@ func TestJSONAPICauseBisection(t *testing.T) {
"kernel-config": "/text?tag=KernelConfig\u0026x=4d11162a90e18f28",
"kernel-source-commit": "1111111111111111111111111111111111111111",
"syzkaller-git": "https://github.com/google/syzkaller/commits/syzkaller_commit1",
- "syzkaller-commit": "syzkaller_commit1"
+ "syzkaller-commit": "syzkaller_commit1",
+ "crash-report-link": "/text?tag=CrashReport\u0026x=12000000000000"
}
]
}`)