Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for originalValue (0.08 sec)

  1. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

                // Restore original value if it existed
                if (originalValue != null) {
                    System.setProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS, originalValue);
                }
            }
        }
    
        public void test_getSearchEngineHttpAddress_withValue() {
            String testAddress = "http://localhost:9200";
            String originalValue = System.getProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

                int originalValue = 150;
                NdrShort ndrShort1 = new NdrShort(originalValue);
    
                // Create separate mocks for encoding and decoding to simulate real buffer
                NdrBuffer encodeBuffer = mock(NdrBuffer.class);
                NdrBuffer decodeBuffer = mock(NdrBuffer.class);
                when(decodeBuffer.dec_ndr_short()).thenReturn(originalValue);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileInformationTest.java

        void testFileEndOfFileInformationEncodeDecodeRoundTrip() throws SMBProtocolDecodingException {
            long originalValue = 0x123456789ABCDEFL;
            FileEndOfFileInformation original = new FileEndOfFileInformation(originalValue);
    
            // Encode
            byte[] buffer = new byte[8];
            int encoded = original.encode(buffer, 0);
            assertEquals(8, encoded);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/config/PropertyConfigurationTest.java

                assertTrue(domain.equals("systemdomain") || domain.equals("propsdomain"));
    
            } finally {
                // Cleanup
                if (originalValue != null) {
                    System.setProperty("jcifs.smb.client.domain", originalValue);
                } else {
                    System.clearProperty("jcifs.smb.client.domain");
                }
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

            // Test system property configuration
            String originalValue = System.getProperty(FesenClient.HTTP_ADDRESS);
            try {
                System.setProperty(FesenClient.HTTP_ADDRESS, "http://localhost:9200");
                assertEquals("http://localhost:9200", System.getProperty(FesenClient.HTTP_ADDRESS));
            } finally {
                if (originalValue != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

            assertTrue(asString.contains("nested"));
        }
    
        // Test overwriting existing values
        public void test_overwriteValues() {
            dataStoreParams.put("key1", "originalValue");
            assertEquals("originalValue", dataStoreParams.get("key1"));
    
            dataStoreParams.put("key1", "newValue");
            assertEquals("newValue", dataStoreParams.get("key1"));
    
            dataStoreParams.put("key1", null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

        }
    
        @Test
        @DisplayName("Test encode does not modify source object")
        void testEncodeImmutability() {
            long originalValue = 1000L;
            FileEndOfFileInformation info = new FileEndOfFileInformation(originalValue);
    
            // Get original toString
            String originalString = info.toString();
    
            // Encode
            byte[] buffer = new byte[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)
  8. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

            // Test that modifying the original values array doesn't affect the parameter
            String name = "immutableParam";
            String[] originalValues = { "original1", "original2" };
            RequestParameter param = new RequestParameter(name, originalValues);
    
            // Get values and verify they match
            String[] retrievedValues = param.getValues();
            assertEquals("original1", retrievedValues[0]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top