MCPcopy Create free account
hub / github.com/ElementsProject/elements / addressBookTests

Method addressBookTests

src/qt/test/addressbooktests.cpp:162–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160} // namespace
161
162void AddressBookTests::addressBookTests()
163{
164#ifdef Q_OS_MAC
165 if (QApplication::platformName() == "minimal") {
166 // Disable for mac on "minimal" platform to avoid crashes inside the Qt
167 // framework when it tries to look up unimplemented cocoa functions,
168 // and fails to handle returned nulls
169 // (https://bugreports.qt.io/browse/QTBUG-49686).
170 QWARN("Skipping AddressBookTests on mac build with 'minimal' platform set due to Qt bugs. To run AppTests, invoke "
171 "with 'QT_QPA_PLATFORM=cocoa test_bitcoin-qt' on mac, or else use a linux or windows build.");
172 return;
173 }
174#endif
175 TestAddAddressesToSendBook(m_node);
176}

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected