# HG changeset patch # User Andre Heinecke # Date 1395056202 0 # Node ID a7b8cb29f1f6e93e378d6492c6e244c9ee261f17 # Parent c389915fd55e8ae07f09a8a8872fef22927b4430 Rename random files to garbage to clarify what they contain diff -r c389915fd55e -r a7b8cb29f1f6 ui/tests/certlistparsertest.cpp --- 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()); diff -r c389915fd55e -r a7b8cb29f1f6 ui/tests/data/NOTES --- 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: diff -r c389915fd55e -r a7b8cb29f1f6 ui/tests/data/garbage_2MB Binary file ui/tests/data/garbage_2MB has changed diff -r c389915fd55e -r a7b8cb29f1f6 ui/tests/data/garbage_500KB Binary file ui/tests/data/garbage_500KB has changed diff -r c389915fd55e -r a7b8cb29f1f6 ui/tests/data/random_2MB Binary file ui/tests/data/random_2MB has changed diff -r c389915fd55e -r a7b8cb29f1f6 ui/tests/data/random_500KB Binary file ui/tests/data/random_500KB has changed diff -r c389915fd55e -r a7b8cb29f1f6 ui/tests/downloadertest.cpp --- 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();