Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for testValue (0.06 sec)

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

            assertNotNull(result);
            assertFalse(result.isPresent());
        }
    
        public void test_ofNullable_withMap() {
            Map<String, Object> testValue = new HashMap<>();
            testValue.put("key1", "value1");
            testValue.put("key2", 42);
    
            OptionalEntity<Map<String, Object>> result = OptionalUtil.ofNullable(testValue);
    
            assertNotNull(result);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            // Test various values
            long[] testValues = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 0x123456789ABCDEFL };
    
            for (long testValue : testValues) {
                // Create and encode
                FileEndOfFileInformation original = new FileEndOfFileInformation(testValue);
                byte[] buffer = new byte[8];
                int encoded = original.encode(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

            };
    
            for (long testValue : testValues) {
                FileInternalInfo testInfo = new FileInternalInfo();
                byte[] buffer = new byte[8];
                SMBUtil.writeInt8(testValue, buffer, 0);
    
                int bytesDecoded = testInfo.decode(buffer, 0, buffer.length);
                assertEquals(8, bytesDecoded);
                assertEquals(testValue, testInfo.getIndexNumber());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

                // Given: NdrShort with test value
                int testValue = 123;
                NdrShort ndrShort = new NdrShort(testValue);
    
                // When: Encoding the value
                ndrShort.encode(mockBuffer);
    
                // Then: Should call enc_ndr_short with masked value
                verify(mockBuffer).enc_ndr_short(testValue & 0xFF);
                verifyNoMoreInteractions(mockBuffer);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

            try {
                // Test multiple value changes
                String[] testValues = { "http://localhost:9200", "https://elasticsearch.example.com", "http://127.0.0.1:9201",
                        "https://search.domain.com:443" };
    
                for (String testValue : testValues) {
                    System.setProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS, testValue);
                    String result = SystemUtil.getSearchEngineHttpAddress();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            try {
                WebApiUtil.setObject("testKey", "testValue");
            } catch (Exception e) {
                fail("setObject should handle missing request gracefully: " + e.getMessage());
            }
        }
    
        public void test_setObject_withNullName() {
            // Test setObject with null name
            try {
                WebApiUtil.setObject(null, "testValue");
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

        public void test_inheritedMethods_areProperlyDelegated() {
            final String customPath = "/api/v1/test";
            final String testHeader = "X-Test-Header";
            final String testHeaderValue = "TestValue";
    
            mockRequest.addHeader(testHeader, testHeaderValue);
            mockRequest.setMethod("POST");
            mockRequest.setRequestURI("/test/uri");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            }
        }
    
        // Test sendMail method
        public void test_sendMail_withNotificationDisabled() {
            Map<String, String> infoMap = new HashMap<>();
            infoMap.put("TestKey", "TestValue");
    
            // Should not throw exception when notification is disabled
            try {
                crawler.sendMail(infoMap);
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  9. statement.go

    			destValue := reflect.ValueOf(stmt.Dest)
    			for destValue.Kind() == reflect.Ptr {
    				destValue = destValue.Elem()
    			}
    
    			if stmt.ReflectValue != destValue {
    				if !destValue.CanAddr() {
    					destValueCanAddr := reflect.New(destValue.Type())
    					destValueCanAddr.Elem().Set(destValue)
    					stmt.Dest = destValueCanAddr.Interface()
    					destValue = destValueCanAddr.Elem()
    				}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

        // Test getTimeAdjustTimeMillis string values
        public void test_getTimeAdjustTimeMillis_stringValues() {
            // Test various string formats
            String[] testValues = { "0", "1000", "-1000", "999999999", "-999999999", "1", "-1" };
    
            for (String value : testValues) {
                FessConfig testConfig = new FessConfig.SimpleImpl() {
                    private static final long serialVersionUID = 1L;
    
                    @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
Back to top