update rustdoc coverage tests with new table layout
This commit is contained in:
parent
74cf1adfd6
commit
515dbe73ab
8 changed files with 51 additions and 80 deletions
|
@ -1,15 +1,7 @@
|
||||||
+---------------------------+------------+------------+------------+
|
+-------------------------------------+------------+------------+------------+
|
||||||
| Item Type | Documented | Total | Percentage |
|
| File | Documented | Total | Percentage |
|
||||||
+---------------------------+------------+------------+------------+
|
+-------------------------------------+------------+------------+------------+
|
||||||
| Modules | 1 | 1 | 100.0% |
|
| ...est/rustdoc-ui/coverage/basic.rs | 7 | 14 | 50.0% |
|
||||||
| Functions | 1 | 2 | 50.0% |
|
+-------------------------------------+------------+------------+------------+
|
||||||
| Structs | 1 | 2 | 50.0% |
|
|
||||||
| Struct Fields | 0 | 1 | 0.0% |
|
|
||||||
| Enums | 0 | 1 | 0.0% |
|
|
||||||
| Enum Variants | 2 | 3 | 66.7% |
|
|
||||||
| Methods | 1 | 2 | 50.0% |
|
|
||||||
| Macros | 1 | 1 | 100.0% |
|
|
||||||
| Extern Types | 0 | 1 | 0.0% |
|
|
||||||
+---------------------------+------------+------------+------------+
|
|
||||||
| Total | 7 | 14 | 50.0% |
|
| Total | 7 | 14 | 50.0% |
|
||||||
+---------------------------+------------+------------+------------+
|
+-------------------------------------+------------+------------+------------+
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
+---------------------------+------------+------------+------------+
|
+-------------------------------------+------------+------------+------------+
|
||||||
| Item Type | Documented | Total | Percentage |
|
| File | Documented | Total | Percentage |
|
||||||
+---------------------------+------------+------------+------------+
|
+-------------------------------------+------------+------------+------------+
|
||||||
| Modules | 0 | 1 | 0.0% |
|
| ...est/rustdoc-ui/coverage/empty.rs | 0 | 1 | 0.0% |
|
||||||
+---------------------------+------------+------------+------------+
|
+-------------------------------------+------------+------------+------------+
|
||||||
| Total | 0 | 1 | 0.0% |
|
| Total | 0 | 1 | 0.0% |
|
||||||
+---------------------------+------------+------------+------------+
|
+-------------------------------------+------------+------------+------------+
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
+---------------------------+------------+------------+------------+
|
+-------------------------------------+------------+------------+------------+
|
||||||
| Item Type | Documented | Total | Percentage |
|
| File | Documented | Total | Percentage |
|
||||||
+---------------------------+------------+------------+------------+
|
+-------------------------------------+------------+------------+------------+
|
||||||
| Modules | 1 | 1 | 100.0% |
|
| ...est/rustdoc-ui/coverage/enums.rs | 6 | 8 | 75.0% |
|
||||||
| Struct Fields | 1 | 2 | 50.0% |
|
+-------------------------------------+------------+------------+------------+
|
||||||
| Enums | 2 | 2 | 100.0% |
|
|
||||||
| Enum Variants | 2 | 3 | 66.7% |
|
|
||||||
+---------------------------+------------+------------+------------+
|
|
||||||
| Total | 6 | 8 | 75.0% |
|
| Total | 6 | 8 | 75.0% |
|
||||||
+---------------------------+------------+------------+------------+
|
+-------------------------------------+------------+------------+------------+
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
+---------------------------+------------+------------+------------+
|
+-------------------------------------+------------+------------+------------+
|
||||||
| Item Type | Documented | Total | Percentage |
|
| File | Documented | Total | Percentage |
|
||||||
+---------------------------+------------+------------+------------+
|
+-------------------------------------+------------+------------+------------+
|
||||||
| Modules | 1 | 1 | 100.0% |
|
| ...st/rustdoc-ui/coverage/exotic.rs | 1 | 1 | 100.0% |
|
||||||
| Primitives | 1 | 1 | 100.0% |
|
| <anon> | 2 | 2 | 100.0% |
|
||||||
| Keywords | 1 | 1 | 100.0% |
|
+-------------------------------------+------------+------------+------------+
|
||||||
+---------------------------+------------+------------+------------+
|
|
||||||
| Total | 3 | 3 | 100.0% |
|
| Total | 3 | 3 | 100.0% |
|
||||||
+---------------------------+------------+------------+------------+
|
+-------------------------------------+------------+------------+------------+
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
+---------------------------+------------+------------+------------+
|
+-------------------------------------+------------+------------+------------+
|
||||||
| Item Type | Documented | Total | Percentage |
|
| File | Documented | Total | Percentage |
|
||||||
+---------------------------+------------+------------+------------+
|
+-------------------------------------+------------+------------+------------+
|
||||||
| Modules | 1 | 2 | 50.0% |
|
| ...t/rustdoc-ui/coverage/private.rs | 4 | 7 | 57.1% |
|
||||||
| Functions | 1 | 2 | 50.0% |
|
+-------------------------------------+------------+------------+------------+
|
||||||
| Structs | 1 | 1 | 100.0% |
|
|
||||||
| Struct Fields | 1 | 2 | 50.0% |
|
|
||||||
+---------------------------+------------+------------+------------+
|
|
||||||
| Total | 4 | 7 | 57.1% |
|
| Total | 4 | 7 | 57.1% |
|
||||||
+---------------------------+------------+------------+------------+
|
+-------------------------------------+------------+------------+------------+
|
||||||
|
|
|
@ -1,12 +1,7 @@
|
||||||
+---------------------------+------------+------------+------------+
|
+-------------------------------------+------------+------------+------------+
|
||||||
| Item Type | Documented | Total | Percentage |
|
| File | Documented | Total | Percentage |
|
||||||
+---------------------------+------------+------------+------------+
|
+-------------------------------------+------------+------------+------------+
|
||||||
| Modules | 1 | 1 | 100.0% |
|
| ...oc-ui/coverage/statics-consts.rs | 6 | 7 | 85.7% |
|
||||||
| Structs | 0 | 1 | 0.0% |
|
+-------------------------------------+------------+------------+------------+
|
||||||
| Traits | 1 | 1 | 100.0% |
|
|
||||||
| Associated Constants | 2 | 2 | 100.0% |
|
|
||||||
| Statics | 1 | 1 | 100.0% |
|
|
||||||
| Constants | 1 | 1 | 100.0% |
|
|
||||||
+---------------------------+------------+------------+------------+
|
|
||||||
| Total | 6 | 7 | 85.7% |
|
| Total | 6 | 7 | 85.7% |
|
||||||
+---------------------------+------------+------------+------------+
|
+-------------------------------------+------------+------------+------------+
|
||||||
|
|
|
@ -20,7 +20,7 @@ pub struct SomeStruct;
|
||||||
|
|
||||||
/// ...and slap this trait on it?
|
/// ...and slap this trait on it?
|
||||||
impl ThisTrait for SomeStruct {
|
impl ThisTrait for SomeStruct {
|
||||||
/// what we get is a perfect combo!
|
/// nothing! trait impls are totally ignored in this calculation, sorry.
|
||||||
fn right_here(&self) {}
|
fn right_here(&self) {}
|
||||||
|
|
||||||
type SomeType = String;
|
type SomeType = String;
|
||||||
|
|
|
@ -1,16 +1,7 @@
|
||||||
+---------------------------+------------+------------+------------+
|
+-------------------------------------+------------+------------+------------+
|
||||||
| Item Type | Documented | Total | Percentage |
|
| File | Documented | Total | Percentage |
|
||||||
+---------------------------+------------+------------+------------+
|
+-------------------------------------+------------+------------+------------+
|
||||||
| Modules | 0 | 1 | 0.0% |
|
| ...st/rustdoc-ui/coverage/traits.rs | 6 | 7 | 85.7% |
|
||||||
| Structs | 1 | 1 | 100.0% |
|
+-------------------------------------+------------+------------+------------+
|
||||||
| Traits | 1 | 1 | 100.0% |
|
| Total | 6 | 7 | 85.7% |
|
||||||
| Trait Methods | 2 | 2 | 100.0% |
|
+-------------------------------------+------------+------------+------------+
|
||||||
| Associated Types | 1 | 1 | 100.0% |
|
|
||||||
| Trait Aliases | 1 | 1 | 100.0% |
|
|
||||||
+---------------------------+------------+------------+------------+
|
|
||||||
| Total (non trait impls) | 6 | 7 | 85.7% |
|
|
||||||
+---------------------------+------------+------------+------------+
|
|
||||||
| Trait Impl Items | 2 | 3 | 66.7% |
|
|
||||||
+---------------------------+------------+------------+------------+
|
|
||||||
| Total | 8 | 10 | 80.0% |
|
|
||||||
+---------------------------+------------+------------+------------+
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue