Mercurial > trustbridge
comparison ui/tests/createcertlisttest.cpp @ 470:a166d740cb5a
Damn you line endings ;)
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 23 Apr 2014 16:34:10 +0000 |
parents | a53286e5b126 |
children | dd54c02fc28a |
comparison
equal
deleted
inserted
replaced
469:f9b0014cff97 | 470:a166d740cb5a |
---|---|
52 QVERIFY(outputList.date() == current); | 52 QVERIFY(outputList.date() == current); |
53 } | 53 } |
54 | 54 |
55 void CreateCertListTest::testSha256Sum() | 55 void CreateCertListTest::testSha256Sum() |
56 { | 56 { |
57 QByteArray input = "foo"; | 57 QByteArray input = "foo\n"; |
58 QByteArray output = sha256sum(input); | 58 QByteArray output = sha256sum(input); |
59 QVERIFY(output.toBase64() == QByteArray("b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c")); | 59 QVERIFY(output.toBase64() == QByteArray("b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c")); |
60 } | 60 } |
61 | 61 |
62 void CreateCertListTest::testSignature() | 62 void CreateCertListTest::testSignature() |