Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4461 - 4470 of 5,353 for Return (0.13 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilterTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@link OrArtifactFilter}.
     *
     */
    @Deprecated
    class OrArtifactFilterTest {
    
        private ArtifactFilter newSubFilter() {
            return artifact -> false;
        }
    
        @Test
        void testEquals() {
            OrArtifactFilter filter1 = new OrArtifactFilter();
    
            OrArtifactFilter filter2 = new OrArtifactFilter(Arrays.asList(newSubFilter()));
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/security/first-steps.md

    If it doesn't see an `Authorization` header, or the value doesn't have a `Bearer ` token, it will respond with a 401 status code error (`UNAUTHORIZED`) directly.
    
    You don't even have to check if the token exists to return an error. You can be sure that if your function is executed, it will have a `str` in that token.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java

                    }
                    throw new JobProcessingException(new RuntimeException("Test exception"));
                }
                return purgeCallCount;
            }
    
            public void setPurgeCallCount(long count) {
                this.purgeCallCount = count;
            }
    
            public void setThrowException(boolean throwException) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

            .testEquals();
      }
    
      private enum LengthFunction implements Function<String, Integer> {
        INSTANCE;
    
        @Override
        public Integer apply(String input) {
          return input.length();
        }
      }
    
      private static final Equivalence<String> LENGTH_EQUIVALENCE =
          Equivalence.equals().onResultOf(LengthFunction.INSTANCE);
    
      public void testWrap() {
        new EqualsTester()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

        Entry<String, Integer> entry =
            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
                return 1;
              }
            };
    
        builder.put(entry);
        holder.string = "two";
        assertEquals(asList(1), builder.build().get("one"));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/EquivalenceTest.java

            .testEquals();
      }
    
      private enum LengthFunction implements Function<String, Integer> {
        INSTANCE;
    
        @Override
        public Integer apply(String input) {
          return input.length();
        }
      }
    
      private static final Equivalence<String> LENGTH_EQUIVALENCE =
          Equivalence.equals().onResultOf(LengthFunction.INSTANCE);
    
      public void testWrap() {
        new EqualsTester()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

          List<Integer> actualCounts =
              transform(
                  keys,
                  new Function<String, Integer>() {
                    @Override
                    public Integer apply(String key) {
                      return multiset.count(key);
                    }
                  });
          assertEquals("Counts not as expected", Ints.asList(deltas), actualCounts);
        } finally {
          pool.shutdownNow();
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. util/gradle_integration_tests.sh

    # TODO(cpovirk): Find a better way to give them that information.
    cp pom.xml "${GRADLE_TEMP}"
    
    for version in 5.6.4 7.0.2; do
      # Enter a subshell so that we return to the current directory afterward.
      (
        cp -r integration-tests "${GRADLE_TEMP}/${version}"
        cd "${GRADLE_TEMP}/${version}/gradle"
        ./gradlew wrapper --gradle-version="${version}"
        ./gradlew testClasspath
      )
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 02 19:24:12 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/LifecycleProvider.java

     * <p>
     * Example usage:
     * <pre>
     * public class CustomLifecycleProvider implements LifecycleProvider {
     *     public Collection&lt;Lifecycle&gt; provides() {
     *         return Collections.singleton(
     *             lifecycle("deploy-docker", Arrays.asList(
     *                 "build-image",
     *                 "tag-image",
     *                 "push-image"
     *             ))
     *         );
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PathScopeProvider.java

     * <p>
     * Example usage:
     * <pre>
     * public class CustomPathScopeProvider implements PathScopeProvider {
     *     public Collection&lt;PathScope&gt; provides() {
     *         return Collections.singleton(pathScope("integration-test",
     *                 ProjectScope.TEST, DependencyScope.TEST));
     *     }
     * }
     * </pre>
     *
     * @see org.apache.maven.api.PathScope
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top