Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 1,187 for EXPECTED (0.09 sec)

  1. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

      }
    
      private static void assertValueAndTypeEquals(Object expected, Object actual) {
        assertEquals(expected, actual);
        assertEquals(expected.getClass(), actual.getClass());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  2. cmd/bootstrap-peer-server.go

    	if s1.Checksum != s2.Checksum {
    		return fmt.Errorf("Expected MinIO binary checksum: %s, seen: %s", s1.Checksum, s2.Checksum)
    	}
    
    	ns1 := s1.NEndpoints
    	ns2 := s2.NEndpoints
    	if ns1 != ns2 {
    		return fmt.Errorf("Expected number of endpoints %d, seen %d", ns1, ns2)
    	}
    
    	for i, cmdLine := range s1.CmdLines {
    		if cmdLine != s2.CmdLines[i] {
    			return fmt.Errorf("Expected command line argument %s, seen %s", cmdLine,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/SessionTest.java

                    }
                    try ( InputStream is = f.openInputStream() ) {
    
                    }
                    catch ( SmbException e ) {
                        // expected
                    }
                    assertEquals(before, t.getInflightRequests());
                }
            }
        }
    
    
        @Test
        public void testAuthErrorNoConnLeak () throws Exception {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  4. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

            DELIMITER_DOT -> {
              if (readByte() != '.'.code.toByte()) throw IOException("expected '..'")
              readHexadecimalUnsignedLong()
            }
    
            else -> sourceCodePoint0
          }
    
        skipWhitespace()
        if (readByte() != ';'.code.toByte()) throw IOException("expected ';'")
    
        // "valid" or "mapped"
        skipWhitespace()
        val type = select(optionsType)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

          throw new AssertionError(
              "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t);
        }
        if (userPassedSupplier) {
          throw new AssertionError(
              "expected to throw "
                  + expectedThrowable.getSimpleName()
                  + " but returned result: "
                  + result);
        } else {
          throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testReplace_unsupportedPresent() {
        try {
          getMap().replace(k0(), v3());
          fail("Expected UnsupportedOperationException");
        } catch (UnsupportedOperationException expected) {
        } catch (ClassCastException tolerated) {
          // for ClassToInstanceMap
        }
    
        expectUnchanged();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequestPopulator.java

        /**
         * Copies the values from the given toolchains into the specified execution request. This method will replace any
         * existing values in the execution request that are controlled by the toolchains. Hence, it is expected that this
         * method is called on a new/empty execution request before the caller mutates it to fit its needs.
         *
         * @param request The execution request to populate, must not be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java

      }
    
      private static void assertHash32(
          int expected, ImmutableSupplier<Checksum> supplier, String input) {
        byte[] bytes = HashTestUtils.ascii(input);
        String toString = "name";
        HashFunction func = new ChecksumHashFunction(supplier, 32, toString);
        assertEquals(expected, func.hashBytes(bytes).asInt());
        assertEquals(toString, func.toString());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 30 14:33:12 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * _last_ request, but it remembers the (expected) time of the _next_ request. This also enables
       * us to tell immediately (see tryAcquire(timeout)) whether a particular timeout is enough to get
       * us to the point of the next scheduling time, since we always maintain that. And what we mean by
       * "an unused RateLimiter" is also defined by that notion: when we observe that the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

        } catch (UnsupportedOperationException expected) {
        }
      }
    
      private void assertSetCountDecreasingFailure(E element, int count) {
        try {
          setCountNoCheckReturnValue(element, count);
          fail("a call to multiset.setCount() to decrease an element's count should throw");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      // Unconditional setCount no-ops.
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top