Object tests and lint review #76
Review lint levels, don't overuse deny
7d331da3
Factor out common assert_panics logic
57fbd301
Start testing topology object queries
54f5c618
Doc and comment fix
52c0864d
Add a test of Topology::depth_for_cache
78391bc9
Comment cleanup
bdfcd0a6
Tests now cover all 'Object levels, depths and types' topology methods
5eb49ee0
Progress on TopologyObject testing
f58d5e98
Optimize tests which check for panics
bfe1c31d
Clean up panic inhibition logic
25b0941a
Write objects_closest_to test
e9ec6d3b
Test Topology::object_by_type_index_path
68eb8cf1
Comment fix
f01a6a04
Exercise MissingTypeCpuSetError::from in tests too
bb510d80
No need for MissingTypeCpuSetError, a generic ParameterError will do
74dac09d
Don't bump MSRV just for thread-local cell methods
e4f13a45
Typo
72b8a8c8
Unify docs of depth and bitmap ref genericity
3f40ec4c
Prefer expect, which suggests panics, over assume, which suggests UB
f7333703
Don't misclassify Misc objects as I/O
cf3fc47b
Don't lint against inline(always), as a parallel project told me it's…
0c5c9069
Centralize logic for telling apart presence/absence of cpuset
5efef959
Doc fix
8dfa8772
Start testing Topology::object_with_same_locality()
df721b20
Fix clippy lint
e8d2f54d
Finish local object search
23897a07
Test I/O object lists
542a7b9f
Test PCI device address lookup
8d64abe6
Fix rustdoc error
122da836
Try to fix the CI error
83ccde9e
Handle absence of PCI devices
da8f9d4a
Another attempt to fix CI
e741d7ad
Handle empty variant in more tests
6beb2654
Please clippy
db93aa23
I might have found the CI issue
d57c558b
Oops
96e0c1ff
Functions which only make sense when topology editing is available no…
55e248cb
Test for TopologyObject::ancestor_at_depth
50a09338
Adapt to conditional hiding of topology editing functionality
c08826f4
Test first_common_ancestor
70bda242
Ancestors isn't an ExactSizeIterator because virtual depths are a thing
80defd70
Clean up and expand single-object tests
ef02a8a2
Test TopologyObject::is_symmetric_subtree()
822150bf
Add appropriate cfg guard for LibcString::into_raw
c39a0d28
Centralize TopologyObject selection into the top-level strategies module
aa7a65ce
Test normal_child_covering_cpuset
96e1d25c
Tester propriété total_memory des objets de topologie
ba957cb5
Test TopologyObject::is_bridge_covering_pci_bus()
5aaca9b3
Try to fix CI
f4cab5e4
Trying to fix CI, take 2
0ef76c30
Better cpuset RNG, test is_inside_cpuset and contains_cpuset too
2a208969
More CI hole fixing
89b46282
Deduplicate code
b3d633f3
Test info lookup and displays
416f49b7
Some notes on un-covered code
6e49240a
Slight fine-tuning of delete_all_sets
5fa8e209
Break down object module
0601e802
Done reorganizing object tests
68cd2ecb
Modularizing object::attributes
90d385e9
Be consistent
704060db
Don't need this import anymore
2a3a8647
Whop
8c8a8a52
HadrienG2
merged
ccfdf6a9
into master 283 days ago
HadrienG2
deleted the object-tests-and-lint-review branch 283 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub