- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 351 for DisplayName (0.07 sec)
-
src/test/java/jcifs/smb/NtStatusTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** * Test class for NtStatus constants */ @DisplayName("NtStatus Tests") class NtStatusTest { @Test @DisplayName("Should define well-known NT status constants") void testWellKnownStatusConstants() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/ACETest.java
* Achieves 100% coverage of the ACE interface contract. */ @DisplayName("ACE Interface Comprehensive Tests") class ACETest { @Nested @DisplayName("File Access Constants Tests") class FileAccessConstantsTests { @Test @DisplayName("Should have correct values for file access constants") void shouldHaveCorrectFileAccessConstants() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
@DisplayName("writeInt2 should handle various values") void testWriteInt2Various(int value) { byte[] dst = new byte[4]; SessionServicePacket.writeInt2(value, dst, 0); assertEquals((byte) ((value >> 8) & 0xFF), dst[0]); assertEquals((byte) (value & 0xFF), dst[1]); } @Test @DisplayName("writeInt2 with offset should write at correct position")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
} /** * Nested class for testing buffer operations */ @Nested @DisplayName("Buffer Operations Tests") class BufferOperationsTests { @Test @DisplayName("Test write operations with empty buffer") public void testWriteOperationsWithEmptyBuffer() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
/* ------------------------------------------------------------------ */ @Test @DisplayName("Construct with a valid configuration - should not throw") void testConstructionWithValidConfiguration() { assertDoesNotThrow(() -> new SmbComSeekResponse(mockConfig)); } @Test @DisplayName("getOffset before any read - should return zero") void testOffsetInitiallyZero() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
assertEquals(TEST_ATTRIBUTES, info.getAttributes()); } @Test @DisplayName("Test getFileInformationLevel returns correct value") void testGetFileInformationLevel() { assertEquals(FileInformation.FILE_BASIC_INFO, fileBasicInfo.getFileInformationLevel()); } @Test @DisplayName("Test getSize always returns 0") void testGetSize() { // Default instance
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
@DisplayName("Should handle various NTLM flags") void testVariousNTLMFlags(int flag) { // When Type1Message type1 = new Type1Message(mockContext, flag, null, null); // Then assertTrue((type1.getFlags() & flag) != 0); } @Test @DisplayName("Should include NTLMSSP signature")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
} @Test @DisplayName("Test constructor with root path") void testConstructorWithRootPath() { // Test root path trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\", "*.*", 0x16, 15, 4096); assertEquals("\\", trans2FindFirst2.getPath()); } @ParameterizedTest @DisplayName("Test search attributes masking")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
} @Test @DisplayName("Constructor: invalid mode throws IllegalArgumentException") void constructor_invalidMode_throws() { SmbFile file = mock(SmbFile.class); assertThrows(IllegalArgumentException.class, () -> new SmbRandomAccessFile(file, "badmode")); } @Test @DisplayName("open(): acquires and releases handle (no I/O)")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
mockConfig = mock(Configuration.class); notification = new Smb2OplockBreakNotification(mockConfig); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create notification with configuration") void testConstructorWithConfiguration() { Smb2OplockBreakNotification testNotification = new Smb2OplockBreakNotification(mockConfig);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0)