Lines Matching refs:constant
27 from aidegen import constant
104 mock_config.ide_name = constant.IDE_ECLIPSE
107 mock_config.ide_name = constant.IDE_ANDROID_STUDIO
110 mock_config.ide_name = constant.IDE_INTELLIJ
134 mock_starts_metrics.assert_called_with([constant.ANDROID_TREE])
137 mock_ends_metrics.assert_called_with(constant.EXIT_CODE_NORMAL)
149 constant.EXIT_CODE_AIDEGEN_EXCEPTION, exc_traceback, msg)
160 mock_ends_metrics.assert_called_with(constant.EXIT_CODE_EXCEPTION,
261 lang = constant.C_CPP
262 java_targets = {constant.JAVA: ['a', 'b', 'c'],
263 constant.C_CPP: None, constant.RUST: None}
275 lang = constant.JAVA
276 none_targets = {constant.JAVA: None,
277 constant.C_CPP: None,
278 constant.RUST: None}
290 c_targets = {constant.JAVA: None,
291 constant.C_CPP: ['1', '2', '3'],
292 constant.RUST: None}
313 lang_targets = {constant.JAVA: ['a', 'b', 'c'],
314 constant.C_CPP: ['1', '2', '3'],
315 constant.RUST: None}
331 lang = constant.C_CPP
355 lang = constant.JAVA
369 lang = constant.C_CPP
384 os.environ[constant.AIDEGEN_TEST_MODE] = 'true'
385 lang = constant.JAVA
393 del os.environ[constant.AIDEGEN_TEST_MODE]
569 config.ide_name = constant.IDE_VSCODE
581 args, ide, constant.JAVA,
582 {constant.JAVA: [target], constant.C_CPP: [], constant.RUST: []},
593 config.ide_name = constant.IDE_INTELLIJ
601 args, ide, constant.JAVA,
602 {constant.JAVA: [target], constant.C_CPP: [], constant.RUST: []},