Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 388 for original2 (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. android/guava/src/com/google/common/base/CharMatcher.java

        final CharMatcher original;
    
        Negated(CharMatcher original) {
          this.original = checkNotNull(original);
        }
    
        @Override
        public boolean matches(char c) {
          return !original.matches(c);
        }
    
        @Override
        public boolean matchesAllOf(CharSequence sequence) {
          return original.matchesNoneOf(sequence);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 53.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        assertThat(memoizedSupplier.toString()).isEqualTo("Suppliers.memoize(CountingSupplier)");
        checkMemoize(countingSupplier, memoizedSupplier);
        // Calls to the original memoized supplier shouldn't affect its copy.
        Object unused = memoizedSupplier.get();
        assertThat(memoizedSupplier.toString())
            .isEqualTo("Suppliers.memoize(<supplier that returned 10>)");
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

                assertTrue(queryFieldConfig.notAnalyzedFieldSet.contains("field5"));
            } finally {
                // Restore original config
                ComponentUtil.setFessConfig(originalConfig);
                // Restore original queryFieldConfig
                queryFieldConfig = new QueryFieldConfig();
                queryFieldConfig.init();
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  10. 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)
Back to top