Lines Matching refs:args

52     def _init_project_config(self, args):  argument
54 self.assertIsNotNone(args)
55 config = project_config.ProjectConfig(args)
60 args = aidegen_main._parse_args([])
61 self.assertEqual(args.targets, [''])
62 self.assertEqual(args.ide[0], 'u')
64 args = aidegen_main._parse_args([target])
65 self.assertEqual(args.targets, [target])
67 args = aidegen_main._parse_args(['-d', depth])
68 self.assertEqual(args.depth, int(depth))
69 args = aidegen_main._parse_args(['-v'])
70 self.assertTrue(args.verbose)
71 args = aidegen_main._parse_args(['-v'])
72 self.assertTrue(args.verbose)
73 args = aidegen_main._parse_args(['-i', 's'])
74 self.assertEqual(args.ide[0], 's')
75 args = aidegen_main._parse_args(['-i', 'e'])
76 self.assertEqual(args.ide[0], 'e')
77 args = aidegen_main._parse_args(['-p', unittest_constants.TEST_MODULE])
78 self.assertEqual(args.ide_installed_path,
80 args = aidegen_main._parse_args(['-n'])
81 self.assertTrue(args.no_launch)
82 args = aidegen_main._parse_args(['-r'])
83 self.assertTrue(args.config_reset)
84 args = aidegen_main._parse_args(['-s'])
85 self.assertTrue(args.skip_build)
86 self.assertEqual(args.exclude_paths, None)
88 args = aidegen_main._parse_args(['-e', excludes])
89 self.assertEqual(args.exclude_paths, [excludes])
101 args = aidegen_main._parse_args([projects, '-i', 'e'])
103 self._init_project_config(args)
167 args = [target, '-p', '/opt/abc/bin/idea.sh']
168 aidegen_main.main(args)
190 args = aidegen_main._parse_args([target, '-i', 'e'])
191 aidegen_main._launch_native_projects(None, args, [])
201 args = aidegen_main._parse_args([target, '-i', 'e'])
204 aidegen_main._launch_native_projects(ide_util_obj, args, [])
209 args.ide = ['j']
210 aidegen_main._launch_native_projects(ide_util_obj, args, [])
216 aidegen_main._launch_native_projects(ide_util_obj, args, [])
221 args.ide = ['e']
222 aidegen_main._launch_native_projects(ide_util_obj, args, [])
227 args.ide = ['s']
228 aidegen_main._launch_native_projects(ide_util_obj, args, [])
256 args = aidegen_main._parse_args(['', '-i', 's'])
258 self._init_project_config(args)
265 aidegen_main._launch_ide_by_module_contents(args, ide_obj, lang,
280 aidegen_main._launch_ide_by_module_contents(args, ide_obj, lang,
294 aidegen_main._launch_ide_by_module_contents(args, ide_obj, lang,
305 aidegen_main._launch_ide_by_module_contents(args, ide_obj, lang,
317 aidegen_main._launch_ide_by_module_contents(args, ide_obj, lang,
328 args = aidegen_main._parse_args(['', '-l', 'c'])
330 self._init_project_config(args)
332 aidegen_main._launch_ide_by_module_contents(args, ide_obj, lang,
344 aidegen_main._launch_ide_by_module_contents(args, ide_obj, lang,
356 aidegen_main._launch_ide_by_module_contents(args, ide_obj, lang,
363 args = aidegen_main._parse_args(['frameworks/base', '-i', 'c'])
370 aidegen_main._launch_ide_by_module_contents(args, ide_obj, lang,
378 args = aidegen_main._parse_args(['frameworks/base'])
386 aidegen_main._launch_ide_by_module_contents(args, None, lang,
566 args = aidegen_main._parse_args([target, '-i', 'v'])
574 aidegen_main.aidegen_main(args)
581 args, ide, constant.JAVA,
592 args = aidegen_main._parse_args([target])
594 aidegen_main.aidegen_main(args)
601 args, ide, constant.JAVA,