- Sort Score
- Result 10 results
- Languages All
Results 4661 - 4670 of 4,820 for If (0.02 sec)
-
src/test/java/org/codelibs/fess/entity/FessUserTest.java
assertFalse(user.isEditable()); assertFalse(user.refresh()); } // Helper method to assert array equality private void assertArrayEquals(String[] expected, String[] actual) { if (expected == null && actual == null) { return; } assertNotNull("Expected array is null but actual is not", expected); assertNotNull("Actual array is null but expected is not", actual);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmServletTest.java
*/ @Test void testInit() throws ServletException { assertDoesNotThrow(() -> ntlmServlet.init(servletConfig)); // Further assertions can be added here to check the internal state of the servlet if fields were protected/public } /** * Test the init method when CIFSException occurs. * Verifies that configuration properties are properly validated during initialization. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
SmbFileHandleImpl fh = target.ensureOpen(); assertSame(fileHandle, fh); assertTrue(target.isOpen()); assertFalse(target.isStale()); // If handle becomes invalid, reflect stale when(fileHandle.isValid()).thenReturn(false); assertFalse(target.isOpen()); assertTrue(target.isStale()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
try { encoding.decode(cannotDecode); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException expected) { if (expectedMessage != null) { assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo(expectedMessage); } } } }, DECODE_CHECKED { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
} } public void test_crawl_with_force_stop() { // Set force stop to true immediately to avoid thread operations SystemHelper systemHelper = ComponentUtil.getSystemHelper(); if (systemHelper instanceof org.codelibs.fess.helper.DataIndexHelperTest.TestSystemHelper) { ((org.codelibs.fess.helper.DataIndexHelperTest.TestSystemHelper) systemHelper).setForceStop(true); } try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java
public String get(String propertyKey) { // Check system properties first (with prefix) String systemValue = System.getProperty(Constants.FESS_CONFIG_PREFIX + propertyKey); if (systemValue != null) { return systemValue; } // Return test values for specific properties switch (propertyKey) { case "domain.title":
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/StringsTest.java
assertEquals("-xx", Strings.padStart("xx", 3, '-')); } public void testPadStart_negativeMinLength() { assertSame("x", Strings.padStart("x", -1, '-')); } // TODO: could remove if we got NPT working in GWT somehow public void testPadStart_null() { assertThrows(NullPointerException.class, () -> Strings.padStart(null, 5, '0')); } public void testPadEnd_noPadding() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 27 17:53:41 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
private int callCount = 0; @Override public List<FileNotifyInformation> watch() throws CIFSException { callCount++; if (callCount == 1) { return Arrays.asList(fileNotifyInfo1); } return Collections.emptyList(); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
CharMappingItem item = new CharMappingItem(1L, new String[] { "temp" }, "output") { @Override public String getInputsValue() { // Simulate null inputs scenario if (getInputs() == null) { return super.getInputsValue(); } return super.getInputsValue(); } };
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java
final Query query = ComponentUtil.getQueryParser().parse(queryContext.getQueryString()); QueryBuilder builder = queryCommand.convertTermQuery(queryContext, (TermQuery) query, 1.0f); if (text.startsWith("sort:")) { assertNull(builder); } else { logger.info("{} => {}", text, builder.toString()); assertEquals(expectedClass, builder.getClass());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.4K bytes - Viewed (0)