- Sort Score
- Result 10 results
- Languages All
Results 1731 - 1740 of 4,151 for text (0.01 sec)
-
src/test/java/jcifs/SmbTreeTest.java
private SmbTree mockWrappedTree; /** * Setup method executed before each test. */ @BeforeEach void setUp() { // Common setup if needed } /** * Test for unwrap() method with matching type. * Verifies that unwrap returns the correct instance when the type matches. */ @Test void testUnwrap_withMatchingType() { // Create a custom SmbTree type for testingRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
response = new NetServerEnum2Response(mockConfig); } @Test @DisplayName("Test constructor with configuration") void testConstructor() { assertNotNull(response); // Response is successfully created with configuration assertTrue(response instanceof NetServerEnum2Response); } @Test @DisplayName("Test writeSetupWireFormat returns 0") void testWriteSetupWireFormat() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
} @Test @DisplayName("Test with maximum and minimum values") void testWithBoundaryValues() { // Test with minimum values trans2SetFileInfo = new Trans2SetFileInformation(config, 0, 0, 0L, 0L, 0L); assertNotNull(trans2SetFileInfo); // Test with maximum valuesRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/WebApiManagerTest.java
assertFalse(manager.matches(request)); } public void test_matches_withNullRequest() { // Test null request handling WebApiManager manager = new TestWebApiManager("/api"); assertFalse(manager.matches(null)); } public void test_matches_withEmptyPath() { // Test empty path matching WebApiManager manager = new TestWebApiManager("");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java
} public void test_convertPhraseQuery_singleTerm_defaultField_bool() { // Test with single term in default field PhraseQuery.Builder builder = new PhraseQuery.Builder(); builder.add(new Term(Constants.DEFAULT_FIELD, "test")); PhraseQuery phraseQuery = builder.build(); QueryContext context = new QueryContext("test", false);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/BaseTest.java
import org.mockito.junit.jupiter.MockitoExtension; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Base test class providing common test infrastructure and utilities. * All test classes should extend this to ensure consistent test setup. */ @ExtendWith(MockitoExtension.class) public abstract class BaseTest { protected final Logger logger = LoggerFactory.getLogger(getClass());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreTest.java
} @Override public void stop() { // Do nothing } }; // Create test data DataConfig config = new DataConfig(); config.setName("test-config"); DataStoreParams params = new DataStoreParams(); params.put("key1", "value1"); params.put("key2", "value2");Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacUnicodeStringTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; import org.junit.jupiter.api.Test; /** * Tests for the {@link PacUnicodeString} class. */ class PacUnicodeStringTest { /** * Tests the constructor and getter methods. */ @Test void testConstructorAndGetters() { // Create a new instance with some test data short length = 10; short maxLength = 20;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java
// Test expiry setter with zero value (should not change) public void test_expiry_zeroValue() { long originalExpiry = purgeThumbnailJob.getExpiry(); PurgeThumbnailJob result = purgeThumbnailJob.expiry(0); // Test method chaining assertSame(purgeThumbnailJob, result); // Test value was not changed assertEquals(originalExpiry, purgeThumbnailJob.getExpiry()); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.2K bytes - Viewed (0) -
cmd/erasure_test.go
} if err != nil && !test.shouldFail { t.Errorf("Test %d: test should pass but it failed: %v", i, err) } decoded := encoded if !test.shouldFail { if test.reconstructParity { for j := range decoded { if decoded[j] == nil { t.Errorf("Test %d: failed to reconstruct shard %d", i, j) } } } else { for j := range decoded[:test.dataBlocks] {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 4.8K bytes - Viewed (0)