| 160 | } // namespace |
| 161 | |
| 162 | void 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 | } |
nothing calls this directly
no test coverage detected