- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 384 for displayName (0.06 seconds)
-
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
} @Test @DisplayName("Should not throw when preparing with null next response") void testPrepareWithNullNext() { assertDoesNotThrow(() -> response.prepare(mockRequest)); } } @Nested @DisplayName("State Management Tests") class StateManagementTests { @Test @DisplayName("Should reset state correctly")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; /** * Test class for Smb3KeyDerivation. * Tests the SMB3 SP800-108 Counter Mode Key Derivation implementation. */ @DisplayName("Smb3KeyDerivation Tests") class Smb3KeyDerivationTest {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/https/HandlerTest.java
@DisplayName("Should extend jcifs.smb1.http.Handler") void testInheritance() { // Then assertTrue(handler instanceof jcifs.smb1.http.Handler); assertTrue(handler instanceof URLStreamHandler); } } @Nested @DisplayName("Default Port Tests") class DefaultPortTests { @Test @DisplayName("Should return HTTPS port 443")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
*/ @Test @DisplayName("Encode with null buffer throws NullPointerException") public void testEncodeNullBuffer() throws NdrException { NdrHyper hyper = new NdrHyper(5L); assertThrows(NullPointerException.class, () -> hyper.encode(null)); } /** * Ensure decode throws NPE when passed a null buffer. */ @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/SmbSessionTest.java
import static org.mockito.Mockito.when; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; @DisplayName("SmbSession Interface Contract Tests") class SmbSessionTest { @Nested @DisplayName("AutoCloseable Contract Tests") class AutoCloseableContractTest { @Test @DisplayName("Should implement AutoCloseable interface")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
} @Test @DisplayName("Test constructor with FILE_INTERNAL_INFO level") void testConstructorWithFileInternalInfo() { response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_INTERNAL_INFO); assertNotNull(response); assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, response.getSubCommand()); } @Test @DisplayName("Test getInfo when info is null")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/EmptyIteratorTest.java
import java.util.Iterator; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.RepeatedTest; import org.junit.jupiter.api.Test; /** * Comprehensive test suite for EmptyIterator class. * Tests the implementation of CloseableIterator for empty collections. */ @DisplayName("EmptyIterator Tests") class EmptyIteratorTest extends BaseTest {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
} @Test @DisplayName("Should create lock with negative values") void testConstructorWithNegativeValues() { lock = new Smb2Lock(-1L, -1L, -1); assertNotNull(lock); } } @Nested @DisplayName("Size Tests") class SizeTests { @Test @DisplayName("Should return constant size of 24 bytes")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import java.util.stream.Stream; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
// Simple test implementation - not used in these tests return 0; } } @Nested @DisplayName("Interface Contract Tests") class InterfaceContractTests { @Test @DisplayName("Should implement FileSystemInformation interface") void shouldImplementFileSystemInformation() { // Verify that AllocInfo extends FileSystemInformationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0)