Home
last modified time | relevance | path

Searched refs:_TEST_DIR (Results 1 – 5 of 5) sorted by relevance

/tools/asuite/aidegen/idea/
Diml_unittest.py35 _TEST_DIR = None variable in IMLGenUnittests
39 IMLGenUnittests._TEST_DIR = tempfile.mkdtemp()
51 obj.return_value = IMLGenUnittests._TEST_DIR
57 shutil.rmtree(IMLGenUnittests._TEST_DIR)
66 mock_root_path.return_value = IMLGenUnittests._TEST_DIR
67 iml_path = os.path.join(IMLGenUnittests._TEST_DIR, 'a/b/test_iml.iml')
73 mock_root_path.return_value = IMLGenUnittests._TEST_DIR
74 module_path = os.path.join(IMLGenUnittests._TEST_DIR, 'a/b')
75 src_path = os.path.join(IMLGenUnittests._TEST_DIR, 'a/b/src')
76 test_path = os.path.join(IMLGenUnittests._TEST_DIR, 'a/b/tests')
[all …]
Dxml_gen_unittest.py35 _TEST_DIR = None variable in XMLGenUnittests
50 XMLGenUnittests._TEST_DIR = tempfile.mkdtemp()
51 self.xml = xml_gen.XMLGenerator(self._TEST_DIR, self._XML_NAME)
57 shutil.rmtree(self._TEST_DIR)
88 mock_root_dir.return_value = self._TEST_DIR
89 xml_gen.gen_vcs_xml(self._TEST_DIR, [])
92 xml_gen.gen_vcs_xml(self._TEST_DIR, ['/a'])
106 xml_gen.write_ignore_git_dirs_file(self._TEST_DIR, ['/a'])
110 xml_gen.write_ignore_git_dirs_file(self._TEST_DIR, ['/a'])
113 common_util.file_generate(os.path.join(self._TEST_DIR, 'workspace.xml'),
[all …]
/tools/asuite/aidegen/project/
Dsource_splitter_unittest.py37 _TEST_DIR = None variable in ProjectSplitterUnittest
48 ProjectSplitterUnittest._TEST_DIR = tempfile.mkdtemp()
98 shutil.rmtree(ProjectSplitterUnittest._TEST_DIR)
108 mock_root.return_value = ProjectSplitterUnittest._TEST_DIR
119 ProjectSplitterUnittest._TEST_DIR))
194 mock_root.return_value = self._TEST_DIR
211 expected_path = os.path.join(self._TEST_DIR,
224 mock_root.return_value = self._TEST_DIR
239 mock_root.return_value = self._TEST_DIR
/tools/asuite/aidegen/lib/
Dide_util_unittest.py54 _TEST_DIR = None variable in IdeUtilUnittests
83 IdeUtilUnittests._TEST_DIR = tempfile.mkdtemp()
91 shutil.rmtree(IdeUtilUnittests._TEST_DIR)
164 module_path = os.path.join(self._TEST_DIR, 'test')
490 obj.project_abspath = IdeUtilUnittests._TEST_DIR
549 mock_get_home.return_value = self._TEST_DIR
550 studio_config_dir1 = os.path.join(self._TEST_DIR, '.AndroidStudio3.0')
551 studio_config_dir2 = os.path.join(self._TEST_DIR, '.AndroidStudio3.1')
563 mock_get_home.return_value = self._TEST_DIR
564 studio_config_dir1 = os.path.join(self._TEST_DIR, 'Library',
[all …]
/tools/asuite/aidegen/sdk/
Djdk_table_unittest.py46 JDKTableXMLUnittests._TEST_DIR = tempfile.mkdtemp()
54 shutil.rmtree(JDKTableXMLUnittests._TEST_DIR)
79 tmp_file = os.path.join(self._TEST_DIR, self._JDK_TABLE_XML)
135 tmp_file = os.path.join(self._TEST_DIR, self._JDK_TABLE_XML)