Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 498 for constants (0.05 sec)

  1. src/test/java/jcifs/ResolverTypeTest.java

    /**
     * Tests for the {@link ResolverType} enum.
     * This class ensures that the enum constants are defined as expected.
     */
    class ResolverTypeTest {
    
        /**
         * Tests that all expected enum constants exist.
         */
        @Test
        void testEnumConstants() {
            // Verify that each enum constant exists and can be referenced
            assertNotNull(ResolverType.RESOLVER_WINS, "RESOLVER_WINS should not be null.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

            // Note: USE_UNICODE and FORCE_UNICODE don't exist in the interface
            // These tests should be removed or replaced with actual constants
        }
    
        /**
         * Test individual FLAGS2 constants.
         */
        @Test
        @DisplayName("FLAGS2 individual constants are correct")
        void flags2ConstantsTest() {
            // Test individual flag values
            assertEquals(0x0001, SmbConstants.FLAGS2_LONG_FILENAMES);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            return Constants.TRUE.equalsIgnoreCase(getSystemProperty(key, defaultValue ? Constants.TRUE : Constants.FALSE));
        }
    
        default void setSystemPropertyAsBoolean(final String key, final boolean value) {
            setSystemProperty(key, value ? Constants.TRUE : Constants.FALSE);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/NetbiosAddressTest.java

    /**
     * Tests for NetbiosAddress interface and NbtAddress implementation.
     * This test focuses on verifying constants and basic functionality.
     */
    @ExtendWith(MockitoExtension.class)
    class NetbiosAddressTest {
    
        @Test
        void testConstantValues() {
            // Test that constants are properly defined
            assertEquals("*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

                System.clearProperty(Constants.FESS_CONFIG_PREFIX + testKey);
            }
        }
    
        // Test getting numeric configuration values
        public void test_get_numericValues() {
            String intKey = "numeric.int";
            String floatKey = "numeric.float";
    
            System.setProperty(Constants.FESS_CONFIG_PREFIX + intKey, "123");
            System.setProperty(Constants.FESS_CONFIG_PREFIX + floatKey, "45.67");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ACETest.java

                    ACE.WRITE_DAC, ACE.WRITE_OWNER, ACE.SYNCHRONIZE })
            @DisplayName("Access constants should be powers of 2")
            void shouldBeValidPowersOfTwo(int constant) {
                assertTrue(constant > 0, "Constant should be positive");
                assertEquals(0, constant & (constant - 1), "Constant should be power of 2: " + Integer.toHexString(constant));
            }
    
            @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbConstantsTest.java

        }
    
        @Test
        @DisplayName("Should validate constants are immutable interface values")
        void testConstantNature() {
            // SmbConstants is an interface with static final fields
            // Verify constants maintain their values
            assertEquals(445, SmbConstants.DEFAULT_PORT);
    
            // Test that the constant values are as expected for protocol compliance
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            getMockRequest().setAttribute(Constants.FIELD_LOGS, new HashMap<String, List<String>>());
            queryContext = new QueryContext("test", true);
            assertEquals("test", queryContext.getQueryString());
    
            // Verify that highlighting and field log are initialized
            assertNotNull(getMockRequest().getAttribute(Constants.HIGHLIGHT_QUERIES));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

            }
    
            final String[] searchers = DocumentUtil.getValue(docMap, Constants.SEARCHER, String[].class);
            if (searchers != null) {
                docMap.put(Constants.SEARCHER, ArrayUtil.add(searchers, getName()));
            } else {
                docMap.put(Constants.SEARCHER, new String[] { getName() });
            }
    
            return docMap;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

                        copyBeanToBean(entity, form, copyOp -> {
                            copyOp.excludeNull();
                            copyOp.exclude(Stream.concat(Stream.of(Constants.COMMON_CONVERSION_RULE),
                                    Stream.of(Constants.PERMISSIONS, Constants.VIRTUAL_HOSTS)).toArray(n -> new String[n]));
                        });
                        final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.9K bytes
    - Viewed (0)
Back to top