1
0
mirror of https://github.com/QRouland/UTPass.git synced 2025-01-24 15:46:40 +00:00
UTPass/tests/unit/tst_utils.qml

16 lines
378 B
QML
Raw Permalink Normal View History

2025-01-10 21:33:48 +01:00
import QtQuick 2.9
import QtTest 1.2
import TestUtils 1.0
import Utils 1.0
TestCase {
function test_unzip() {
var tempPath = TestUtils.getTempPath() + "/password-store";
var zipUrl = Qt.resolvedUrl("../assets/archive.zip");
2025-01-13 18:11:16 +01:00
var r = Utils.unzip(zipUrl, tempPath);
verify(r, "Unzip return an error %1".arg(zipUrl));
2025-01-10 21:33:48 +01:00
}
2025-01-13 18:11:16 +01:00
name: "utils"
2025-01-10 21:33:48 +01:00
}