Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 2,989 for SHOULD (1.83 sec)

  1. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

                fail("Should throw IllegalArgumentException for null engine");
            } catch (IllegalArgumentException e) {
                assertEquals("name or scriptEngine is null.", e.getMessage());
            }
        }
    
        // Test add method with both null parameters
        public void test_add_bothNull() {
            try {
                scriptEngineFactory.add(null, null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/query/BooleanQueryCommandTest.java

        }
    
        // Test execute method with non-BooleanQuery (should throw exception)
        public void test_execute_withNonBooleanQuery() {
            TermQuery termQuery = new TermQuery(new Term("field", "value"));
            QueryContext context = new QueryContext("test", false);
    
            try {
                booleanQueryCommand.execute(context, termQuery, 1.0f);
                fail("Should throw InvalidQueryException");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbConnectionTest.java

            assertTrue(config.isUseUnicode(), "Unicode should be enabled");
            assertTrue(config.isUseBatching(), "Batching should be enabled");
    
            // When both are enabled, batch limits should be available
            int limit = config.getBatchLimit("TreeConnectAndX.QueryInformation");
            assertTrue(limit >= 0, "Batch limit should be non-negative when Unicode and batching enabled");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            assertTrue(resp instanceof ServerMessageBlock2);
        }
    
        @Test
        @DisplayName("Should return correct OVERHEAD constant value")
        void testOverheadConstant() {
            // Then
            assertEquals(Smb2Constants.SMB2_HEADER_LENGTH + 16, Smb2ReadResponse.OVERHEAD);
        }
    
        @Test
        @DisplayName("Should initially have zero data length")
        void testInitialDataLength() {
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

            NdrShort ns = new NdrShort(original);
            buf.reset();
            ns.encode(buf); // should not throw
    
            // After encoding, check how many bytes were used
            int bytesUsed = buf.getIndex();
            // Should be 2 bytes for the short value (alignment may add padding)
            assertTrue(bytesUsed >= 2, "Should use at least 2 bytes for short");
    
            // Reset index to read back
            buf.reset();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/PathValidatorTest.java

            validator.addToBlacklist("\\share\\forbidden");
    
            // Should block blacklisted path
            try {
                validator.validatePath("\\share\\forbidden\\file.txt");
                fail("Should block blacklisted path");
            } catch (SmbException e) {
                assertTrue(e.getMessage().contains("not allowed"));
            }
    
            // Should allow other paths
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbTreeHandleTest.java

        void testGetConfig() {
            when(smbTreeHandle.getConfig()).thenReturn(mockConfig);
            Configuration config = smbTreeHandle.getConfig();
            assertNotNull(config, "Configuration should not be null");
            assertEquals(mockConfig, config, "Should return the mock Configuration object");
        }
    
        /**
         * Test for close() method.
         * Verifies that the close method can be called without throwing an exception.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

                // key3 should definitely exist (just created)
                assertNotNull(limitedManager.getLease(key3));
    
                // key1 should have been evicted (oldest)
                assertNull(limitedManager.getLease(key1));
    
                // key2 should still exist (not the oldest)
                assertNotNull(limitedManager.getLease(key2));
            } finally {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ACETest.java

                assertEquals(0x00000008, ACE.FILE_READ_EA, "FILE_READ_EA should be 0x00000008");
                assertEquals(0x00000010, ACE.FILE_WRITE_EA, "FILE_WRITE_EA should be 0x00000010");
                assertEquals(0x00000020, ACE.FILE_EXECUTE, "FILE_EXECUTE should be 0x00000020");
                assertEquals(0x00000040, ACE.FILE_DELETE, "FILE_DELETE should be 0x00000040");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/openapi-callbacks.md

    In this case, you could want to document how that external API *should* look like. What *path operation* it should have, what body it should expect, what response it should return, etc.
    
    ## An app with callbacks { #an-app-with-callbacks }
    
    Let's see all this with an example.
    
    Imagine you develop an app that allows creating invoices.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top