Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 207 for props (0.02 seconds)

  1. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

                // ## Assert ##
                Map<String, List<String>> props = mockHolder[0].getRecordedRequestProperties();
                assertTrue(props.containsKey("Content-Type"));
                assertEquals("application/json", props.get("Content-Type").get(0));
                assertTrue(props.containsKey("Authorization"));
                assertEquals("Bearer token123", props.get("Authorization").get(0));
            }
        }
    
        @Test
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/io/ResourceUtil.java

         */
        public static Properties getProperties(final String path) {
            assertArgumentNotEmpty("path", path);
    
            final Properties props = new Properties();
            final InputStream is = getResourceAsStream(path);
            try {
                props.load(is);
                return props;
            } catch (final IOException ex) {
                throw new IORuntimeException(ex);
            } finally {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

        @Mock
        private Configuration mockConfig;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            Properties props = new Properties();
            config = new PropertyConfiguration(props);
        }
    
        @Test
        @DisplayName("Test constructor with SMB_INFO_ALLOCATION")
        void testConstructorWithSmbInfoAllocation() {
            // Create instance with SMB_INFO_ALLOCATION
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

        private static final long TEST_LAST_ACCESS_TIME = 131234567880000L;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            Properties props = new Properties();
            config = new PropertyConfiguration(props);
        }
    
        @Test
        @DisplayName("Test constructor with FileInformation parameter")
        void testConstructorWithFileInformation() {
            // Setup mock FileInformation
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

                    propField.setAccessible(true);
    
                    // Create a mock JavaPropertiesResult
                    java.util.Properties props = new java.util.Properties();
                    props.setProperty("job.max.crawler.processes", "5");
                    props.setProperty("java.command.path", "java");
    
                    org.dbflute.helper.jprop.JavaPropertiesReader reader =
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 31.6K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/DistroTestPlugin.java

        }
    
        private static void addDistributionSysprop(Test task, String sysprop, Supplier<String> valueSupplier) {
            SystemPropertyCommandLineArgumentProvider props = task.getExtensions().getByType(SystemPropertyCommandLineArgumentProvider.class);
            props.systemProperty(sysprop, valueSupplier);
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Sep 28 21:31:21 GMT 2021
    - 23.1K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

         * the LICENSE and NOTICE file for that jar.
         */
        public void mapping(Map<String, String> props) {
            String from = props.get("from");
            if (from == null) {
                throw new InvalidUserDataException("Missing \"from\" setting for license name mapping");
            }
            String to = props.get("to");
            if (to == null) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            options.name = "testCrawl";
            options.webConfigIds = "web1,web2";
            options.fileConfigIds = "file1";
            options.dataConfigIds = "data1";
            options.propertiesPath = "/path/to/props";
            options.expires = "7";
            options.hotThread = 5000;
    
            String result = options.toString();
            assertNotNull(result);
            assertTrue(result.contains("sessionId=session123"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            assertTrue(cmdList.contains("-D" + Constants.SYSTEM_PROP_PREFIX + "prop1=value1"));
            assertTrue(cmdList.contains("-D" + Constants.SYSTEM_PROP_PREFIX + "prop2=value2"));
    
            // Clean up
            System.clearProperty(Constants.SYSTEM_PROP_PREFIX + "prop1");
            System.clearProperty(Constants.SYSTEM_PROP_PREFIX + "prop2");
            System.clearProperty("regular.property");
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4HttpClient.java

                        final Properties props = new Properties();
                        final Map<String, String> ntlmParams = config.getNtlmParameters();
                        if (ntlmParams != null) {
                            ntlmParams.forEach(props::setProperty);
                        }
                        authScheme = new NTLMScheme(new JcifsEngine(props));
                    }
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 54.4K bytes
    - Click Count (0)
Back to Top