Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 488 for original2 (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

                byte[] buffer = new byte[8];
                byte[] original = buffer.clone();
    
                // Act
                int written = resp.writeBytesWireFormat(buffer, index);
    
                // Assert
                assertEquals(0, written, "Should report 0 bytes written");
                assertArrayEquals(original, buffer, "Buffer must remain unchanged");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

    // For now, let's assume we can modify the original class slightly for testability,
    // or we accept the less precise testToStringFormat test.
    
    // Let's add a package-private helper to TransTransactNamedPipeResponse:
    // String superToString() { return super.toString(); }
    // And modify the test to use it.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. docs/distributed/decom-encrypted-kes.sh

    expanded_policy_count=$(./mc admin policy list myminio/ | wc -l)
    
    if [ "$user_count" -ne "$expanded_user_count" ]; then
    	echo "BUG: original user count differs from expanded setup"
    	exit 1
    fi
    
    if [ "$policy_count" -ne "$expanded_policy_count" ]; then
    	echo "BUG: original policy count  differs from expanded setup"
    	exit 1
    fi
    
    ./mc version info myminio/versioned | grep -q "versioning is enabled"
    ret=$?
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 7.1K bytes
    - Viewed (1)
  4. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            for (String original : simpleValues) {
                String escaped = KuromojiCSVUtil.quoteEscape(original);
                String[] parsed = KuromojiCSVUtil.parse(escaped);
                assertEquals("Roundtrip failed for: " + original, 1, parsed.length);
                assertEquals("Roundtrip failed for: " + original, original, parsed[0]);
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/PacUnicodeStringTest.java

            // The check method should return the same string instance
            String result = pacString.check(testString);
            assertSame(testString, result, "The check method should return the original string on success.");
        }
    
        /**
         * Tests the {@link PacUnicodeString#check(String)} method with a null string when the pointer is zero.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        assertSame(copy, ImmutableBiMap.copyOf(copy));
      }
    
      public void testCopyOf() {
        Map<String, Integer> original = new LinkedHashMap<>();
        original.put("one", 1);
        original.put("two", 2);
        original.put("three", 3);
    
        ImmutableBiMap<String, Integer> copy = ImmutableBiMap.copyOf(original);
        assertMapEquals(copy, "one", 1, "two", 2, "three", 3);
        assertSame(copy, ImmutableBiMap.copyOf(copy));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

         */
        @Test
        void testConstructorWithMessageAndCause() {
            String message = "Test message with cause.";
            Throwable cause = new RuntimeException("Original cause.");
            DcerpcException exception = new DcerpcException(message, cause);
    
            assertEquals(0, exception.getErrorCode(), "Error code should be 0 for message and cause constructor.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            assertEquals(original.getDomain(), parsed.getDomain());
            assertEquals(original.getUser(), parsed.getUser());
            assertEquals(original.getWorkstation(), parsed.getWorkstation());
        }
    
        @Test
        @DisplayName("Should include NTLMSSP signature")
        void testNTLMSSPSignature() throws Exception {
            // Given
            Type2Message type2 = createMockType2Message();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                }
                random.nextBytes(salt);
    
                PreauthIntegrityNegotiateContext original = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt);
    
                // Encode
                byte[] buffer = new byte[1024];
                int encodedSize = original.encode(buffer, 0);
    
                // Decode
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

            Type1Message original = new Type1Message(mockContext);
            byte[] messageBytes = original.toByteArray();
    
            // When
            Type1Message parsed = new Type1Message(messageBytes);
    
            // Then
            // Note: getType() method does not exist in Type1Message
            assertEquals(original.getFlags(), parsed.getFlags());
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top