2008/link-testsuite/harness/lib LinkTestCase.py,1.1,1.2

Update of /sources/public/2008/link-testsuite/harness/lib
In directory hutz:/tmp/cvs-serv12280/lib

Modified Files:
	LinkTestCase.py 
Log Message:
telling test collection object about the test cases, not just the files

Index: LinkTestCase.py
===================================================================
RCS file: /sources/public/2008/link-testsuite/harness/lib/LinkTestCase.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- LinkTestCase.py	28 Jan 2008 02:09:40 -0000	1.1
+++ LinkTestCase.py	30 Jan 2008 07:36:10 -0000	1.2
@@ -53,7 +53,7 @@
 
 class LinkTestCollection():
     """Collection of Link Checker Test Cases"""
-    def __init__(self, title=None, description=None, cases=None):
+    def __init__(self, title=None, description=None, casefiles=None, cases=None):
         if title != None:
             self.title = title
         else:
@@ -62,6 +62,10 @@
             self.description = description
         else:
             self.description = u""
+        if (isinstance(casefiles, list)):
+            self.casefiles = casefiles
+        else:
+            self.casefiles = list()
         if (isinstance(cases, list)):
             self.cases = cases
         else:

Received on Wednesday, 30 January 2008 07:36:25 UTC