Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 4,122 for _shouldn (0.09 seconds)

  1. internal/config/storageclass/storage-class.go

    	// SS parity drives should be greater than or equal to minParityDrives.
    	// Parity below minParityDrives is not supported.
    	if ssParity > 0 && ssParity < minParityDrives {
    		return fmt.Errorf("parity %d should be greater than or equal to %d",
    			ssParity, minParityDrives)
    	}
    
    	if ssParity > setDriveCount/2 {
    		return fmt.Errorf("parity %d should be less than or equal to %d", ssParity, setDriveCount/2)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/query/QueryFieldConfigSetBasedLookupTest.java

        }
    
        /**
         * Test isSortField with empty array - should return false, not throw exception.
         * This test addresses the Copilot AI concern about empty arrays.
         */
        @Test
        public void test_isSortField_withEmptyArray_returnsFalse() {
            String[] emptyFields = {};
            queryFieldConfig.setSortFields(emptyFields);
    
            // Set should be empty but not null
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java

            helper.init();
            // destroy() cancels the task and flushes; should not throw
            helper.destroy();
        }
    
        @Test
        public void test_destroy_beforeInit() {
            LogNotificationHelper helper = new LogNotificationHelper();
            // destroy() without init() should not throw NPE because of null checks
            helper.destroy();
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/tomcat/valve/SuppressErrorReportValveTest.java

            valve1.setShowReport(true);
            valve1.setShowServerInfo(true);
    
            // valve2 should still have default values
            assertFalse("valve2 should have independent ShowReport setting", valve2.isShowReport());
            assertFalse("valve2 should have independent ShowServerInfo setting", valve2.isShowServerInfo());
        }
    
        @Test
        public void test_toggleSettingsMultipleTimes() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  5. compat/maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java

            assertEquals(2, problems.size(), "Should collect both problems");
            assertEquals(Problem.Severity.ERROR, problems.get(0).getSeverity(), "First problem should be ERROR");
            assertEquals("Error message", problems.get(0).getMessage(), "First problem should have correct message");
            assertEquals(Problem.Severity.WARNING, problems.get(1).getSeverity(), "Second problem should be WARNING");
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Jul 20 20:19:43 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticatorTest.java

            // This verifies the security warnings are properly documented in code
            SpnegoAuthenticator authenticator = new SpnegoAuthenticator();
            assertNotNull(authenticator);
    
            // The constant should be accessible and properly named
            // We can't easily test the actual configuration without full DI setup,
            // but we verify the class structure is correct
            assertTrue(true);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            for (int i = 20; i < 28; i++) {
                assertEquals(0, buffer[i], "Padding byte at position " + i + " should be 0");
            }
    
            // The byte at position 28 should be unchanged
            assertEquals((byte) 0xFF, buffer[28], "Byte after padding should be unchanged");
        }
    
        @Test
        @DisplayName("Test maxParameterCount and maxDataCount values")
        void testMaxCountValues() {
    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)
  8. src/test/java/jcifs/netbios/LmhostsTest.java

            }
    
            when(mockConfig.getLmHostsFileName()).thenReturn(lmhostsFile.getAbsolutePath());
    
            // First call should read the file
            NbtAddress result1 = lmhosts.getByName("TESTHOST", mockContext);
            assertNotNull(result1);
    
            // Second call should use cached data (file not modified)
            NbtAddress result2 = lmhosts.getByName("TESTHOST", mockContext);
            assertNotNull(result2);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            // appType should be either empty string or the actual env value
            assertTrue(appType.isEmpty() || appType.length() > 0);
        }
    
        @Test
        public void test_getOverrideConfPath() {
            // Test when app type is not docker
            OptionalEntity<String> confPath = ResourceUtil.getOverrideConfPath();
            assertNotNull(confPath);
            // Should be empty when not docker app type
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            // Should pass without exception
        }
    
        @Test
        public void testValidPath() throws Exception {
            validator.validatePath("\\share\\folder\\file.txt");
            validator.validatePath("C:\\Windows\\System32");
            validator.validatePath(null); // Null should be allowed
            validator.validatePath(""); // Empty should be allowed
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
Back to Top