mirror of
https://github.com/QRouland/UTPass.git
synced 2025-01-24 07:36:39 +00:00
16 lines
378 B
QML
16 lines
378 B
QML
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");
|
|
var r = Utils.unzip(zipUrl, tempPath);
|
|
verify(r, "Unzip return an error %1".arg(zipUrl));
|
|
}
|
|
|
|
name: "utils"
|
|
}
|