Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for matcher (0.3 sec)

  1. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

    org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T> first, org.hamcrest.Matcher<? super T> second) { return org.hamcrest.core.AllOf.<T>allOf(first, second); } /** * Creates a matcher that matches if the examined object matches <b>ALL</b> of the specified matchers. * <p/> * For example: * <pre>assertThat("myValue", allOf(startsWith("my"), containsString("Val")))</pre> */ public static <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T> first, org.hamcrest.Matcher<? super T> second,...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 31.9K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/toolchain/RequirementMatcherFactoryTest.java

            RequirementMatcher matcher;
            matcher = RequirementMatcherFactory.createVersionMatcher("1.5.2");
            assertFalse(matcher.matches("1.5"));
            assertTrue(matcher.matches("1.5.2"));
            assertFalse(matcher.matches("[1.4,1.5)"));
            assertFalse(matcher.matches("[1.5,1.5.2)"));
            assertFalse(matcher.matches("(1.5.2,1.6)"));
            assertTrue(matcher.matches("(1.4,1.5.2]"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  3. maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            if (lastHyphen > 0) {
                int prevHyphen = version.lastIndexOf('-', lastHyphen - 1);
                if (prevHyphen > 0) {
                    Matcher m = Artifact.VERSION_FILE_PATTERN.matcher(version);
                    if (m.matches()) {
                        return m.group(1) + "-" + Artifact.SNAPSHOT_VERSION;
                    }
                }
            }
            return version;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 06 08:51:18 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  4. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar

    org.hamcrest.core.AllOf Creates a matcher that matches if the examined object matches ALL of the specified matchers. allOf(Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.core.AllOf Creates a matcher that matches if the examined object matches ALL of the specified matchers. allOf(Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 236.8K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithProblemMessageMatcher.java

    package org.apache.maven.project;
    
    import org.apache.maven.model.building.ModelProblem;
    import org.hamcrest.BaseMatcher;
    import org.hamcrest.Description;
    import org.hamcrest.Matcher;
    
    import static java.util.stream.Collectors.joining;
    
    /**
     * Hamcrest matcher to help create fluent assertions about {@link ProjectBuildingResult} instances.
     */
    class ProjectBuildingResultWithProblemMessageMatcher extends BaseMatcher<ProjectBuildingResult> {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithLocationMatcher.java

     * under the License.
     */
    package org.apache.maven.project;
    
    import org.hamcrest.BaseMatcher;
    import org.hamcrest.Description;
    import org.hamcrest.Matcher;
    
    import static java.util.stream.Collectors.joining;
    
    /**
     * Hamcrest matcher to help create fluent assertions about {@link ProjectBuildingResult} instances.
     */
    class ProjectBuildingResultWithLocationMatcher extends BaseMatcher<ProjectBuildingResult> {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 2.9K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                if (artifact.isSnapshot()) {
                    Matcher matcher = Artifact.VERSION_FILE_PATTERN.matcher(artifact.getVersion());
                    if (matcher.matches()) {
                        Snapshot snapshot = new Snapshot();
                        snapshot.setTimestamp(matcher.group(2));
                        try {
                            snapshot.setBuildNumber(Integer.parseInt(matcher.group(3)));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.pom

      </parent>
    
      <artifactId>hamcrest-core</artifactId>
      <packaging>jar</packaging>
      <name>Hamcrest Core</name>
      <description>
        This is the core API of hamcrest matcher framework to be used by third-party framework providers. This includes the a foundation set of matcher implementations for common operations.
      </description>
    Plain Text
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 748 bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar

    CoreMatchers { public void CoreMatchers(); public static Matcher allOf(Iterable); public static transient Matcher allOf(Matcher[]); public static Matcher allOf(Matcher, Matcher); public static Matcher allOf(Matcher, Matcher, Matcher); public static Matcher allOf(Matcher, Matcher, Matcher, Matcher); public static Matcher allOf(Matcher, Matcher, Matcher, Matcher, Matcher); public static Matcher allOf(Matcher, Matcher, Matcher, Matcher, Matcher, Matcher); public static core.AnyOf anyOf(Iterable); public static...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 44K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java

            provides.put(type, matcher);
        }
    
        @Override
        public boolean matchesRequirements(Map<String, String> requirements) {
            for (Map.Entry<String, String> requirement : requirements.entrySet()) {
                String key = requirement.getKey();
    
                RequirementMatcher matcher = provides.get(key);
    
                if (matcher == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 4.7K bytes
    - Viewed (0)
Back to top