- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for shouldSaveModifications (0.35 sec)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java
class ModificationBehaviorTests { @Test @DisplayName("should save modifications to disk") void shouldSaveModificationsToDisk() { assertTrue(applyGoal.shouldSaveModifications(), "Apply goal should save modifications to disk"); } } @Nested @DisplayName("Execution") class ExecutionTests { @TestRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 10:39:17 UTC 2025 - 4.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java
// Perform the upgrade logic int result = doUpgrade(context, targetModel, pomMap); // Save modifications if this is an apply goal if (shouldSaveModifications() && result == 0) { saveModifications(context, pomMap); } return result; } /** * Performs the upgrade logic using the strategy pattern.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 12.5K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java
TestableAbstractUpgradeGoal(StrategyOrchestrator orchestrator) { super(orchestrator); } @Override protected boolean shouldSaveModifications() { return true; // Enable actual file operations for tests } // Test helper methods to expose protected functionalityRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 13.7K bytes - Viewed (0)