[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / tools / llvm-cov / style.test
blobd213d2492c61ab837dff0afb8433ee1badaa4d0e
1 RUN: 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
3 RUN: 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
5 RUN: 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
7 RUN: FileCheck %s -input-file=%t.dir/style.css -check-prefix=STYLE
8 RUN: FileCheck %s -input-file=%t.dir/index.html -check-prefix=TOPLEVEL
9 RUN: FileCheck %s -input-file=%t.dir/coverage/tmp/showTemplateInstantiations.cpp.html -check-prefix=FILEVIEW
11 RUN: FileCheck %s -input-file=%t.filtered.dir/style.css -check-prefix=STYLE
12 RUN: FileCheck %s -input-file=%t.filtered.dir/index.html -check-prefix=TOPLEVEL
13 RUN: FileCheck %s -input-file=%t.filtered.dir/coverage/tmp/showTemplateInstantiations.cpp.html -check-prefix=FILEVIEW
15 STYLE-DAG: .red
16 STYLE-DAG: .cyan
17 STYLE-DAG: .source-name-title
18 STYLE-DAG: .centered
19 STYLE-DAG: .expansion-view
20 STYLE-DAG: .line-number
21 STYLE-DAG: .light-row
22 STYLE-DAG: .light-row-bold
23 STYLE-DAG: .column-entry
24 STYLE-DAG: .column-entry-bold
25 STYLE-DAG: .column-entry-yellow
26 STYLE-DAG: .column-entry-red
27 STYLE-DAG: .column-entry-green
28 STYLE-DAG: .covered-line
29 STYLE-DAG: .uncovered-line
30 STYLE-DAG: .tooltip
31 STYLE-DAG: .tooltip span.tooltip-content
32 STYLE-DAG: th, td
34 TOPLEVEL-NOT: <style>
35 TOPLEVEL: <head>
36 TOPLEVEL: <link rel='stylesheet' type='text/css' href='style.css'>
37 TOPLEVEL: </head>
39 FILEVIEW-NOT: <style>
40 FILEVIEW: <head>
41 FILEVIEW: <link rel='stylesheet' type='text/css' href='..{{.*}}..{{.*}}style.css'>
42 FILEVIEW: </head>
44 NODIR: <head>
45 NODIR: <style>
46 NODIR: </style>
47 NODIR: </head>