- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 337 for Given (0.02 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
/** * Test writeParameterWordsWireFormat returns 0 */ @Test @DisplayName("Test writeParameterWordsWireFormat always returns 0") public void testWriteParameterWordsWireFormat() { // Given smbComTreeDisconnect = new SmbComTreeDisconnect(config); byte[] dst = new byte[100]; int dstIndex = 0; // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
request = new Smb2ChangeNotifyRequest(mockConfig, testFileId); } @Test @DisplayName("Should create request with configuration and file ID") void testConstructor() { // Given Configuration config = mock(Configuration.class); when(config.getNotifyBufferSize()).thenReturn(8192); // When Smb2ChangeNotifyRequest req = new Smb2ChangeNotifyRequest(config, testFileId);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
response = new Smb2FlushResponse(mockConfig); } @Test @DisplayName("Constructor should initialize with Configuration") void testConstructor() { // Given & When Smb2FlushResponse flushResponse = new Smb2FlushResponse(mockConfig); // Then assertNotNull(flushResponse); // Cannot test getConfig() as it's protected } @Nested
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
response = new Smb2TreeDisconnectResponse(mockConfig); } @Test @DisplayName("Should create response with configuration") void testConstructorWithConfiguration() { // Given & When Smb2TreeDisconnectResponse resp = new Smb2TreeDisconnectResponse(mockConfig); // Then assertNotNull(resp); assertTrue(resp instanceof ServerMessageBlock2Response);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/DataService.java
/** * Stores the given access result. * * @param accessResult the access result to store */ void store(RESULT accessResult); /** * Updates the given access result. * * @param accessResult the access result to update */ void update(RESULT accessResult); /** * Updates the given list of access results. *Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/DfsReferralDataTest.java
mockReferralData.next(); mockReferralData.getLink(); }); } @Test @DisplayName("Should get server") void testGetServer() { // Given String server = "testserver"; when(mockReferralData.getServer()).thenReturn(server); // When String result = mockReferralData.getServer(); // Then
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
TestAllocInfo allocInfo = new TestAllocInfo(Long.MIN_VALUE, Long.MIN_VALUE); // When & Then assertEquals(Long.MIN_VALUE, allocInfo.getCapacity()); assertEquals(Long.MIN_VALUE, allocInfo.getFree()); } @Test @DisplayName("Should calculate used space correctly") void shouldCalculateUsedSpaceCorrectly() { // Given
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
assertEquals(DialectVersion.SMB300, context.getDialect(), "Should support SMB 3.0 dialect"); } @Test @DisplayName("Should securely wipe encryption keys") void testSecureWipeKeys() { // Given byte[] originalEncKey = Arrays.copyOf(testEncryptionKey, testEncryptionKey.length); byte[] originalDecKey = Arrays.copyOf(testDecryptionKey, testDecryptionKey.length);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/AddressTest.java
@Mock private Address mockAddress; @Test @DisplayName("Address interface should define correct method signatures") void testInterfaceContract() { // Given Address address = mockAddress; // When & Then - verify interface methods exist and can be called assertDoesNotThrow(() -> { address.getHostName(); address.getHostAddress();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
new PropertyConfiguration(null); }); } @Test @DisplayName("Should handle empty properties") void testEmptyProperties() throws CIFSException { // Given Properties emptyProps = new Properties(); // When PropertyConfiguration emptyConfig = new PropertyConfiguration(emptyProps); // Then assertNotNull(emptyConfig);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0)