Skip to content

Commit

Permalink
Update generated reports to nightly-2023-09-02
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Sep 2, 2023
1 parent 196b440 commit 67a510d
Show file tree
Hide file tree
Showing 30 changed files with 123 additions and 101 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"coverage":{"src/lib.rs":{"1":"1/1","2":"1/1","3":"0/1","5":"1/1","7":"1/1","9":"1/1","10":"1/1","11":"1/1","12":"1/1","15":"1/1"}}}
{"coverage":{"src/lib.rs":{"1":"1/1","2":"1/1","3":"0/1","5":"1/1","7":"1/1","9":"1/1","10":"1/1","12":"1/2","15":"1/1"}}}
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
8| |
9| 1|#[test]
10| 1|fn test() {
11| 1| #[cfg(a)]
11| | #[cfg(a)]
12| 1| assert!(!func(1));
^0
13| | #[cfg(not(a))]
14| | assert!(func(-1));
15| 1|}
28 changes: 14 additions & 14 deletions tests/fixtures/coverage-reports/cargo_config/cargo_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
"percent": 100.0
},
"lines": {
"count": 10,
"covered": 9,
"percent": 90.0
"count": 9,
"covered": 8,
"percent": 88.88888888888889
},
"regions": {
"count": 7,
"covered": 6,
"notcovered": 1,
"percent": 85.71428571428571
"count": 9,
"covered": 7,
"notcovered": 2,
"percent": 77.77777777777779
}
}
}
Expand All @@ -53,15 +53,15 @@
"percent": 100
},
"lines": {
"count": 10,
"covered": 9,
"percent": 90
"count": 9,
"covered": 8,
"percent": 88.88888888888889
},
"regions": {
"count": 7,
"covered": 6,
"notcovered": 1,
"percent": 85.71428571428571
"count": 9,
"covered": 7,
"notcovered": 2,
"percent": 77.77777777777779
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ FNF:3
FNH:3
BRF:0
BRH:0
LF:10
LH:9
LF:9
LH:8
end_of_record
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Filename Regions Missed Regions Cover Functions Missed Functions Executed Lines Missed Lines Cover Branches Missed Branches Cover
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
src/lib.rs 7 1 85.71% 3 0 100.00% 10 1 90.00% 0 0 -
src/lib.rs 9 2 77.78% 3 0 100.00% 9 1 88.89% 0 0 -
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL 7 1 85.71% 3 0 100.00% 10 1 90.00% 0 0 -
TOTAL 9 2 77.78% 3 0 100.00% 9 1 88.89% 0 0 -
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
8| |
9| 1|#[test]
10| 1|fn test() {
11| 1| #[cfg(a)]
11| | #[cfg(a)]
12| 1| assert!(!func(1));
^0
13| | #[cfg(not(a))]
14| | assert!(func(-1));
15| 1|}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"coverage":{"src/lib.rs":{"1":"1/1","2":"1/1","3":"0/1","5":"1/1","7":"1/1","9":"1/1","10":"1/1","11":"1/1","12":"1/1","15":"1/1"}}}
{"coverage":{"src/lib.rs":{"1":"1/1","2":"1/1","3":"0/1","5":"1/1","7":"1/1","9":"1/1","10":"1/1","12":"1/2","15":"1/1"}}}
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
8| |
9| 1|#[test]
10| 1|fn test() {
11| 1| #[cfg(a)]
11| | #[cfg(a)]
12| 1| assert!(!func(1));
^0
13| | #[cfg(not(a))]
14| | assert!(func(-1));
15| 1|}
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
"percent": 100.0
},
"lines": {
"count": 10,
"covered": 9,
"percent": 90.0
"count": 9,
"covered": 8,
"percent": 88.88888888888889
},
"regions": {
"count": 7,
"covered": 6,
"notcovered": 1,
"percent": 85.71428571428571
"count": 9,
"covered": 7,
"notcovered": 2,
"percent": 77.77777777777779
}
}
}
Expand All @@ -53,15 +53,15 @@
"percent": 100
},
"lines": {
"count": 10,
"covered": 9,
"percent": 90
"count": 9,
"covered": 8,
"percent": 88.88888888888889
},
"regions": {
"count": 7,
"covered": 6,
"notcovered": 1,
"percent": 85.71428571428571
"count": 9,
"covered": 7,
"notcovered": 2,
"percent": 77.77777777777779
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ FNF:3
FNH:3
BRF:0
BRH:0
LF:10
LH:9
LF:9
LH:8
end_of_record
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Filename Regions Missed Regions Cover Functions Missed Functions Executed Lines Missed Lines Cover Branches Missed Branches Cover
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
src/lib.rs 7 1 85.71% 3 0 100.00% 10 1 90.00% 0 0 -
src/lib.rs 9 2 77.78% 3 0 100.00% 9 1 88.89% 0 0 -
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL 7 1 85.71% 3 0 100.00% 10 1 90.00% 0 0 -
TOTAL 9 2 77.78% 3 0 100.00% 9 1 88.89% 0 0 -
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
8| |
9| 1|#[test]
10| 1|fn test() {
11| 1| #[cfg(a)]
11| | #[cfg(a)]
12| 1| assert!(!func(1));
^0
13| | #[cfg(not(a))]
14| | assert!(func(-1));
15| 1|}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"coverage":{"src/lib.rs":{"3":"1/1","4":"1/1","5":"1/1","7":"1/1","9":"1/1","11":"1/1","12":"1/1","13":"1/1","14":"1/1","15":"1/1"}}}
{"coverage":{"src/lib.rs":{"3":"1/1","4":"1/1","5":"1/1","7":"1/1","9":"1/1","11":"1/1","12":"1/1","13":"1/2","14":"2/2","15":"1/1"}}}
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
11| 1|#[test]
12| 1|fn test() {
13| 1| assert!(!func(1_f32));
^0
14| 1| assert!(func(-1_i32));
15| 1|}
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
"percent": 90.0
},
"regions": {
"count": 8,
"covered": 7,
"notcovered": 1,
"percent": 87.5
"count": 11,
"covered": 9,
"notcovered": 2,
"percent": 81.81818181818183
}
}
}
Expand Down Expand Up @@ -58,10 +58,10 @@
"percent": 90
},
"regions": {
"count": 8,
"covered": 7,
"notcovered": 1,
"percent": 87.5
"count": 11,
"covered": 9,
"notcovered": 2,
"percent": 81.81818181818183
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Filename Regions Missed Regions Cover Functions Missed Functions Executed Lines Missed Lines Cover Branches Missed Branches Cover
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
src/lib.rs 8 1 87.50% 3 0 100.00% 10 1 90.00% 0 0 -
src/lib.rs 11 2 81.82% 3 0 100.00% 10 1 90.00% 0 0 -
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL 8 1 87.50% 3 0 100.00% 10 1 90.00% 0 0 -
TOTAL 11 2 81.82% 3 0 100.00% 10 1 90.00% 0 0 -
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@
11| 1|#[test]
12| 1|fn test() {
13| 1| assert!(!func(1_f32));
^0
14| 1| assert!(func(-1_i32));
15| 1|}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"coverage":{"src/lib.rs":{"1":"1/1","2":"1/1","3":"0/1","5":"1/1","7":"1/1","9":"1/1","10":"1/1","11":"1/1","12":"1/1","15":"1/1"}}}
{"coverage":{"src/lib.rs":{"1":"1/1","2":"1/1","3":"0/1","5":"1/1","7":"1/1","9":"1/1","10":"1/1","12":"1/2","15":"1/1"}}}
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
8| |
9| 1|#[test]
10| 1|fn test() {
11| 1| #[cfg(feature = "a")]
11| | #[cfg(feature = "a")]
12| 1| assert!(!func(1));
^0
13| | #[cfg(feature = "b")]
14| | assert!(func(-1));
15| 1|}
28 changes: 14 additions & 14 deletions tests/fixtures/coverage-reports/merge/clean_ws.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
"percent": 100.0
},
"lines": {
"count": 10,
"covered": 9,
"percent": 90.0
"count": 9,
"covered": 8,
"percent": 88.88888888888889
},
"regions": {
"count": 7,
"covered": 6,
"notcovered": 1,
"percent": 85.71428571428571
"count": 9,
"covered": 7,
"notcovered": 2,
"percent": 77.77777777777779
}
}
}
Expand All @@ -53,15 +53,15 @@
"percent": 100
},
"lines": {
"count": 10,
"covered": 9,
"percent": 90
"count": 9,
"covered": 8,
"percent": 88.88888888888889
},
"regions": {
"count": 7,
"covered": 6,
"notcovered": 1,
"percent": 85.71428571428571
"count": 9,
"covered": 7,
"notcovered": 2,
"percent": 77.77777777777779
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/coverage-reports/merge/clean_ws.lcov.info
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ FNF:3
FNH:3
BRF:0
BRH:0
LF:10
LH:9
LF:9
LH:8
end_of_record
4 changes: 2 additions & 2 deletions tests/fixtures/coverage-reports/merge/clean_ws.summary.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Filename Regions Missed Regions Cover Functions Missed Functions Executed Lines Missed Lines Cover Branches Missed Branches Cover
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
src/lib.rs 7 1 85.71% 3 0 100.00% 10 1 90.00% 0 0 -
src/lib.rs 9 2 77.78% 3 0 100.00% 9 1 88.89% 0 0 -
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL 7 1 85.71% 3 0 100.00% 10 1 90.00% 0 0 -
TOTAL 9 2 77.78% 3 0 100.00% 9 1 88.89% 0 0 -
3 changes: 2 additions & 1 deletion tests/fixtures/coverage-reports/merge/clean_ws.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
8| |
9| 1|#[test]
10| 1|fn test() {
11| 1| #[cfg(feature = "a")]
11| | #[cfg(feature = "a")]
12| 1| assert!(!func(1));
^0
13| | #[cfg(feature = "b")]
14| | assert!(func(-1));
15| 1|}
2 changes: 1 addition & 1 deletion tests/fixtures/coverage-reports/merge/merge.codecov.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"coverage":{"src/lib.rs":{"1":"1/1","2":"1/1","3":"1/1","5":"1/1","7":"1/1","9":"1/1","10":"2/2","11":"2/2","12":"2/2","13":"1/1","14":"1/1","15":"1/1"}}}
{"coverage":{"src/lib.rs":{"1":"1/1","2":"1/1","3":"1/1","5":"1/1","7":"1/1","9":"1/1","10":"1/1","12":"1/2","14":"2/2","15":"1/1"}}}
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
7| 2|}
8| |
9| 2|#[test]
10| 1|fn test() {
11| 1| #[cfg(feature = "a")]
10| 2|fn test() {
11| | #[cfg(feature = "a")]
12| 1| assert!(!func(1));
13| 1| #[cfg(feature = "b")]
^0
13| | #[cfg(feature = "b")]
14| 1| assert!(func(-1));
15| 2|}
Loading

0 comments on commit 67a510d

Please sign in to comment.