MCPcopy Create free account
hub / github.com/Neverous/efibooteditor / testReload

Method testReload

tests/testefibootdata.cpp:53–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53void TestEFIBootData::testReload() const
54{
55 if(!efi_supported)
56 {
57 QSKIP("EFI not supported.");
58 }
59
60 EFIBootData data;
61 QSignalSpy spy(&data, &EFIBootData::error);
62 (void)connect(&data, &EFIBootData::progress, this, &TestEFIBootData::showProgress);
63 (void)connect(&data, &EFIBootData::error, this, &TestEFIBootData::showError);
64
65 data.reload(require_efi_entries);
66
67 QCOMPARE(spy.count(), 0);
68}
69
70auto main(int argc, char *argv[]) -> int
71{

Callers

nothing calls this directly

Calls 1

reloadMethod · 0.45

Tested by

no test coverage detected