Mercurial > trustbridge
comparison ui/tests/cinstprocesstest.cpp @ 166:199878f09bf1
Merged
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Tue, 25 Mar 2014 12:29:51 +0100 |
parents | 37c9653b8755 |
children | 6a7eb102716d |
comparison
equal
deleted
inserted
replaced
165:d47de01d6ad7 | 166:199878f09bf1 |
---|---|
44 foreach (const Certificate &cert, validList.getInstallCertificates()) { | 44 foreach (const Certificate &cert, validList.getInstallCertificates()) { |
45 installerProcess->write(cert.base64Line().toLatin1()); | 45 installerProcess->write(cert.base64Line().toLatin1()); |
46 installerProcess->write("\r\n"); | 46 installerProcess->write("\r\n"); |
47 } | 47 } |
48 | 48 |
49 finishVerify(installerProcess, NO_ERROR); | 49 finishVerify(installerProcess, ERR_NO_ERROR); |
50 } | 50 } |
51 | 51 |
52 void CinstProcessTest::initTestCase() { | 52 void CinstProcessTest::initTestCase() { |
53 QDir dataDir = QDir(SOURCE_DIR"/data/"); | 53 QDir dataDir = QDir(SOURCE_DIR"/data/"); |
54 QString fileName = dataDir.absoluteFilePath("list-valid-signed.txt"); | 54 QString fileName = dataDir.absoluteFilePath("list-valid-signed.txt"); |
131 installerProcess->write(validList.rawData().toLatin1()); | 131 installerProcess->write(validList.rawData().toLatin1()); |
132 installerProcess->write("-----END CERTIFICATE LIST-----\r\n"); | 132 installerProcess->write("-----END CERTIFICATE LIST-----\r\n"); |
133 | 133 |
134 installerProcess->write("UNINSTALL\r\n"); | 134 installerProcess->write("UNINSTALL\r\n"); |
135 | 135 |
136 finishVerify(installerProcess, NO_ERROR); | 136 finishVerify(installerProcess, ERR_NO_ERROR); |
137 } | 137 } |
138 | 138 |
139 QTEST_GUILESS_MAIN (CinstProcessTest); | 139 QTEST_GUILESS_MAIN (CinstProcessTest); |