- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 120 for somme (1.05 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java
final StringBuilder largeContent = new StringBuilder(); for (int i = 0; i < 10000; i++) { largeContent.append("Line ").append(i).append(" with some content\n"); } final InputStream in = new ByteArrayInputStream(largeContent.toString().getBytes()); final ExtractData result = textExtractor.getText(in, null); assertNotNull(result);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 8.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalControllerTest.java
controller.delayAfterProcessing(); final long elapsed = (System.nanoTime() - start) / 1000000; assertTrue("Expected at least 100ms delay", elapsed >= 90); // Allow some tolerance } /** * Test delayBeforeProcessing with zero delay */ public void test_delayBeforeProcessing_zeroDelay() {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:58:39 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
import jcifs.SmbConstants; /** * Basic unit tests for {@link SmbConstants}. The interface only * provides {@code static final} constants, so the test suite focuses on * value correctness, bit‑mask logic, and some derived properties. * * <p>Mockito is exercised in a dummy scenario to satisfy the * request for an interaction test. The mock represents a * {@code SmbTransport} collaborator and is used only forRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer.length, "Buffer should have correct size"); // Simulate some work buffer[0] = (byte) i; // Release buffer BufferCache.releaseBuffer(buffer); successCount.incrementAndGet();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
// Create a buffer with sample data byte[] buffer = new byte[100]; // Fill with some test data for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) (i % 256); } int result = resp.readDataWireFormat(buffer, 0, 40);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
if (index % 3 == 0) { // Some threads wipe password auth.secureWipePassword(); } else if (index % 3 == 1) { // Some threads close authenticator auth.close(); } else { // Some threads try to read password try {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
@Mock private Properties mockProperties; private PropertyConfiguration config; @BeforeEach void setUp() throws CIFSException { Properties props = new Properties(); // Set some default test properties props.setProperty("jcifs.smb.client.username", "testuser"); props.setProperty("jcifs.smb.client.password", "testpass"); props.setProperty("jcifs.smb.client.domain", "testdomain");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
@Mock CIFSContext mockContext; /** * Simple in-test implementation of CredentialsInternal to exercise the API surface. * It validates inputs, records calls, and delegates some behavior to collaborators * so we can verify interactions. */ static class TestCredentials implements CredentialsInternal { private final String domain; private final boolean anonymous;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
*/ @Test public void testTreesCollectionCleanup() { // Given SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport); // Add some trees SmbTreeImpl tree1 = session.getSmbTree("share1", null); SmbTreeImpl tree2 = session.getSmbTree("share2", null); assertNotNull(tree1); assertNotNull(tree2);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
MockitoAnnotations.openMocks(this); // Using concrete implementation for integration testing // Note: DfsReferralDataImpl default constructor creates an object with null server/share/path // Some methods like fixupHost/fixupDomain require these to be set via combine() or fromReferral() concreteImplementation = createInitializedDfsReferralDataImpl(); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0)