Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createOptionsWithAll (0.52 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

        /**
         * Creates upgrade options with only the --all flag set.
         *
         * @param all the --all option value
         * @return configured upgrade options
         */
        public static UpgradeOptions createOptionsWithAll(boolean all) {
            return createOptions(all, null, null, null, null);
        }
    
        /**
         * Creates upgrade options with only the --model-version option set.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

            @Test
            @DisplayName("should use 4.1.0 when --all option is specified")
            void shouldUse410WhenAllOptionSpecified() {
                UpgradeContext context = createMockContext(tempDir, TestUtils.createOptionsWithAll(true));
                String result = upgradeGoal.testDoUpgradeLogic(context, "4.1.0");
    
                assertEquals("4.1.0", result);
            }
    
            @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 13.7K bytes
    - Viewed (0)
Back to top