Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for testGet (0.05 sec)

  1. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

         */
        @Test
        public void testGet() throws Exception {
            assertThat(map.get("1"), is("test"));
            assertThat(map.get(null), is(nullValue()));
            assertThat(map.get("test3"), is(nullValue()));
            assertThat(map.getAt(0), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testPut() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            assertFalse(robotsTxt.allows("/valid1/", "TestBot"));
            assertFalse(robotsTxt.allows("/valid2/", "TestBot"));
            assertTrue(robotsTxt.allows("/valid3/", "TestBot"));
            assertFalse(robotsTxt.allows("/valid4/", "TestBot"));
        }
    
        public void testParse_emptyValues() {
            String robotsTxtContent = "User-agent: TestBot\n" + "Disallow:\n" + "Allow:\n" + "Crawl-delay:\n";
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            for (int size : keySizes) {
                // Given
                byte[] testKey = new byte[size];
                new SecureRandom().nextBytes(testKey);
    
                // When
                byte[] derivedKey = Smb3KeyDerivation.deriveSigningKey(dialect, testKey, preauthIntegrity);
    
                // Then
                assertNotNull(derivedKey, "Should handle " + size + "-byte session key");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            byte[] testKey = new byte[16];
            new SecureRandom().nextBytes(testKey);
    
            // When - Create context with SecureKeyManager using same key for both operations
            Smb2EncryptionContext context = new Smb2EncryptionContext(EncryptionNegotiateContext.CIPHER_AES128_GCM, DialectVersion.SMB311,
                    testKey, testKey, keyManager);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            assertFalse(concreteResponse.isVerifyFailed());
    
            // Test exception handling
            assertNull(concreteResponse.getException());
            Exception testEx = new RuntimeException("Test");
            concreteResponse.exception(testEx);
            assertEquals(testEx, concreteResponse.getException());
    
            // Test expiration
            assertNull(concreteResponse.getExpiration());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  6. src/main/resources/fess_message_pt_BR.properties

    errors.failed_to_delete_doc_in_admin = Não foi possível excluir o documento.
    errors.failed_to_send_testmail=Não foi possível enviar o e-mail de teste.
    errors.invalid_query_unknown = A consulta especificada tem condições desconhecidas.
    errors.invalid_query_parse_error = A consulta fornecida é inválida.
    errors.invalid_query_sort_value = A ordenação especificada {0} é inválida.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                assertEquals("\\\\server\\share\\link", referralData.getLink());
            }
    
            @Test
            @DisplayName("Should get and set key")
            void testKey() {
                assertNull(referralData.getKey());
                referralData.setKey("cache-key-123");
                assertEquals("cache-key-123", referralData.getKey());
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            assertThat(WildcardType.class.isInstance(GenericsUtil.getElementTypeOfList(t3)), is(true));
        }
    
        /**
         * @throws Exception
         */
        public void testSet() throws Exception {
            final Method m1 = SetType.class.getMethod("setOfString");
            final Type t1 = m1.getGenericReturnType();
            assertThat(GenericsUtil.isTypeOf(t1, Set.class), is(true));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/curl/CurlTest.java

    import org.codelibs.curl.Curl.Method;
    import org.junit.Test;
    
    public class CurlTest {
        private static final Logger logger = Logger.getLogger(CurlTest.class.getName());
    
        @Test
        public void test_Get() {
            Curl.get("https://www.codelibs.org/").execute(response -> {
                final String content = response.getContentAsString();
                logger.info(content);
                assertTrue(content.length() > 0);
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

        void testConstructor() {
            // Verify that the constructor correctly sets the delegate (inherited from CIFSContextWrapper)
            // and the credentials. The delegate is tested implicitly by calling super's methods.
            // We can directly test getCredentials() to ensure it returns the initial credentials.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top