mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
QT: Disable URI unit tests since unused
This commit is contained in:
parent
95d0981979
commit
962690743f
2 changed files with 5 additions and 0 deletions
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
void URITests::uriTests()
|
||||
{
|
||||
/* Elements doesn't use URI
|
||||
SendCoinsRecipient rv;
|
||||
QUrl uri;
|
||||
uri.setUrl(QString("bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?req-dontexist="));
|
||||
|
|
@ -63,4 +64,5 @@ void URITests::uriTests()
|
|||
|
||||
uri.setUrl(QString("bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?amount=1,000.0&label=Wikipedia Example"));
|
||||
QVERIFY(!GUIUtil::parseBitcoinURI(uri, &rv));
|
||||
*/
|
||||
}
|
||||
|
|
|
|||
|
|
@ -208,6 +208,8 @@ void TestGUI()
|
|||
requestPaymentButton->click();
|
||||
for (QWidget* widget : QApplication::topLevelWidgets()) {
|
||||
if (widget->inherits("ReceiveRequestDialog")) {
|
||||
|
||||
/* URI are disabled for Elements-QT
|
||||
ReceiveRequestDialog* receiveRequestDialog = qobject_cast<ReceiveRequestDialog*>(widget);
|
||||
QTextEdit* rlist = receiveRequestDialog->QObject::findChild<QTextEdit*>("outUri");
|
||||
QString paymentText = rlist->toPlainText();
|
||||
|
|
@ -218,6 +220,7 @@ void TestGUI()
|
|||
QCOMPARE(paymentTextList.at(3), QString("Amount: 0.00000001 ") + QString::fromStdString(CURRENCY_UNIT));
|
||||
QCOMPARE(paymentTextList.at(4), QString("Label: TEST_LABEL_1"));
|
||||
QCOMPARE(paymentTextList.at(5), QString("Message: TEST_MESSAGE_1"));
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue