- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 228 for behaviors (1.04 sec)
-
src/test/java/jcifs/smb1/UniAddressTest.java
import org.mockito.junit.jupiter.MockitoExtension; import jcifs.smb1.netbios.NbtAddress; /** * Unit tests for {@link UniAddress}. The focus of these tests is on * the public API of {@code UniAddress} and its behaviour when provided * with different kinds of inputs. Many static helpers in {@code * UniAddress} are network dependent and therefore not exercised here – they * would require complex stubbing of static methods. Instead the testsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
// After release, the buffer should be null assertNull(response.releaseBuffer()); } @Test @DisplayName("Test hasMoreElements inherited behavior") void testHasMoreElements() { // Initially should have more elements if error code is 0 assertTrue(response.hasMoreElements());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5); HMACT64 originalHmac = new HMACT64(TEST_KEY); // Mock the clone behavior of the internal MessageDigest MessageDigest clonedMd5 = mock(MessageDigest.class); when(mockMd5.clone()).thenReturn(clonedMd5); HMACT64 clonedHmac = (HMACT64) originalHmac.clone();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
} @Override public String toString() { return "Entry(" + name + ")"; } }; } // Controllable concrete subclass to drive behavior deterministically private static class TestIterator extends DirFileEntryEnumIteratorBase { private static FileEntry staticInitial; private static List<FileEntry[]> staticPages;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
} } /** * Test that InputStream is properly closed even when exception occurs. * Verifies try-with-resources cleanup behavior. */ @Test public void testResourceLoading_exceptionHandling() { try {Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/UserService.java
/** * Default constructor for UserService. */ public UserService() { // Default constructor } /** User behavior for database operations */ @Resource protected UserBhv userBhv; /** Login assistance for authentication operations */ @Resource protected FessLoginAssist fessLoginAssist;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Mon Nov 24 02:07:40 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
// Note: When encoding time 0, SMBUtil.writeTime writes 0 directly, // but SMBUtil.readTime interprets 0 as Jan 1, 1601 in Unix time (-11644473600000) // This is the expected behavior for Windows FILETIME long expectedTime = -11644473600000L; // Jan 1, 1601 in Unix time assertEquals(expectedTime, decoded.getCreateTime()); assertEquals(expectedTime, decoded.getLastAccessTime());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/internal/smb1/com/SmbComSeekResponseTest.java
assertEquals(4, readLen, "Byte count returned should be 4"); } /* ------------------------------------------------------------------ */ /* 3. Writing methods - trivial behaviour */ /* ------------------------------------------------------------------ */ @Test @DisplayName("writeParameterWordsWireFormat returns zero bytes written")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/ExecJob.java
* This class provides common functionality for job execution including process management, * logging configuration, JVM options, and timeout handling. * * <p>Subclasses must implement the abstract methods to define specific job behavior * and execution type identification.</p> * * @version 1.0 */ public abstract class ExecJob { /** Logger instance for this class */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 14.2K bytes - Viewed (0)