mirror of
https://github.com/QRouland/UTPass.git
synced 2026-01-11 11:56:57 +00:00
Rewrite import key with rnp
This commit is contained in:
15
tests/units/tst_utils.qml
Normal file
15
tests/units/tst_utils.qml
Normal file
@@ -0,0 +1,15 @@
|
||||
import QtQuick 2.9
|
||||
import QtTest 1.2
|
||||
import TestsUtils 1.0
|
||||
import Utils 1.0
|
||||
|
||||
TestCase {
|
||||
function test_unzip() {
|
||||
var tempPath = TestUtils.getTempPath() + "/password-store";
|
||||
var zipUrl = Qt.resolvedUrl("../assets/archive.zip");
|
||||
var r = Utils.unzip(zipUrl, tempPath);
|
||||
verify(r, "Unzip return an error %1".arg(zipUrl));
|
||||
}
|
||||
|
||||
name: "utils"
|
||||
}
|
||||
Reference in New Issue
Block a user