This repository was archived by the owner on Mar 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed
Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ SUBDIRS += cmake \
44 datasync \
55 qml
66
7+ qml.depends += datasync
8+
79cmake.CONFIG += no_run-tests_target
810prepareRecursiveTarget(run-tests)
911QMAKE_EXTRA_TARGETS += run-tests
Original file line number Diff line number Diff line change @@ -162,6 +162,19 @@ void TestKeystorePlugins::testKeystoreFunctions()
162162
163163 delete pluginObj;
164164 loader.unload ();
165+
166+ try {
167+ // finally: test keystore setup API
168+ QVERIFY (Setup::keystoreProviders ().contains (provider));
169+ QVERIFY (Setup::availableKeystores ().contains (provider));
170+ QVERIFY (Setup::keystoreAvailable (provider));
171+ auto keystore = Setup::loadKeystore (provider, this );
172+ QVERIFY (keystore);
173+ QCOMPARE (keystore->providerName (), provider);
174+ delete keystore;
175+ } catch (QException &e) {
176+ QFAIL (e.what ());
177+ }
165178}
166179
167180QTEST_MAIN (TestKeystorePlugins)
Original file line number Diff line number Diff line change @@ -29,6 +29,6 @@ include(../../../../src/3rdparty/cryptopp/cryptopp.pri)
2929
3030runtarget.target = run-tests
3131win32 : runtarget.depends += $(DESTDIR_TARGET)
32- else:linux: runtarget.depends += $(DESTDIR) / $(TARGET)
32+ else:linux: runtarget.depends += $(DESTDIR)$(TARGET)
3333else: runtarget.depends += $(TARGET)
3434QMAKE_EXTRA_TARGETS += runtarget
You can’t perform that action at this time.
0 commit comments