Mercurial > trustbridge
changeset 50:a7b8cb29f1f6
Rename random files to garbage to clarify what they contain
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 17 Mar 2014 11:36:42 +0000 |
parents | c389915fd55e |
children | 78633b2b580c |
files | ui/tests/certlistparsertest.cpp ui/tests/data/NOTES ui/tests/data/garbage_2MB ui/tests/data/garbage_500KB ui/tests/data/random_2MB ui/tests/data/random_500KB ui/tests/downloadertest.cpp |
diffstat | 7 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ui/tests/certlistparsertest.cpp Mon Mar 17 11:26:23 2014 +0000 +++ b/ui/tests/certlistparsertest.cpp Mon Mar 17 11:36:42 2014 +0000 @@ -51,7 +51,7 @@ void CertListTest::testGarbage() { - const char *fnames[] = {"random_500KB", + const char *fnames[] = {"garbage_500KB", "list-with-null.txt", NULL}; for (int i=0; fnames[i] != NULL; i++) { @@ -63,7 +63,7 @@ void CertListTest::testTooLarge() { - const char *fname = "random_2MB"; + const char *fname = "garbage_2MB"; CertificateList *certList = testWithFile(fname); QCOMPARE (certList->getStatus(), TooLarge); QVERIFY (!certList->isValid());
--- a/ui/tests/data/NOTES Mon Mar 17 11:26:23 2014 +0000 +++ b/ui/tests/data/NOTES Mon Mar 17 11:36:42 2014 +0000 @@ -22,7 +22,7 @@ # List with 0 created manually by placing a \0 in the signature Random Data generated with: - openssl rand -out random_2MB 2000000 + openssl rand -out garbage_2MB 2000000 openssl rand -out random_500k 500000 # Test server certificate:
--- a/ui/tests/downloadertest.cpp Mon Mar 17 11:26:23 2014 +0000 +++ b/ui/tests/downloadertest.cpp Mon Mar 17 11:36:42 2014 +0000 @@ -102,7 +102,7 @@ validCert.readAll(), QDateTime::currentDateTime(), // Last installed SW QDateTime::fromString("2010", "YYYY"), - "/random_2MB", + "/garbage_2MB", "/list-valid.txt"); validCert.close();