Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for expectation (0.06 sec)

  1. android/guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java

       * implementation, because {@code map.get()} returns a view collection that changes in the course
       * of a call to {@code remove()}. Thus, the expectation doesn't hold that {@code map.remove(x)}
       * returns the same value which {@code map.get(x)} did immediately beforehand.
       */
      @Override
      public void testRemove() {
        Map<String, Collection<Integer>> map;
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 14:47:20 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

                val bufferedRequestBody = exchange.createRequestBody(request, true).buffer()
                requestBody.writeTo(bufferedRequestBody)
              } else {
                // Write the request body if the "Expect: 100-continue" expectation was met.
                val bufferedRequestBody = exchange.createRequestBody(request, false).buffer()
                requestBody.writeTo(bufferedRequestBody)
                bufferedRequestBody.close()
              }
            } else {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

            RoundingMode mode = entry.getKey();
            Double expectation = entry.getValue();
            assertWithMessage("roundToDouble(" + input + ", " + mode + ")")
                .that(BigDecimalMath.roundToDouble(input, mode))
                .isEqualTo(expectation);
          }
    
          if (!expectedValues.containsKey(UNNECESSARY)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java

    @Experimental
    @Immutable
    public interface BuilderProblem {
    
        /**
         * Gets the hint about the source of the problem. While the syntax of this hint is unspecified and depends on the
         * creator of the problem, the general expectation is that the hint provides sufficient information to the user to
         * track the problem back to its origin. A concrete example for such a source hint can be the file path or URL from
         * which the settings were read.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

            ERROR, //
            WARNING //
        }
    
        /**
         * Gets the hint about the source of the problem. While the syntax of this hint is unspecified and depends on the
         * creator of the problem, the general expectation is that the hint provides sufficient information to the user to
         * track the problem back to its origin. A concrete example for such a source hint can be the file path or URL from
         * which the settings were read.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

            byte[] actualWritten = new byte[6];
            System.arraycopy(buffer, 0, actualWritten, 0, 6);
            assertArrayEquals(expected, actualWritten, "wire format should match expectation");
        }
    
        static Stream<Arguments> validParams() {
            // fid 0x1234, lastWriteTime 0 -> UTime all 0xFF
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

            RoundingMode mode = entry.getKey();
            Double expectation = entry.getValue();
            assertWithMessage("roundToDouble(" + input + ", " + mode + ")")
                .that(BigIntegerMath.roundToDouble(input, mode))
                .isEqualTo(expectation);
          }
    
          if (!expectedValues.containsKey(UNNECESSARY)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

         * implementation, because {@code map.get()} returns a view collection that changes in the
         * course of a call to {@code remove()}. Thus, the expectation doesn't hold that {@code
         * map.remove(x)} returns the same value which {@code map.get(x)} did immediately beforehand.
         */
        @Override
        public void testRemove() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

            findNtStatus(dosErr).ifPresent(mock::consume);
            verify(mock).consume(expectedNt);
        }
    
        @Test
        @DisplayName("DOS_ERROR_MESSAGES length matches expectations")
        void testMessageArrayLength() {
            assertNotNull(DosError.DOS_ERROR_MESSAGES, "DOS_ERROR_MESSAGES should be non‑null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

     * validating constants.
     */
    public class SmbConstantsTest {
    
        /**
         * Verify that the hard‑coded default values are present.
         */
        @Test
        @DisplayName("Default constant values match expectations")
        void defaultValues() {
            assertEquals(445, SmbConstants.DEFAULT_PORT);
            assertEquals(10, SmbConstants.DEFAULT_MAX_MPX_COUNT);
            assertEquals(30000, SmbConstants.DEFAULT_RESPONSE_TIMEOUT);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top