Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 227 for testHash (0.92 sec)

  1. src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java

         */
        @Test
        void testConstructorWithValidHash() {
            byte[] testHash = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
            AvChannelBindings avChannelBindings = new AvChannelBindings(testHash);
    
            assertEquals(AvPair.MsvAvChannelBindings, avChannelBindings.getType(), "Type should be MsvAvChannelBindings");
            assertArrayEquals(testHash, avChannelBindings.getRaw(), "Value should match the provided hash");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/FilesTest.java

        Files.readLines(temp, UTF_8, collectNonEmptyLines);
        assertThat(collectNonEmptyLines.getResult()).containsExactly("hello", " world  ").inOrder();
    
        assertTrue(temp.delete());
      }
    
      public void testHash() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
        File i18nFile = getTestFile("i18n.txt");
    
        String init = "d41d8cd98f00b204e9800998ecf8427e";
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FilesTest.java

        Files.readLines(temp, UTF_8, collectNonEmptyLines);
        assertThat(collectNonEmptyLines.getResult()).containsExactly("hello", " world  ").inOrder();
    
        assertTrue(temp.delete());
      }
    
      public void testHash() throws IOException {
        File asciiFile = getTestFile("ascii.txt");
        File i18nFile = getTestFile("i18n.txt");
    
        String init = "d41d8cd98f00b204e9800998ecf8427e";
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/convert/ShortConversionUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.convert;
    
    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class ShortConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToShort() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java

     */
    package org.codelibs.core.convert;
    
    import java.text.DecimalFormatSymbols;
    import java.util.Locale;
    
    import junit.framework.TestCase;
    
    import org.codelibs.core.misc.LocaleUtil;
    
    /**
     * @author shot
     *
     */
    public class NumberConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testConvertNumber_byte() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

    import java.util.Locale;
    import junit.framework.TestCase;
    
    /**
     * Since annotations have some reusability issues that force copy and paste all over the place, it's
     * worth having a test to ensure that all our Feature enums have their annotations correctly set up.
     *
     * @author George van den Driessche
     */
    public class FeatureEnumTest extends TestCase {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // Given - Path with various characters
            String testPath = "\\\\server\\test123";
            Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, testPath);
            byte[] buffer = new byte[512];
    
            // When
            req.encode(buffer, 0);
    
            // Then - Verify UTF-16LE encoding
            byte[] expectedBytes = testPath.getBytes(StandardCharsets.UTF_16LE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

    import java.util.Collection;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author Gregory Kick
     */
    @GwtCompatible
    @NullUnmarked
    public class ContiguousSetTest extends TestCase {
      private static final DiscreteDomain<Integer> NOT_EQUAL_TO_INTEGERS =
          new DiscreteDomain<Integer>() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java

        // Test getLoginCredential method
        public void test_getLoginCredential_returnsValidCredential() {
            // Setup test credential
            TestLoginCredential expectedCredential = new TestLoginCredential("testuser", "testpass");
            authenticator.setLoginCredential(expectedCredential);
    
            // Execute
            LoginCredential result = authenticator.getLoginCredential();
    
            // Verify
            assertNotNull(result);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

            assertNull(sslSocketFactory);
        }
    
        public void test_request_withBasicAuth() {
            setupMockConfig("localhost:9200", "testuser", "testpass");
    
            curlHelper.init();
    
            CurlRequest request = new CurlRequest(Curl.Method.GET, "http://localhost:9200/test");
            CurlRequest processedRequest = callProtectedRequest(curlHelper, request);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top