Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 112 for Got (0.03 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

        assertFailsWith<ProtocolException> {
          clientReader.processNextFrame()
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("Expected continuation opcode. Got: 2")
        }
      }
    
      @Test fun emptyPingCallsCallback() {
        data.write("8900".decodeHex()) // Empty ping
        clientReader.processNextFrame()
        callback.assertPing(EMPTY)
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

                    new ByteArrayInputStream(new byte[0]));
    
            // Act - Trigger handshake
            int responseCode = ntlmConnection.getResponseCode();
    
            // Assert - Verify we got the 401 response (simplified test)
            assertEquals(HTTP_UNAUTHORIZED, responseCode);
    
            // In a real scenario, the connection would reconnect and send Type1/Type3 messages
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java

            } catch (final Throwable t) {
                if (!expectedType.isInstance(t)) {
                    throw new AssertionError("Expected " + expectedType.getSimpleName() + " but got " + t.getClass().getSimpleName(), t);
                }
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/escape/UnicodeEscaper.java

            char c2 = seq.charAt(index);
            if (Character.isLowSurrogate(c2)) {
              return Character.toCodePoint(c1, c2);
            }
            throw new IllegalArgumentException(
                "Expected low surrogate but got char '"
                    + c2
                    + "' with value "
                    + (int) c2
                    + " at index "
                    + index
                    + " in '"
                    + seq
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 24 04:06:11 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

              // decoding stream may differ from the messages for the decode methods.
            } catch (IOException e) {
              fail("Expected DecodingException but got: " + e);
            }
          }
        };
    
        abstract void assertFailsToDecode(
            BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage);
      }
    
      @GwtIncompatible // Reader/Writer
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          log(throwable);
        }
      }
    
      private static void log(Throwable throwable) {
        String message =
            (throwable instanceof Error)
                ? "Input Future failed with Error"
                : "Got more than one input Future failure. Logging failures after the first";
        logger.get().log(SEVERE, message, throwable);
      }
    
      @Override
      final void addInitialException(Set<Throwable> seen) {
        checkNotNull(seen);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 16K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/math/PairedStats.java

       * versions.
       */
      public static PairedStats fromByteArray(byte[] byteArray) {
        checkNotNull(byteArray);
        checkArgument(
            byteArray.length == BYTES,
            "Expected PairedStats.BYTES = %s, got %s",
            BYTES,
            byteArray.length);
        ByteBuffer buffer = ByteBuffer.wrap(byteArray).order(ByteOrder.LITTLE_ENDIAN);
        Stats xStats = Stats.readFrom(buffer);
        Stats yStats = Stats.readFrom(buffer);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

              BigInteger quotient = BigIntegerMath.divide(p, q, UNNECESSARY);
              BigInteger undone = quotient.multiply(q);
              if (!p.equals(undone)) {
                failFormat("expected %s.multiply(%s) = %s; got %s", quotient, q, p, undone);
              }
              assertTrue(dividesEvenly);
            } catch (ArithmeticException e) {
              assertFalse(dividesEvenly);
            }
          }
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:51:56 GMT 2026
    - 27.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            protwordsFile.reload(null);
    
            PagingList<ProtwordsItem> list = protwordsFile.selectList(0, 100);
    
            // The file parsing may treat the escaped sequences differently
            // Check what we actually got
            assertTrue("Should have at least 3 items", list.size() >= 3);
    
            // Find and verify the expected items
            boolean foundTab = false;
            boolean foundNewline = false;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

                response.readBytesWireFormat(malformedBuffer, 0);
            });
    
            assertTrue(exception.getMessage().contains("Structure size is not 65"));
            assertTrue(exception.getMessage().contains("got: 64"));
        }
    
        /**
         * Test that insufficient buffer size is properly detected.
         */
        @Test
        public void testInsufficientBufferSize() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.8K bytes
    - Click Count (0)
Back to Top