Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 207 for Arguments (0.06 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java

        }
    
        static Stream<Arguments> sizeTestData() {
            return Stream.of(
                    Arguments.of(0L, "0 B"),
                    Arguments.of(5L, "5 B"),
                    Arguments.of(10L, "10 B"),
                    Arguments.of(15L, "15 B"),
                    Arguments.of(999L, "999 B"),
                    Arguments.of(1000L, "1.0 kB"),
                    Arguments.of(5500L, "5.5 kB"),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

        }
    
        public static Stream<Arguments> activateBatchModeArguments() {
            return Stream.of(
                    Arguments.of(false, new String[] {}, false),
                    Arguments.of(true, new String[] {}, true),
                    Arguments.of(true, new String[] {"--force-interactive"}, false),
                    Arguments.of(true, new String[] {"--force-interactive", "--non-interactive"}, false),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  3. src/builtin/builtin.go

    // arguments of [cmp.Ordered] types. There must be at least one argument.
    // If T is a floating-point type and any of the arguments are NaNs,
    // max will return NaN.
    func max[T cmp.Ordered](x T, y ...T) T
    
    // The min built-in function returns the smallest value of a fixed number of
    // arguments of [cmp.Ordered] types. There must be at least one argument.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 30 23:59:23 GMT 2024
    - 12.8K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

            }
    
            private static Stream<Arguments> provideInvalidVersions() {
                return Stream.of(
                        Arguments.of(null, "null version"),
                        Arguments.of("", "empty version"),
                        Arguments.of("   ", "whitespace-only version"),
                        Arguments.of("4", "incomplete version (major only)"),
                        Arguments.of("4.0", "incomplete version (major.minor only)"),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

        }
    
        /**
         * Returns all methods that are applicable to actual argument types.
         *
         * @param methods list of all candidate methods
         * @param classes the actual types of the arguments
         * @return a list that contains only applicable methods (number of
         *         formal and actual arguments matches, and argument types are assignable
         *         to formal types through a method invocation conversion).
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

            }
    
            private static Stream<Arguments> provideInvalidGAVScenarios() {
                return Stream.of(
                        Arguments.of(
                                null, "incomplete-project", null, "Should return null for missing groupId and version"),
                        Arguments.of("com.example", null, "1.0.0", "Should return null for missing artifactId"),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

    import org.apache.maven.api.services.MessageBuilderFactory;
    
    import static java.util.Objects.requireNonNull;
    
    /**
     * Represents a request to parse Maven command-line arguments.
     * This interface encapsulates all the necessary information needed to parse
     * Maven commands and arguments into an {@link InvokerRequest}.
     *
     * @since 4.0.0
     */
    @Immutable
    @Experimental
    public interface ParserRequest {
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

            }
    
            private static Stream<Arguments> providePluginOptionScenarios() {
                return Stream.of(
                        Arguments.of(null, true, null, true, "Should enable plugins when --plugins=true"),
                        Arguments.of(true, null, null, true, "Should enable plugins when --all=true"),
                        Arguments.of(
                                true,
                                false,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

                return createTestArguments(expectedResult);
            }
    
            private Arguments createTestArguments(ExpectedResult expectedResult) {
                return Arguments.arguments(
                        description,
                        activeRequiredProjects,
                        activeOptionalProjects,
                        inactiveRequiredProjects,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 20:39:03 GMT 2025
    - 28K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

                        Arguments.of(null, null, false, "Should not be applicable by default"),
                        Arguments.of(false, null, false, "Should not be applicable when --all=false"),
                        Arguments.of(null, "4.0.0", false, "Should not be applicable for same version (4.0.0)"),
                        Arguments.of(false, "4.1.0", true, "Should be applicable for model upgrade even when --all=false"),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 38.8K bytes
    - Click Count (0)
Back to Top