- Sort Score
- Num 10 results
- Language All
Results 2211 - 2220 of 5,742 for text (0.06 seconds)
-
src/test/java/jcifs/internal/TreeConnectResponseTest.java
void testIsValidTid() { // Test valid TID response.setTreeId(100); assertTrue(response.isValidTid(), "Positive tree ID should be valid"); // Test invalid TID response.setTreeId(-1); assertFalse(response.isValidTid(), "Tree ID -1 should be invalid"); } @Test @DisplayName("Should return null service for SMB2")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java
} @Test void testValidateUniqueProfileId() throws Exception { Settings settings = new Settings(); Profile profile1 = new Profile(); profile1.setId("test"); settings.addProfile(profile1); Profile profile2 = new Profile(); profile2.setId("test"); settings.addProfile(profile2);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java
cipher.setKey("1234567890123456"); // Setup system properties for DI container File file = File.createTempFile("test", ".properties"); file.deleteOnExit(); FileUtil.writeBytes(file.getAbsolutePath(), "test.property=test".getBytes("UTF-8")); DynamicProperties systemProps = new DynamicProperties(file); ComponentUtil.register(systemProps, "systemProperties");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 28.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ErrorToWarnRewritePolicyTest.java
.setLoggerName("test.logger") .setLevel(Level.ERROR) .setMessage(new SimpleMessage("test message")) .setLoggerFqcn("test.class") .setThreadName("test-thread") .build(); LogEvent result = policy.rewrite(event); assertEquals(Level.WARN, result.getLevel()); assertEquals("test.logger", result.getLoggerName());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/filter/CorsFilterTest.java
assertEquals(origin, handler.getLastOrigin()); } } // Test constructor @Test public void test_constructor() { CorsFilter filter = new CorsFilter(); assertNotNull(filter); } // Test OPTIONS constant @Test public void test_optionsConstant() { assertEquals("OPTIONS", CorsFilter.OPTIONS); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 22.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/BooleanFunctionTest.java
package org.codelibs.fess.util; import org.codelibs.fess.unit.UnitFessTestCase; import org.junit.jupiter.api.Test; public class BooleanFunctionTest extends UnitFessTestCase { @Test public void test_apply_string() { BooleanFunction<String> isNotEmpty = s -> s != null && !s.isEmpty(); assertTrue(isNotEmpty.apply("test")); assertTrue(isNotEmpty.apply("a")); assertFalse(isNotEmpty.apply(""));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 2.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
import org.junit.jupiter.api.Test; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * Test class for SmbInfoAllocation */ class SmbInfoAllocationTest { private SmbInfoAllocation smbInfoAllocation; @BeforeEach void setUp() { smbInfoAllocation = new SmbInfoAllocation(); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/LlmChatResponseTest.java
} @Test public void test_setContent() { final LlmChatResponse response = new LlmChatResponse(); response.setContent("Test content"); assertEquals("Test content", response.getContent()); response.setContent("Updated content"); assertEquals("Updated content", response.getContent()); } @Test public void test_setFinishReason() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 5.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
} @Test @DisplayName("Test constructor with FILE_INTERNAL_INFO level") void testConstructorWithFileInternalInfo() { response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_INTERNAL_INFO); assertNotNull(response); assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, response.getSubCommand()); } @Test @DisplayName("Test getInfo when info is null")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/interval/FessIntervalControllerTest.java
} /** * Test that FessIntervalController can be instantiated correctly */ @Test public void test_constructor() { FessIntervalController controller = new FessIntervalController(); assertNotNull(controller); } /** * Test getter and setter for delayMillisAfterProcessing */ @Test public void test_delayMillisAfterProcessing() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 6.2K bytes - Click Count (0)