Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 154 for testHash (0.2 sec)

  1. 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)
  2. 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. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

          return getMethod(tester.getClass(), tester.getTestMethodName());
        } else if (test instanceof TestCase) {
          TestCase testCase = (TestCase) test;
          return getMethod(testCase.getClass(), testCase.getName());
        } else {
          throw new IllegalArgumentException("unable to extract method from test: not a TestCase.");
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.List;
    import java.util.NavigableSet;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.SortedSet;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Class that contains nested abstract tests for filtered collection views, along with their
     * implementation helpers.
     *
     * @author Louis Wasserman
     */
    /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. 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)
  10. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

                    { 0, 0 }, // Empty buffer
                    { 100, 100 } // Large values
            };
    
            for (int[] testCase : testCases) {
                // Arrange
                byte[] buffer = new byte[200];
                int bufferIndex = testCase[0];
                int len = testCase[1];
    
                // Act
                int result = response.readSetupWireFormat(buffer, bufferIndex, len);
    
                // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top