Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3151 - 3160 of 4,820 for If (0.01 sec)

  1. docs/en/docs/advanced/testing-dependencies.md

    You send it a token and it returns an authenticated user.
    
    This provider might be charging you per request, and calling it might take some extra time than if you had a fixed mock user for tests.
    
    You probably want to test the external provider once, but not necessarily call it for every test that runs.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/FlakyTestQuarantine.kt

            description = "Run all flaky tests skipped multiple times"
    
            applyDefaultSettings(os = os, arch = arch, buildJvm = BuildToolBuildJvm, timeout = 180)
    
            if (os == Os.LINUX) {
                steps {
                    script {
                        // Because we exclude tests in `distributions-integ-tests` below, `@Flaky` won't work in that subproject.
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jul 29 03:24:58 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

    import java.util.NavigableSet;
    import java.util.Set;
    import java.util.SortedMap;
    import java.util.TreeMap;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A wrapper around {@code TreeMap} that aggressively checks to see if keys are mutually comparable.
     * This implementation passes the navigable map test suites.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

        assertEquals(Currency.DOLLAR, bimap.inverse().get("dollar"));
    
        /* Map must have at least one entry if not an EnumHashBiMap. */
        assertThrows(
            IllegalArgumentException.class,
            () -> EnumHashBiMap.create(Collections.<Currency, String>emptyMap()));
    
        /* Map can be empty if it's an EnumHashBiMap. */
        Map<Currency, String> emptyBimap = EnumHashBiMap.create(Currency.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TableCollectors.java

          V value,
          BinaryOperator<V> mergeFunction) {
        checkNotNull(value);
        V oldValue = table.get(row, column);
        if (oldValue == null) {
          table.put(row, column, value);
        } else {
          V newValue = mergeFunction.apply(oldValue, value);
          if (newValue == null) {
            table.remove(row, column);
          } else {
            table.put(row, column, newValue);
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

            override fun contentLength(): Long = if (uploadKind === TransferKind.CHUNKED) -1L else n.toLong()
    
            override fun writeTo(sink: BufferedSink) {
              if (writeKind == WriteKind.BYTE_BY_BYTE) {
                for (i in 0 until n) {
                  sink.writeByte('x'.code)
                }
              } else {
                val buf = ByteArray(if (writeKind == WriteKind.SMALL_BUFFERS) 256 else 64 * 1024)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

                        failureUrl.setErrorCount(i + 1);
                        // Mix different error names
                        if (i == 0) {
                            failureUrl.setErrorName("java.net.ConnectException");
                        } else if (i == 1) {
                            failureUrl.setErrorName("java.net.SocketTimeoutException");
                        } else {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java

        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

          private Optional<BinaryNode> createTreap(List<Integer> keys) {
            if (keys.isEmpty()) {
              return Optional.absent();
            }
            int minIndex = 0;
            for (int i = 1; i < keys.size(); i++) {
              if (keys.get(i) < keys.get(minIndex)) {
                minIndex = i;
              }
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java

        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top