- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 384 for display_name (0.06 seconds)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
class SrvCopychunkTest { private static final int EXPECTED_SIZE = 24; private static final int RESERVED_BYTES = 4; @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create instance with valid parameters") void testConstructorWithValidParameters() { // Given long sourceOffset = 1024L;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.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; import jcifs.BaseTest; /** * Test class for Smb2TransformHeader functionality */ @DisplayName("Smb2TransformHeader Tests") class Smb2TransformHeaderTest extends BaseTest {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
} @Nested @DisplayName("Interface Implementation Tests") class InterfaceImplementationTests { @Test @DisplayName("Should implement AllocInfo interface") void shouldImplementAllocInfo() { assertTrue(AllocInfo.class.isAssignableFrom(FileFsFullSizeInformation.class)); } @Test @DisplayName("Should implement FileSystemInformation interface")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
} @Nested @DisplayName("Header Constants") class HeaderConstants { @Test @DisplayName("SMB2 header length should be 64 bytes") void testSmb2HeaderLength() { assertEquals(64, Smb2Constants.SMB2_HEADER_LENGTH, "SMB2 header must be exactly 64 bytes"); } } @Nested @DisplayName("Negotiation Constants") class NegotiationConstants {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
} } @Nested @DisplayName("Constants Tests") class ConstantsTests { @Test @DisplayName("Should have correct SMB2_READFLAG_READ_UNBUFFERED value") void testReadUnbufferedFlag() { assertEquals((byte) 0x1, Smb2ReadRequest.SMB2_READFLAG_READ_UNBUFFERED); } @Test @DisplayName("Should have correct SMB2_CHANNEL_NONE value")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.8K bytes - Click Count (0) -
src/test/java/jcifs/context/BaseContextTest.java
} @Test @DisplayName("getConfig should return the provided configuration") void testGetConfig() { // When Configuration config = context.getConfig(); // Then assertSame(mockConfig, config, "Should return the same configuration instance"); } @Test @DisplayName("getDfs should return initialized DFS resolver")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; import java.util.stream.Stream; 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.Arguments; import org.junit.jupiter.params.provider.MethodSource;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
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/smb1/trans/TransTransactNamedPipeTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.Configuration; import jcifs.internal.util.SMBUtil; /** * Unit tests for TransTransactNamedPipe class */ @DisplayName("TransTransactNamedPipe Tests") class TransTransactNamedPipeTest { @MockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
@Test @DisplayName("isCancel should always return false") void testIsCancel() { assertFalse(testRequest.isCancel()); } @Test @DisplayName("getCreditCost should return 1 by default") void testGetCreditCost() { assertEquals(1, testRequest.getCreditCost()); } @Test @DisplayName("setRequestCredits should set credit value")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0)