Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 62 for testValue (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

        }
    
        // Test case sensitivity for configuration values
        public void test_configurationCaseSensitivity() {
            String[] testValues = { "TRUE", "True", "true", "FALSE", "False", "false" };
    
            for (String value : testValues) {
                ComponentUtil.setFessConfig(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
    - 7K bytes
    - Viewed (0)
  10. clause/values_test.go

    package clause_test
    
    import (
    	"fmt"
    	"testing"
    
    	"gorm.io/gorm/clause"
    )
    
    func TestValues(t *testing.T) {
    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{
    				clause.Insert{},
    				clause.Values{
    					Columns: []clause.Column{{Name: "name"}, {Name: "age"}},
    					Values:  [][]interface{}{{"jinzhu", 18}, {"josh", 1}},
    				},
    			},
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 691 bytes
    - Viewed (0)
Back to top