forked from juliomfreitas/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 (27 loc) · 1020 Bytes
/
allTests.py
File metadata and controls
executable file
·31 lines (27 loc) · 1020 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 com.dtmilano.android.adb.adbclienttests import AdbClientTests
from com.dtmilano.android.viewclienttests import ViewTests, ViewClientTests
if __name__ == "__main__":
#sys.argv = ['', 'ViewTest.testName']
#sys,argv = ['allTests', 'AdbClientTests', 'ViewTests', 'ViewClientTests']
# adbClientTestsSuite = unittest.TestLoader().loadTestsFromTestCase(AdbClientTests)
# viewTestsSuite = unittest.TestLoader().loadTestsFromTestCase(ViewTests)
# viewClientTestsSuite = unittest.TestLoader().loadTestsFromTestCase(ViewClientTests)
# suite = unittest.TestSuite()
# suite.addTest(adbClientTestsSuite)
# suite.addTest(viewTestsSuite)
# suite.addTest(viewClientTestsSuite)
# unittest.TextTestRunner(verbosity=2).run(suite)
pass