forked from dtmilano/AndroidViewClient
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathallTests.py
More file actions
executable file
·31 lines (24 loc) · 873 Bytes
/
allTests.py
File metadata and controls
executable file
·31 lines (24 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#! /usr/bin/env python
'''
Copyright (C) 2012 Diego Torres Milano
Created on Feb 5, 2012
@author: diego
'''
import unittest
import sys
import os
try:
sys.path.insert(0, os.path.join(os.environ['ANDROID_VIEW_CLIENT_HOME'], 'src'))
except:
pass
from comm.dtmilano.android.adb.adbclienttests import AdbClientTest
from comm.dtmilano.android.viewclienttests import ViewTest, ViewClientTest
if __name__ == "__main__":
adbClientTestsSuite = unittest.TestLoader().loadTestsFromTestCase(AdbClientTest)
viewTestsSuite = unittest.TestLoader().loadTestsFromTestCase(ViewTest)
viewClientTestsSuite = unittest.TestLoader().loadTestsFromTestCase(ViewClientTest)
suite = unittest.TestSuite()
suite.addTest(adbClientTestsSuite)
suite.addTest(viewTestsSuite)
suite.addTest(viewClientTestsSuite)
unittest.TextTestRunner(verbosity=3).run(suite)