comparison ui/tests/cinstprocesstest.cpp @ 150:a99339d0dce8

Fix test for invalid instructions The missing line break made it invalid_input and not an instruction.
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 24 Mar 2014 17:23:42 +0000
parents f5fa39347366
children 0df62decff90
comparison
equal deleted inserted replaced
149:bd5a5d3e5674 150:a99339d0dce8
109 /* I: as instruction */ 109 /* I: as instruction */
110 installerProcess->write("-----BEGIN CERTIFICATE LIST-----\r\n"); 110 installerProcess->write("-----BEGIN CERTIFICATE LIST-----\r\n");
111 installerProcess->write(validList.rawData().toLatin1()); 111 installerProcess->write(validList.rawData().toLatin1());
112 installerProcess->write("-----END CERTIFICATE LIST-----\r\n"); 112 installerProcess->write("-----END CERTIFICATE LIST-----\r\n");
113 113
114 installerProcess->write("I:ABCDEF"); 114 installerProcess->write("I:ABCDEF\r\n");
115 115
116 finishVerify(installerProcess, ERR_INVALID_INSTRUCTIONS); 116 finishVerify(installerProcess, ERR_INVALID_INSTRUCTIONS);
117 } 117 }
118 118
119 QTEST_GUILESS_MAIN (CinstProcessTest); 119 QTEST_GUILESS_MAIN (CinstProcessTest);

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