comparison ui/tests/cinstprocesstest.cpp @ 159:37c9653b8755

Rename NO_ERROR as NO_ERROR is already defined in windows.h
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 25 Mar 2014 10:06:30 +0000
parents 0df62decff90
children 6a7eb102716d
comparison
equal deleted inserted replaced
158:fb3b2d77518f 159:37c9653b8755
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);

http://wald.intevation.org/projects/trustbridge/