diff ui/tests/certlistparsertest.cpp @ 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 6e7ef7e95031
children be13e5e0a98f
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());

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