Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1891 - 1900 of 4,151 for text (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt

    import org.junit.jupiter.api.Test
    
    class CipherSuiteTest {
      @Test
      fun hashCode_usesIdentityHashCode_legacyCase() {
        val cs = CipherSuite.TLS_RSA_EXPORT_WITH_RC4_40_MD5 // This one's javaName starts with "SSL_".
        assertThat(cs.hashCode(), cs.toString())
          .isEqualTo(System.identityHashCode(cs))
      }
    
      @Test
      fun hashCode_usesIdentityHashCode_regularCase() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

                  "sun.misc.Unsafe",
                  AtomicReferenceFieldUpdater.class.getName()));
    
      public static TestSuite suite() {
        // we create a test suite containing a test for every AbstractFutureTest test method and we
        // set it as the name of the test.  Then in runTest we can reflectively load and invoke the
        // corresponding method on AbstractFutureTest in the correct classloader.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/rank/fusion/SearchResultTest.java

    public class SearchResultTest extends UnitFessTestCase {
    
        public void test_constructor() {
            // Test with normal values
            List<Map<String, Object>> documentList = new ArrayList<>();
            Map<String, Object> doc1 = new HashMap<>();
            doc1.put("title", "Test Document 1");
            doc1.put("content", "This is test content");
            documentList.add(doc1);
    
            long allRecordCount = 100L;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/StringsTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.CsvSource;
    import org.junit.jupiter.params.provider.NullAndEmptySource;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.Configuration;
    import jcifs.RuntimeCIFSException;
    
    /**
     * Comprehensive test suite for Strings utility class.
    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. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

                assertNotNull(type3.getNTResponse());
            });
        }
    
        @Test
        @DisplayName("Should handle special characters in credentials")
        void testSpecialCharacters() throws Exception {
            // Given
            Type2Message type2 = createMockType2Message();
            String specialDomain = "TEST-DOMAIN_123";
            String specialUser = "test******@****.***";
            String specialPassword = "P@ssw0rd!#$%";
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

        }
    
        @Test
        public void testSpecialCharactersInIndexName() {
            // Test index name with special characters
            builder.setSettingsIndexName("Test-Index_Name.2024");
            assertEquals("test-index_name.2024", builder.settingsIndexName);
    
            // Test index name with spaces (should be lowercased)
            builder.setSettingsIndexName("Test Index Name");
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/toolchain/RequirementMatcherFactoryTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     *
     */
    class RequirementMatcherFactoryTest {
    
        /**
         * Test of createExactMatcher method, of class RequirementMatcherFactory.
         */
        @Test
        void testCreateExactMatcher() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY);
            final String message = "Parameter order test";
            final Exception cause = new RuntimeException("Test cause");
    
            // Execute with three parameters
            final InvalidQueryException exception3Params = new InvalidQueryException(messageCode, message, cause);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

        }
    
        public void test_getQueryClassName() {
            // Test that getQueryClassName returns the correct class name
            String className = matchAllQueryCommand.getQueryClassName();
            assertEquals("MatchAllDocsQuery", className);
            assertEquals(MatchAllDocsQuery.class.getSimpleName(), className);
        }
    
        public void test_execute() {
            // Test execute method with normal parameters
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SpnegoContextTest.java

        }
    
        @Test
        @DisplayName("getFlags delegates to underlying mechanism context")
        void testGetFlagsDelegates() {
            SpnegoContext ctx = newContext();
            when(this.mechContext.getFlags()).thenReturn(0xCAFE);
            assertEquals(0xCAFE, ctx.getFlags());
            verify(this.mechContext, times(1)).getFlags();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top