Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 3,016 for jest (0.02 sec)

  1. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

            discloser.setSubject("Test Subject");
            discloser.setPlainText("Test Content");
    
            String result = notificationHelper.toSlackMessage(discloser);
    
            assertNotNull(result);
            assertTrue(result.contains("Test Subject"));
            assertTrue(result.contains("Test Content"));
            assertTrue(result.startsWith("{\"text\":\""));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // Test with DFS disabled in config
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertFalse(response.isDFSSupported());
    
            // Test without DFS capability
            when(mockConfig.isDfsDisabled()).thenReturn(false);
            setPrivateField(response, "commonCapabilities", 0);
            assertFalse(response.isDFSSupported());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

        }
    
        // Test constructor
        public void test_constructor() {
            ScoreUpdater updater = new ScoreUpdater();
            assertNotNull(updater);
        }
    
        // Test execute with empty list
        public void test_execute_emptyList() {
            String result = scoreUpdater.execute();
            assertEquals("", result);
        }
    
        // Test execute with single booster
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

    import org.junit.After;
    import org.junit.Test;
    
    /**
     * Test class for ContentCache.
     * Tests memory-based and file-based content caching.
     */
    public class ContentCacheTest {
    
        private File tempFile;
    
        @After
        public void tearDown() {
            if (tempFile != null && tempFile.exists()) {
                tempFile.delete();
            }
        }
    
        @Test
        public void testMemoryBasedCacheConstructor() {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

    import org.codelibs.core.beans.converter.NumberConverter;
    import org.codelibs.core.exception.ConverterRuntimeException;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class CopyOptionsTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testIncludes() throws Exception {
            final CopyOptions option = new CopyOptions();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/HandlerTest.java

            handlers.put("https", httpsHandler);
        }
    
        @Test
        void testGetDefaultPort() {
            // This test verifies that the handler returns the correct default HTTP port.
            assertEquals(Handler.DEFAULT_HTTP_PORT, handler.getDefaultPort(), "Default port should be 80 for HTTP.");
        }
    
        @Test
        void testOpenConnection_HttpProtocol_ReturnsNtlmHttpURLConnection() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java

            config = new PropertyConfiguration(new Properties());
        }
    
        /**
         * Test of readParameterWordsWireFormat method
         */
        @Test
        public void testReadParameterWordsWireFormat() {
            // Given
            byte[] buffer = new byte[] { (byte) 0xff, (byte) 0xff, 0, 0, 0, 0, 0, 0 };
            SmbComWriteAndXResponse instance = new SmbComWriteAndXResponse(config);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

        }
    
        // Test basic delete operation
        public void test_delete_normalUser() {
            TestAuthenticationChain chain = new TestAuthenticationChain();
            User user = createTestUser("testuser", "Test User");
    
            chain.delete(user);
    
            assertEquals(1, chain.deleteCalls.size());
            assertEquals(user, chain.deleteCalls.get(0));
        }
    
        // Test delete with null user
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  9. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

      }
    
      @Test
      fun portValidAfterStart() {
        assertThat(server.port).isGreaterThan(0)
      }
    
      @Test
      fun hostNameValidAfterStart() {
        assertThat(server.hostName).isNotNull()
      }
    
      @Test
      fun proxyAddressValidAfterStart() {
        assertThat(server.proxyAddress).isNotNull()
      }
    
      @Test
      fun differentInstancesGetDifferentPorts() {
        val other = MockWebServer()
        other.use {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

        }
    
        @Test
        @DisplayName("Test constants are properly defined")
        void testConstants() {
            // Verify the NT transaction function constants
            assertEquals(0x6, SmbComNtTransaction.NT_TRANSACT_QUERY_SECURITY_DESC);
            assertEquals(0x4, SmbComNtTransaction.NT_TRANSACT_NOTIFY_CHANGE);
        }
    
        @Test
        @DisplayName("Test inheritance from SmbComTransaction")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top