Rise
The Vieneo Province
Loading...
Searching...
No Matches
Report Frame Profile tests

Checks frame-profile hierarchy, accounting, capture-quality filters and safe report output.

Subsystem: Diagnostics, profiling, packaging and runtime integrity
Fixture/harness: reportframeprofiletests
Setup: Python unittest fixture classes: ReportTests. Each listed method belongs explicitly to its class; temporary inputs are created by the class setup or test method.

Build/entry point: Tests/ReportFrameProfileTests.py; inspect its arguments before invoking. Documentation generation does not execute it.

ReportFrameProfileTests.py

Source: Tests/ReportFrameProfileTests.py

collection is separate and legacy is unavailable

Fixture: Report Frame Profile tests
Case symbol: ReportTests.test_collection_is_separate_and_legacy_is_unavailable
Source: Tests/ReportFrameProfileTests.py:31

Test
Checks collection overhead is accounted separately and unavailable in legacy captures that lack the required fields.

tree repeated scopes and gpu wrappers

Fixture: Report Frame Profile tests
Case symbol: ReportTests.test_tree_repeated_scopes_and_gpu_wrappers
Source: Tests/ReportFrameProfileTests.py:43

Test
Checks hierarchical accounting for repeated scopes and GPU wrapper events.

invalid gpu retains cpu and inactive frames are zero

Fixture: Report Frame Profile tests
Case symbol: ReportTests.test_invalid_gpu_retains_cpu_and_inactive_frames_are_zero
Source: Tests/ReportFrameProfileTests.py:60

Test
Checks invalid GPU measurements preserve CPU results and inactive frames contribute zero activity.

display repeated cpu children and screen flush

Fixture: Report Frame Profile tests
Case symbol: ReportTests.test_display_repeated_cpu_children_and_screen_flush
Source: Tests/ReportFrameProfileTests.py:74

Test
Checks display timing aggregation with repeated CPU child scopes and screen flushes.

quality filters and window

Fixture: Report Frame Profile tests
Case symbol: ReportTests.test_quality_filters_and_window
Source: Tests/ReportFrameProfileTests.py:92

Test
Checks capture-quality filters and the selected reporting time window.

missing parent is incomplete

Fixture: Report Frame Profile tests
Case symbol: ReportTests.test_missing_parent_is_incomplete
Source: Tests/ReportFrameProfileTests.py:100

Test
Checks a scope with a missing parent marks the frame incomplete.

no gpu is unavailable

Fixture: Report Frame Profile tests
Case symbol: ReportTests.test_no_gpu_is_unavailable
Source: Tests/ReportFrameProfileTests.py:106

Test
Checks absent GPU measurements are reported as unavailable instead of zero.

memory validity and pressure

Fixture: Report Frame Profile tests
Case symbol: ReportTests.test_memory_validity_and_pressure
Source: Tests/ReportFrameProfileTests.py:114

Test
Checks memory measurements retain their validity and pressure classification.

safe html and partial line

Fixture: Report Frame Profile tests
Case symbol: ReportTests.test_safe_html_and_partial_line
Source: Tests/ReportFrameProfileTests.py:122

Test
Checks safe HTML escaping and handling of a partially written input line.