Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 3,270 for switch (0.04 sec)

  1. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            // Test constructor with null cause
            String message = "Test with null cause";
            FessSystemException exception = new FessSystemException(message, null);
    
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with both null message and cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/entity/FacetInfoTest.java

        }
    
        // Test getBucketOrder with count.desc
        public void test_getBucketOrder_countDesc() {
            facetInfo.sort = "count.desc";
            BucketOrder order = facetInfo.getBucketOrder();
            assertNotNull(order);
            assertEquals(BucketOrder.count(false), order);
        }
    
        // Test getBucketOrder with count.asc
        public void test_getBucketOrder_countAsc() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacCredentialTypeTest.java

        /**
         * Tests the constructor with a valid byte array.
         */
        @Test
        void testConstructorWithValidData() {
            // A byte array with a length less than 32 should be considered valid.
            byte[] validData = new byte[31];
            assertDoesNotThrow(() -> new PacCredentialType(validData));
        }
    
        /**
         * Tests the constructor with a null byte array, which should throw an exception.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

            // Test with null name
            String[] values = { "value1" };
            RequestParameter param = new RequestParameter(null, values);
    
            assertNull(param.getName());
            assertNotNull(param.getValues());
            assertEquals(1, param.getValues().length);
        }
    
        public void test_constructor_withEmptyName() {
            // Test with empty name
            String name = "";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            }
        }
    
        @Test
        @DisplayName("Test decode with minimum buffer size")
        void testDecodeWithMinimumBuffer() throws SMBProtocolDecodingException {
            // Create buffer with exact size needed
            byte[] buffer = new byte[8];
            long value = 42L;
            SMBUtil.writeInt8(value, buffer, 0);
    
            // Decode with minimum length
            int bytesRead = fileInfo.decode(buffer, 0, 8);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/index.md

     <span style="background-color:#C4A000"><font color="#2E3436">╰─────────────────────────────────────────────────────╯</font></span>
    
    <font color="#4E9A06">INFO</font>:     Will watch for changes in these directories: [&apos;/home/user/code/awesomeapp&apos;]
    <font color="#4E9A06">INFO</font>:     Uvicorn running on <b>http://127.0.0.1:8000</b> (Press CTRL+C to quit)
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for FsctlPipeWaitRequest
     */
    class FsctlPipeWaitRequestTest {
    
        @Test
        @DisplayName("Test constructor with name only sets correct fields")
        void testConstructorWithNameOnly() {
            // Test with simple pipe name
            String pipeName = "TestPipe";
            FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName);
    
            // Verify size calculation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            // Test constructor with message only
            String message = "SSO authentication failed";
            SsoProcessException exception = new SsoProcessException(message);
    
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withMessageAndCause() {
            // Test constructor with message and Exception cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            SMBUtil.writeInt2(0, result, 2);
            return result;
        }
    
        /**
         * Test decode with valid single AvPair followed by EOL
         */
        @Test
        @DisplayName("Decode single AvPair with EOL")
        void testDecodeSinglePair() throws CIFSException {
            // Create test data: AvFlags with value 0x12345678 + EOL
            byte[] flagData = new byte[4];
            SMBUtil.writeInt4(0x12345678, flagData, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

        /**
         * Test AutoCloseable implementation
         */
        @Test
        @DisplayName("Test AutoCloseable implementation with try-with-resources")
        public void testAutoCloseableImpl() {
            String testPassword = "AutoCloseablePass123!";
            NtlmPasswordAuthenticator authRef;
    
            // Use try-with-resources
            try (NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("user", testPassword)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
Back to top