|
18 | 18 | import com.fasterxml.jackson.dataformat.yaml.YAMLMapper;
|
19 | 19 | import lombok.Getter;
|
20 | 20 | import lombok.extern.slf4j.Slf4j;
|
| 21 | +import org.junit.jupiter.api.Disabled; |
21 | 22 | import org.junit.jupiter.api.Test;
|
22 | 23 | import org.openrewrite.ExecutionContext;
|
23 | 24 | import org.openrewrite.maven.MavenSettings;
|
|
32 | 33 | import org.springframework.sbm.engine.commands.ApplicableRecipeListCommand;
|
33 | 34 | import org.springframework.sbm.engine.commands.ApplyCommand;
|
34 | 35 | import org.springframework.sbm.engine.commands.ScanCommand;
|
35 |
| -import org.springframework.sbm.engine.context.ProjectContext; |
36 |
| -import org.springframework.sbm.engine.context.ProjectContextFactory; |
37 |
| -import org.springframework.sbm.engine.context.ProjectContextSerializer; |
38 |
| -import org.springframework.sbm.engine.context.ProjectRootPathResolver; |
| 36 | +import org.springframework.sbm.engine.context.*; |
39 | 37 | import org.springframework.sbm.engine.git.GitSupport;
|
40 | 38 | import org.springframework.sbm.engine.git.ProjectSyncVerifier;
|
41 | 39 | import org.springframework.sbm.engine.precondition.PreconditionVerifier;
|
|
102 | 100 | * @author Fabian Krüger
|
103 | 101 | */
|
104 | 102 | @Slf4j
|
| 103 | +@Disabled() |
105 | 104 | @SpringBootTest(classes = {
|
106 |
| - ScanScope.class, |
107 |
| - ExecutionScope.class, |
| 105 | +// ScanScope.class, |
| 106 | +// ExecutionScope.class, |
108 | 107 | ScanCommand.class,
|
109 | 108 | ProjectRootPathResolver.class,
|
110 |
| - PathScanner.class, |
| 109 | +// PathScanner.class, |
111 | 110 | SbmApplicationProperties.class,
|
112 | 111 | ResourceHelper.class,
|
113 | 112 | PreconditionVerifier.class,
|
114 | 113 | ProjectContextInitializer.class,
|
115 | 114 | ProjectContextFactory.class,
|
116 | 115 | ProjectResourceWrapperRegistry.class,
|
117 | 116 | ProjectResourceSetHolder.class,
|
| 117 | + ProjectContextHolder.class, |
118 | 118 | JavaRefactoringFactoryImpl.class,
|
119 | 119 | BasePackageCalculator.class,
|
120 | 120 | JavaParserBuilder.class,
|
121 |
| - RewriteParserConfiguration.class, |
122 |
| - RewriteProjectParser.class, |
123 |
| - ResourceParser.class, |
124 |
| - RewriteJsonParser.class, |
125 |
| - RewriteXmlParser.class, |
126 |
| - RewriteYamlParser.class, |
127 |
| - RewritePropertiesParser.class, |
128 |
| - RewritePlainTextParser.class, |
129 |
| - RewriteMavenParser.class, |
| 121 | +// RewriteParserConfiguration.class, |
| 122 | +// RewriteProjectParser.class, |
| 123 | +// ResourceParser.class, |
| 124 | +// RewriteJsonParser.class, |
| 125 | +// RewriteXmlParser.class, |
| 126 | +// RewriteYamlParser.class, |
| 127 | +// RewritePropertiesParser.class, |
| 128 | +// RewritePlainTextParser.class, |
| 129 | +// RewriteMavenParser.class, |
130 | 130 | MavenSettingsInitializer.class,
|
131 | 131 | RewriteMigrationResultMerger.class,
|
132 |
| - RewriteMavenArtifactDownloader.class, |
133 | 132 | JavaProvenanceMarkerFactory.class,
|
134 | 133 | MavenConfigHandler.class,
|
135 | 134 | RewriteSourceFileWrapper.class,
|
|
146 | 145 | ExecutionScopeArchFitTestContext.class,
|
147 | 146 | SbmSupportRewriteConfiguration.class
|
148 | 147 | },
|
149 |
| - properties = "spring.main.allow-bean-definition-overriding=true" |
| 148 | + properties = { |
| 149 | + "spring.main.allow-bean-definition-overriding=true", // required to provide custom ProjectMetadata |
| 150 | + "debug=true"} |
150 | 151 | )
|
151 | 152 | public class ExecutionScopeArchFitTest {
|
152 | 153 | public static final String TEST_RECIPE_NAME = "dummy-recipe";
|
|
0 commit comments