Home
last modified time | relevance | path

Searched refs:unittest (Results 1 – 25 of 248) sorted by relevance

12345678910

/tools/test/connectivity/acts/framework/tests/controllers/
Diperf_client_test.py17 import unittest
35 class IPerfClientModuleTest(unittest.TestCase):
60 class IPerfClientBaseTest(unittest.TestCase):
81 class IPerfClientTest(unittest.TestCase):
101 class IPerfClientOverSshTest(unittest.TestCase):
119 class IPerfClientOverAdbTest(unittest.TestCase):
139 unittest.main()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils_tests/power/tel/lab/
Dsave_summary_to_file_test.py17 import unittest
18 from unittest import mock
19 from unittest.mock import mock_open
25 class SaveSummaryToFileTest(unittest.TestCase):
58 unittest.main()
/tools/asuite/atest/
Ddevice_update_unittest.py18 import unittest
23 class AdeviceUpdateMethodTest(unittest.TestCase):
25 @unittest.skipUnless(sys.platform.startswith('linux'), 'requires Linux')
31 @unittest.skipUnless(sys.platform.startswith('linux'), 'requires Linux')
Dcc_test_filter_generator_test.py17 import unittest
22 class CCTestFilterGeneratorTest(unittest.TestCase):
63 unittest.main(verbosity=2)
Datest_run_unittests.py23 import unittest
24 from unittest import mock
82 loader = unittest.defaultTestLoader
84 runner = unittest.TextTestRunner(verbosity=2)
/tools/asuite/aidegen/lib/
Dxml_util_unittest.py19 import unittest
20 from unittest import mock
28 class XMLUtilUnittests(unittest.TestCase):
46 unittest.main()
Dsingleton_unittest.py19 import unittest
24 class AidegenSingletonUnittests(unittest.TestCase):
38 unittest.main()
Daidegen_metrics_unittest.py19 import unittest
20 from unittest import mock
34 class AidegenMetricsUnittests(unittest.TestCase):
69 unittest.main()
/tools/test/connectivity/acts/framework/tests/
Dacts_import_unit_test.py30 import unittest2 as unittest namespace
39 import unittest
63 class ActsImportUnitTest(unittest.TestCase):
72 @unittest.skip("Permission error: b/190659975")
99 unittest.main()
Dacts_logger_test.py17 import unittest
24 class ActsLoggerTest(unittest.TestCase):
36 unittest.main()
Dacts_asserts_test.py17 import unittest
25 class ActsAssertsTest(unittest.TestCase):
37 unittest.main()
/tools/treble/build/
Dsample_test.py17 import unittest
20 class SampleTest(unittest.TestCase):
26 unittest.main()
Dtest.py18 import unittest
30 suite = unittest.defaultTestLoader.loadTestsFromNames(test_modules)
32 runner = unittest.TextTestRunner(verbosity=2)
/tools/repohooks/rh/
Dresults_unittest.py20 import unittest
40 class HookResultTests(unittest.TestCase):
56 class HookCommandResultTests(unittest.TestCase):
80 class ProjectResultsTests(unittest.TestCase):
105 unittest.main()
/tools/asuite/atest/test_runners/
Dvts_tf_test_runner_unittest.py19 import unittest
20 from unittest import mock
27 class VtsTradefedTestRunnerUnittests(unittest.TestCase):
63 unittest.main()
/tools/external_updater/
Dtest_updater_utils.py16 import unittest
21 class GetLatestVersionTest(unittest.TestCase):
67 @unittest.expectedFailure
83 unittest.main(verbosity=2)
/tools/test/connectivity/acts/framework/tests/controllers/android_lib/
Dservices_test.py17 import unittest
18 from unittest import mock
26 class ServicesTest(unittest.TestCase):
46 @unittest.mock.patch.object(services.AndroidService, '_start')
86 unittest.main()
/tools/asuite/atest/logstorage/httplib2/
Dca_certs_locater_unittest.py16 import unittest
21 class CaCertsLocatorTest(unittest.TestCase):
30 unittest.main()
/tools/asuite/atest/asuite_lib_test/
Dasuite_cc_client_test.py20 import unittest
23 class AsuiteCCLibTest(unittest.TestCase):
48 unittest.main()
/tools/treble/split/
Dmanifest_split_test.py21 import unittest
22 import unittest.mock
28 class ManifestSplitTest(unittest.TestCase):
173 @unittest.mock.patch.object(subprocess, 'check_output', autospec=True)
185 @unittest.mock.patch.object(subprocess, 'check_output', autospec=True)
198 @unittest.mock.patch.object(subprocess, 'check_output', autospec=True)
297 @unittest.mock.patch.object(subprocess, 'check_output', autospec=True)
450 @unittest.mock.patch.object(manifest_split, 'get_ninja_inputs', autospec=True)
451 @unittest.mock.patch.object(manifest_split, 'get_kati_makefiles', autospec=True)
452 @unittest.mock.patch.object(manifest_split.ModuleInfo, '__init__', autospec=True)
[all …]
Dtest.py17 import unittest
29 suite = unittest.defaultTestLoader.loadTestsFromNames(test_modules)
31 runner = unittest.TextTestRunner(verbosity=2)
/tools/asuite/atest/test_finders/
Dtest_info_unittest.py20 import unittest
26 class TestInfoUnittests(unittest.TestCase):
40 unittest.main()
/tools/asuite/aidegen/vscode/
Dvscode_workspace_file_gen_unittest.py21 import unittest
22 from unittest import mock
29 class WorkspaceProjectFileGenUnittests(unittest.TestCase):
75 unittest.main()
/tools/acloud/hostcleanup/
Dhostcleanup_test.py15 import unittest
17 from unittest import mock
37 unittest.main()
/tools/treble/build/sandbox/
Drbe_test.py17 import unittest
20 class RBETest(unittest.TestCase):
36 unittest.main()

12345678910