|
1 | 1 | import { Logger } from '@idl/logger'; |
2 | 2 |
|
3 | 3 | import { Runner } from '../runner.class'; |
4 | | -import { AddDocs } from './add-docs'; |
| 4 | +import { DefFilesInteractRight } from './basic-interactions/def-files-interact-right'; |
| 5 | +import { IDLJSONInteractRight } from './basic-interactions/idl-json-interact-right'; |
| 6 | +import { IndexIDLFolderRightAndOpenEditClose } from './basic-interactions/index-idl-folder-right-and-open-edit-close'; |
| 7 | +import { ProCodeInteractRight } from './basic-interactions/pro-code-interacts-right'; |
| 8 | +import { TasksInteractRight } from './basic-interactions/tasks-interact-right'; |
| 9 | +import { DuplicateGlobals } from './change-detection/duplicate-globals'; |
| 10 | +import { DuplicateGlobalsFromDefs } from './change-detection/duplicate-globals-from-defs'; |
| 11 | +import { DuplicateGlobalsFromOnlyDefs } from './change-detection/duplicate-globals-from-only-defs'; |
| 12 | +import { RoutineChange } from './change-detection/routine-change'; |
5 | 13 | import { |
6 | 14 | ExecuteCodeActionsWithEditForNotebook, |
7 | 15 | ExecuteCodeActionsWithEditForPROFile, |
8 | | -} from './execute-code-actions-with-edits'; |
9 | | -import { IDLDisableAllFromSettings } from './idl-disable-all-from-setting'; |
10 | | -import { IDLDisableAllFromSettingsForNotebook } from './idl-disable-all-from-setting-for-notebook'; |
11 | | -import { |
12 | | - IDLDisableAllFromComments, |
13 | | - IDLDisableLinesFromComments, |
14 | | -} from './idl-disable-from-comments'; |
15 | | -import { IDLDisableIndividualsFromSettings } from './idl-disable-individuals-from-setting'; |
16 | | -import { IDLDisableIndividualsFromSettingsForNotebook } from './idl-disable-individuals-from-setting-for-notebook'; |
17 | | -import { IDLJSONInteractRight } from './idl-json-interact-right'; |
18 | | -import { IndexIDLFolderRightAndOpenEditClose } from './index-idl-folder-right-and-open-edit-close'; |
19 | | -import { MigrateCodeDL30, MigrateCodeDL30_2 } from './migrate-code-dl-3.0'; |
20 | | -import { NotebookImpliedPrintProblemReporting } from './notebook-implied-print-problem-reporting'; |
21 | | -import { NotebookProblemsTrackRight } from './notebook-problems-track-right'; |
22 | | -import { NotebookCompletionBasic } from './notebooks-completion-basic'; |
23 | | -import { NotebooksInteractRight } from './notebooks-interact-right'; |
24 | | -import { NotebooksNoDuplicateRoutines } from './notebooks-no-duplicate-routines'; |
| 16 | +} from './code-actions/execute-code-actions-with-edits'; |
25 | 17 | import { |
26 | 18 | ProCodeCodeActionsExisting, |
27 | 19 | ProCodeCodeActionsNoExisting, |
28 | | -} from './pro-code-code-actions'; |
29 | | -import { ProCodeInteractRight } from './pro-code-interacts-right'; |
30 | | -import { TasksInteractRight } from './tasks-interact-right'; |
| 20 | +} from './code-actions/pro-code-code-actions'; |
| 21 | +import { AddDocs } from './commands/add-docs'; |
| 22 | +import { |
| 23 | + MigrateCodeDL30, |
| 24 | + MigrateCodeDL30_2, |
| 25 | +} from './commands/migrate-code-dl-3.0'; |
| 26 | +import { IDLDisableAllFromSettings } from './disable-problems/idl-disable-all-from-setting'; |
| 27 | +import { IDLDisableAllFromSettingsForNotebook } from './disable-problems/idl-disable-all-from-setting-for-notebook'; |
| 28 | +import { |
| 29 | + IDLDisableAllFromComments, |
| 30 | + IDLDisableLinesFromComments, |
| 31 | +} from './disable-problems/idl-disable-from-comments'; |
| 32 | +import { IDLDisableIndividualsFromSettings } from './disable-problems/idl-disable-individuals-from-setting'; |
| 33 | +import { IDLDisableIndividualsFromSettingsForNotebook } from './disable-problems/idl-disable-individuals-from-setting-for-notebook'; |
| 34 | +import { NotebookImpliedPrintProblemReporting } from './notebooks/notebook-implied-print-problem-reporting'; |
| 35 | +import { NotebookProblemsTrackRight } from './notebooks/notebook-problems-track-right'; |
| 36 | +import { NotebookCompletionBasic } from './notebooks/notebooks-completion-basic'; |
| 37 | +import { NotebooksInteractRight } from './notebooks/notebooks-interact-right'; |
| 38 | +import { NotebooksNoDuplicateRoutines } from './notebooks/notebooks-no-duplicate-routines'; |
31 | 39 |
|
32 | 40 | /* |
33 | 41 | * Logger to be used for tests related to debugging |
@@ -79,6 +87,11 @@ INTERACTIONS_RUNNER.addTest({ |
79 | 87 | fn: ProCodeInteractRight, |
80 | 88 | }); |
81 | 89 |
|
| 90 | +INTERACTIONS_RUNNER.addTest({ |
| 91 | + name: 'PRO def files interact right', |
| 92 | + fn: DefFilesInteractRight, |
| 93 | +}); |
| 94 | + |
82 | 95 | INTERACTIONS_RUNNER.addTest({ |
83 | 96 | name: 'Disable problem reporting using comments (all)', |
84 | 97 | fn: IDLDisableAllFromComments, |
@@ -164,3 +177,23 @@ INTERACTIONS_RUNNER.addTest({ |
164 | 177 | name: 'Notebooks report problems right for implied print and standalone expressions', |
165 | 178 | fn: NotebookImpliedPrintProblemReporting, |
166 | 179 | }); |
| 180 | + |
| 181 | +INTERACTIONS_RUNNER.addTest({ |
| 182 | + name: 'Detect duplicate globals from two PRO files', |
| 183 | + fn: DuplicateGlobals, |
| 184 | +}); |
| 185 | + |
| 186 | +INTERACTIONS_RUNNER.addTest({ |
| 187 | + name: 'Detect duplicate globals from PRO and def files', |
| 188 | + fn: DuplicateGlobalsFromDefs, |
| 189 | +}); |
| 190 | + |
| 191 | +INTERACTIONS_RUNNER.addTest({ |
| 192 | + name: 'Detect duplicate globals from only def files', |
| 193 | + fn: DuplicateGlobalsFromOnlyDefs, |
| 194 | +}); |
| 195 | + |
| 196 | +INTERACTIONS_RUNNER.addTest({ |
| 197 | + name: 'Advanced change detection from routines changing', |
| 198 | + fn: RoutineChange, |
| 199 | +}); |
0 commit comments