struct DebuglogTests
Defined at line 40 of file ../../zircon/kernel/lib/debuglog/debuglog_tests.cc
Public Methods
bool log_format ()
Defined at line 41 of file ../../zircon/kernel/lib/debuglog/debuglog_tests.cc
bool log_wrap ()
Defined at line 71 of file ../../zircon/kernel/lib/debuglog/debuglog_tests.cc
bool log_reader_read ()
Read a record from the debuglog and verify its fields.
Defined at line 124 of file ../../zircon/kernel/lib/debuglog/debuglog_tests.cc
bool log_reader_dataloss ()
Write to the log, exceeding its capacity and see that data is lost.
Defined at line 158 of file ../../zircon/kernel/lib/debuglog/debuglog_tests.cc
bool log_dumper_test ()
Verify that logs written are output correctly by the DumperThread.
Defined at line 235 of file ../../zircon/kernel/lib/debuglog/debuglog_tests.cc
bool render_to_crashlog ()
Defined at line 307 of file ../../zircon/kernel/lib/debuglog/debuglog_tests.cc
bool read_record ()
This is a regression test introduced after discovering https://fxbug.dev/42071359. It
attempt to make sure that the internal methods ReadRecord and
ReassembleFromOffset return proper results, even when headers and payload
span the break in the ring buffer.
Defined at line 414 of file ../../zircon/kernel/lib/debuglog/debuglog_tests.cc
bool shutdown ()
Test that write fails with an error once the |DLog| has been shutdown.
Defined at line 527 of file ../../zircon/kernel/lib/debuglog/debuglog_tests.cc
bool write_with_active_chainlock_transaction ()
Test that we can call write with an active chainlock transaction.
Defined at line 556 of file ../../zircon/kernel/lib/debuglog/debuglog_tests.cc