Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 311 for getProperty (0.09 seconds)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java

            Profile p = Profile.newBuilder().activation(a).build();
    
            return p;
        }
    
        private Properties newProperties(String javaVersion) {
            Properties props = new Properties();
            props.setProperty("java.version", javaVersion);
            return props;
        }
    
        @Test
        void testNullSafe() throws Exception {
            Profile p = Profile.newInstance();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                    // ignore
                }
            }
    
            final String httpAddress = SystemUtil.getSearchEngineHttpAddress();
            if (StringUtil.isNotBlank(httpAddress)) {
                System.setProperty(FesenClient.HTTP_ADDRESS, httpAddress);
            }
    
            TimeoutTask systemMonitorTask = null;
            TimeoutTask logNotificationTask = null;
            LogNotificationTarget logNotificationTarget = null;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                Properties props = new Properties();
                props.setProperty("jcifs.smb.client.minVersion", "SMB202");
                props.setProperty("jcifs.smb.client.maxVersion", "SMB311");
                props.setProperty("jcifs.smb.client.responseTimeout", "30000");
                props.setProperty("jcifs.smb.client.soTimeout", "35000");
    
                // Create a new configuration and context
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

        private static class CustomTestObject {
            @SuppressWarnings("unused")
            private final String field = "test";
        }
    
        private long getObjectSize(Object value) {
            System.setProperty("java.vm.name", "Java HotSpot(TM) ");
            return ObjectSizeCalculator.getObjectSize(value);
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12K bytes
    - Click Count (0)
  5. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java

                settingsBuilder.put("discovery.type", "single-node");
            }).build(newConfigs().clusterName(clusterName).numOfNode(1));
    
            // wait for yellow status
            runner.ensureYellow();
    
            System.setProperty(FesenClient.HTTP_ADDRESS, "localhost:" + runner.node().settings().get("http.port", "9201"));
    
            super.setUp(testInfo);
        }
    
        @Override
        public void tearDown(final TestInfo testInfo) throws Exception {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Jan 14 23:48:16 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

        void testWithDifferentConfigurations() throws Exception {
            // Test with different configuration settings
            Properties props = new Properties();
            props.setProperty("jcifs.smb.client.maxVersion", "SMB302");
            Configuration customConfig = new PropertyConfiguration(props);
    
            Trans2SetFileInformationResponse customResponse = new Trans2SetFileInformationResponse(customConfig);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

                }
            }
        }
    
        /**
         * Sets a property in the bean using cached lookups for improved performance.
         */
        public void setProperty(Object bean, String propertyName, Class<?> valueType, PlexusConfiguration configuration)
                throws ComponentConfigurationException {
    
            Class<?> beanType = bean.getClass();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            // Initialize filter first
            initializeFilter();
    
            // Test request with existing authentication should proceed
            Properties props = new Properties();
            props.setProperty("jcifs.smb.client.domain", "TEST_DOMAIN");
            CIFSContext context = new BaseContext(new PropertyConfiguration(props));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  9. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

                settingsBuilder.put("discovery.type", "single-node");
            }).build(newConfigs().clusterName(clusterName).numOfNode(1));
    
            // wait for yellow status
            runner.ensureYellow();
    
            System.setProperty(FesenClient.HTTP_ADDRESS, "localhost:" + runner.node().settings().get("http.port", "9201"));
    
            super.setUp(testInfo);
        }
    
        @Override
        public void tearDown(final TestInfo testInfo) throws Exception {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Jan 14 23:48:16 GMT 2026
    - 15.7K bytes
    - Click Count (0)
  10. docs/smb3-features/01-smb3-lease-design.md

    ```
    
    ### 8.2 Integration Tests
    ```java
    @Test
    public void testLeaseWithRealServer() throws Exception {
        // Requires SMB3 capable server
        CIFSContext context = getTestContext();
        context.getConfig().setProperty("jcifs.smb.client.useLeases", "true");
        
        try (SmbFile file = new SmbFile("smb://server/share/test.txt", context)) {
            // Open file with lease
            file.createNewFile();
            
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 22K bytes
    - Click Count (0)
Back to Top