Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 451 for testHash (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

            // Configure authentication - set fields directly since NtlmPasswordAuthentication is final
            mockAuth.username = "testuser";
            mockAuth.domain = "TESTDOMAIN";
            mockAuth.password = "testpass";
    
            when(mockAuth.getAnsiHash(any(byte[].class))).thenReturn(new byte[24]);
            when(mockAuth.getUnicodeHash(any(byte[].class))).thenReturn(new byte[24]);
            when(mockAuth.getName()).thenReturn("testuser");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. 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)
  8. 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/jcifs/smb1/smb1/SmbSessionTest.java

        @BeforeEach
        void setUp() throws Exception {
            // Create a real NtlmPasswordAuthentication instance
            auth = new NtlmPasswordAuthentication("TESTDOMAIN", "testuser", "testpass");
    
            // Initialize ServerData to avoid NullPointerException
            SmbTransport.ServerData serverData = transport.new ServerData();
            serverData.security = 0; // Set to 0 or appropriate value for SECURITY_SHARE
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/io/TraverserUtilTest.java

            assertThat(set.contains(TraverserUtilTest.class.getName()), is(true));
            assertThat(set.contains(TestCase.class.getName()), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testFromClass_JarFile() throws Exception {
            final Traverser traverser = TraversalUtil.getTraverser(TestCase.class);
            assertThat(traverser, is(notNullValue()));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top