xref: /aosp_15_r20/frameworks/native/services/surfaceflinger/tests/tracing/readme.md (revision 38e8c45f13ce32b0dcecb25141ffecaf386fa17f)
1### TransactionTrace Testsuite ###
2
3Hassle free way to test and validate whether a sequence of
4transactions will produce the expected front end state(s). Test
5runs through all testdata/transactions_trace_*.winscope files,
6generates layer states and checks if the states match the
7corresponding layer trace in testdata.
8
9
10#### Run Test ####
11`atest transactiontrace_testsuite`
12
13
14#### Workflow ####
15Add transaction traces that resulted in front end bugs along
16with the layer trace after fixing the issue. The layer trace
17can be generated by using the layertracegenerator tool. Use the
18--last-entry-only flag to generate only the last entry in the
19trace. This will keep the test data to a manageable size. The
20main goal of this test suite is to add regression tests with
21minimal effort.
22
23