Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testDecoding (0.54 sec)

  1. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

        public void testEncoding() {
            byte[] buffer = new byte[256];
            int encodedSize = context.encode(buffer, 0);
    
            assertTrue(encodedSize > 8); // Minimum size: count + padding + flags + algorithms
            assertEquals(context.size(), encodedSize);
        }
    
        @Test
        @DisplayName("Test context decoding")
        public void testDecoding() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

      private static void testEncodingWithSeparators(
          BaseEncoding encoding, String decoded, String encoded) {
        testEncoding(encoding, decoded, encoded);
    
        // test separators work
        for (int sepLength = 3; sepLength <= 5; sepLength++) {
          for (String separator : ImmutableList.of(",", "\n", ";;", "")) {
            testEncoding(
                encoding.withSeparator(separator, sepLength),
                decoded,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/BaseEncodingTest.java

      private static void testEncodingWithSeparators(
          BaseEncoding encoding, String decoded, String encoded) {
        testEncoding(encoding, decoded, encoded);
    
        // test separators work
        for (int sepLength = 3; sepLength <= 5; sepLength++) {
          for (String separator : ImmutableList.of(",", "\n", ";;", "")) {
            testEncoding(
                encoding.withSeparator(separator, sepLength),
                decoded,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/curl/CurlResponseTest.java

            int statusCode = 200;
    
            response.setHttpStatusCode(statusCode);
    
            assertEquals(statusCode, response.getHttpStatusCode());
        }
    
        @Test
        public void testEncoding() {
            CurlResponse response = new CurlResponse();
            String encoding = "UTF-8";
    
            response.setEncoding(encoding);
    
            assertEquals(encoding, response.getEncoding());
        }
    
        @Test
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top