• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -path-equivalence=/tmp,%S %S/showTemplateInstantiations.cpp -format html -o %t.dir
2
3RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -path-equivalence=/tmp,%S -name=_Z4funcIbEiT_ %S/showTemplateInstantiations.cpp -format html -o %t.filtered.dir
4
5RUN: llvm-cov show %S/Inputs/templateInstantiations.covmapping -instr-profile %S/Inputs/templateInstantiations.profdata -path-equivalence=/tmp,%S %S/showTemplateInstantiations.cpp -format html | FileCheck %s -check-prefix=NODIR
6
7RUN: FileCheck %s -input-file=%t.dir/style.css -check-prefix=STYLE
8RUN: FileCheck %s -input-file=%t.dir/index.html -check-prefix=TOPLEVEL
9RUN: FileCheck %s -input-file=%t.dir/coverage/tmp/showTemplateInstantiations.cpp.html -check-prefix=FILEVIEW
10
11RUN: FileCheck %s -input-file=%t.filtered.dir/style.css -check-prefix=STYLE
12RUN: FileCheck %s -input-file=%t.filtered.dir/index.html -check-prefix=TOPLEVEL
13RUN: FileCheck %s -input-file=%t.filtered.dir/coverage/tmp/showTemplateInstantiations.cpp.html -check-prefix=FILEVIEW
14
15STYLE-DAG: .red
16STYLE-DAG: .cyan
17STYLE-DAG: .source-name-title
18STYLE-DAG: .centered
19STYLE-DAG: .expansion-view
20STYLE-DAG: .line-number
21STYLE-DAG: .light-row
22STYLE-DAG: .light-row-bold
23STYLE-DAG: .column-entry
24STYLE-DAG: .column-entry-bold
25STYLE-DAG: .column-entry-yellow
26STYLE-DAG: .column-entry-yellow:hover
27STYLE-DAG: .column-entry-red
28STYLE-DAG: .column-entry-red:hover
29STYLE-DAG: .column-entry-green
30STYLE-DAG: .column-entry-green:hover
31STYLE-DAG: .covered-line
32STYLE-DAG: .uncovered-line
33STYLE-DAG: .tooltip
34STYLE-DAG: .tooltip span.tooltip-content
35STYLE-DAG: th, td
36STYLE-DAG: td:first-child
37STYLE-DAG: td:last-child
38STYLE-DAG: tr:hover
39
40TOPLEVEL-NOT: <style>
41TOPLEVEL: <head>
42TOPLEVEL: <link rel='stylesheet' type='text/css' href='style.css'>
43TOPLEVEL: </head>
44
45FILEVIEW-NOT: <style>
46FILEVIEW: <head>
47FILEVIEW: <link rel='stylesheet' type='text/css' href='..{{.*}}..{{.*}}style.css'>
48FILEVIEW: </head>
49
50NODIR: <head>
51NODIR: <style>
52NODIR: </style>
53NODIR: </head>
54