Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for createOptionsWithAll (0.08 seconds)

  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.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 8.9K bytes
    - Click Count (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
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
Back to Top