- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 2,390 for when (0.02 sec)
-
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
when(ctx.getConfig()).thenReturn(config); when(config.getCapabilities()).thenReturn(0); when(config.getFlags2()).thenReturn(0); when(config.getMaxMpxCount()).thenReturn(1); when(config.getSendBufferSize()).thenReturn(4096); when(config.getReceiveBufferSize()).thenReturn(4096); when(config.getTransactionBufferSize()).thenReturn(4096);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
SmbTreeHandleImpl tree; private void stubValidTree(long treeId, boolean connected, boolean smb2) { lenient().when(tree.acquire()).thenReturn(tree); lenient().when(tree.getTreeId()).thenReturn(treeId); lenient().when(tree.isConnected()).thenReturn(connected); lenient().when(tree.isSMB2()).thenReturn(smb2); } @Test @DisplayName("Constructor with null tree throws NPE (byte[] fid variant)")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
@Test @DisplayName("Should use special name when no expanded names") void testFromReferralWithSpecialName() { when(mockReferral.getTtl()).thenReturn(300); when(mockReferral.getRFlags()).thenReturn(Trans2GetDfsReferralResponse.FLAGS_NAME_LIST_REFERRAL); when(mockReferral.getExpandedNames()).thenReturn(new String[0]); when(mockReferral.getSpecialName()).thenReturn("\\SPECIAL");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt
) { } /** * Invoked when a result is served from the cache. The Response provided is the top level * Response and normal event sequences will not be received. * * This event will only be received when a Cache is configured for the client. */ open fun cacheHit( call: Call, response: Response, ) { } /**Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
} } @BeforeEach void setUp() { lenient().when(fileEntry.getName()).thenReturn("test"); } @Test @DisplayName("Iterator without filter - simple case") void iteratorWithoutFilter() { // Setup: constructor calls advance() once when(delegate.hasNext()).thenReturn(true, false); when(delegate.next()).thenReturn(fileEntry);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
cmd/batch-replicate_test.go
# credentials: # accessKey: minioadmin # Required # secretKey: minioadmin # Required # # sessionToken: SESSION-TOKEN # Optional only available when rotating credentials are used snowball: # automatically activated if the source is local disable: true # optionally turn-off snowball archive transfer # batch: 100 # upto this many objects per archiveRegistered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 7.9K bytes - Viewed (0) -
docs/en/docs/management-tasks.md
## Be Nice First of all, be nice. 😊 You probably are super nice if you were added to the team, but it's worth mentioning it. 🤓 ### When Things are Difficult When things are great, everything is easier, so that doesn't need much instructions. But when things are difficult, here are some guidelines.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
when(mockHandle.getFileId()).thenReturn(new byte[16]); when(mockTree.getReceiveBufferSize()).thenReturn(0x10000); when(mockTree.getMaximumBufferSize()).thenReturn(0x10000); when(mockTree.getConfig()).thenReturn(mockConfig); when(mockTree.isConnected()).thenReturn(true); when(mockTree.getTreeId()).thenReturn(1L);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/RequestTest.java
// Test case for isCancel method when it returns true when(mockRequest.isCancel()).thenReturn(true); assertTrue(mockRequest.isCancel(), "isCancel should return true when mocked to do so."); verify(mockRequest, times(1)).isCancel(); } @Test void testIsCancelFalse() { // Test case for isCancel method when it returns false when(mockRequest.isCancel()).thenReturn(false);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
tests/count_test.go
t.Errorf("error should raise when using preload without schema") } var count13 int64 if err := DB.Model(User{}). Where("name in ?", []string{user1.Name, user2.Name, user3.Name}). Preload("Toys", func(db *gorm.DB) *gorm.DB { return db.Table("toys").Select("name") }).Count(&count13).Error; err != nil { t.Errorf("no error should raise when using count with preload, but got %v", err) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 6.9K bytes - Viewed (0)