Index
All Classes and Interfaces|All Packages
C
- CodemodExecutorFactory - Interface in io.codemodder
-
A utility for generating a
CodemodExecutor
for testing, with some sane defaults. - CodemodTestMixin - Interface in io.codemodder.testutils
-
The basic tests for codemods.
- codemodType() - Element in annotation interface io.codemodder.testutils.Metadata
-
The codemod being tested.
D
- dependencies() - Element in annotation interface io.codemodder.testutils.Metadata
-
The GAV coordinates of any dependencies that should be added to the project after the codemod's execution.
- doRetransformTest() - Element in annotation interface io.codemodder.testutils.Metadata
-
Whether to re-run the transformed code through a second transformation with the same inputs, but with the transformed code, to see if another transformation is erroneously made.
E
- expectingFailedFixesAtLines() - Element in annotation interface io.codemodder.testutils.Metadata
-
The expected failed fix metadata that the codemod should report.
- expectingFixesAtLines() - Element in annotation interface io.codemodder.testutils.Metadata
-
The expected fix metadata that the codemod should report.
F
- from(Path, IncludesExcludes, CodemodIdPair, List<ProjectProvider>, List<CodeTFProvider>, FileCache, JavaParserFacade, EncodingDetector) - Static method in interface io.codemodder.CodemodExecutorFactory
G
- generateTestCases(Path) - Method in interface io.codemodder.testutils.CodemodTestMixin
I
- io.codemodder - package io.codemodder
- io.codemodder.testutils - package io.codemodder.testutils
- it_verifies_codemod(Path) - Method in interface io.codemodder.testutils.RawFileCodemodTest
M
- Metadata - Annotation Interface in io.codemodder.testutils
O
- only() - Element in annotation interface io.codemodder.testutils.Metadata
-
Used to filter test execution to only the tests with a display name that matches the given regex.
P
- projectProviders() - Element in annotation interface io.codemodder.testutils.Metadata
-
Some codemods change their behavior based on the context of the app -- like which versions of libraries are present.
R
- RawFileCodemodTest - Interface in io.codemodder.testutils
-
Basic tests for
RawFileChanger
-based codemods. - renameTestFile() - Element in annotation interface io.codemodder.testutils.Metadata
-
Test files should always be renamed to this before execution.
S
- sonarHotspotsJsonFiles() - Element in annotation interface io.codemodder.testutils.Metadata
-
Sonar hotspots file names for testing multiple json files
- sonarIssuesJsonFiles() - Element in annotation interface io.codemodder.testutils.Metadata
-
Sonar issues file names for testing multiple json files
T
- testResourceDir() - Element in annotation interface io.codemodder.testutils.Metadata
-
The classpath-based test directory containing the test case artifacts.
V
- verifyTransformedCode(Path, Path, Path) - Method in interface io.codemodder.testutils.CodemodTestMixin
-
A hook for verifying the before and after files.
All Classes and Interfaces|All Packages