ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/DBS/Clients/Tests/runTestCases.py
Revision: 1.12
Committed: Thu Feb 16 19:40:18 2006 UTC (19 years, 2 months ago) by sekhri
Content type: text/x-python
Branch: MAIN
CVS Tags: AfterJan2006SchemaChanges_v01_00_01
Branch point for: BranchForCPPWebServiceTesting
Changes since 1.11: +11 -6 lines
Log Message:
added forking script to test multiple clients

File Contents

# Content
1 #!/bin/python
2 import sys
3 import testCaseInterface
4 import testCreatePrimaryDS
5 import testCreateProcessedDS
6 import testCreateBlock
7 import testGetDatasetBlocks
8 import testCreateEventCollection
9 import testGetDatasetContents
10 import datetime
11 import time
12
13
14 if __name__ == "__main__":
15 startTime = time.mktime(datetime.datetime.now().timetuple())
16 """
17 testObj = testCreatePrimaryDS.testCreatePrimaryDS()
18 testObj.run()
19
20 testObj = testCreateProcessedDS.testCreateProcessedDS()
21 testObj.run()
22
23 #testObj = testCreateBlock.testCreateBlock()
24 #testObj.run()
25
26 testObj = testGetDatasetBlocks.testGetDatasetBlocks()
27 testObj.run()
28
29 testObj = testCreateEventCollection.testCreateEventCollection()
30 testObj.run()
31 """
32 testObj = testGetDatasetContents.testGetDatasetContents()
33 testObj.run()
34 endTime = time.mktime(datetime.datetime.now().timetuple())
35 timeDiff = endTime - startTime
36 print "TIME ELAPSED ",timeDiff
37 #sys.exit(0)