MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / extractFilter

Method extractFilter

src/qt/test/optiontests.cpp:141–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141void OptionTests::extractFilter()
142{
143 QString filter = QString("Partially Signed Transaction (Binary) (*.psbt)");
144 QCOMPARE(GUIUtil::ExtractFirstSuffixFromFilter(filter), "psbt");
145
146 filter = QString("Image (*.png *.jpg)");
147 QCOMPARE(GUIUtil::ExtractFirstSuffixFromFilter(filter), "png");
148}

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected