- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 292 for display_name (0.11 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
} @Test @DisplayName("Test readBytesWireFormat returns 0") void testReadBytesWireFormat() { request = new Smb2QueryDirectoryRequest(mockConfig); byte[] buffer = new byte[100]; int bytesRead = request.readBytesWireFormat(buffer, 0); assertEquals(0, bytesRead); } @Test @DisplayName("Test size calculation with different buffer sizes")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
/** * Test class for SmbComNtCancel * * Tests the SMB1 NT Cancel command implementation */ @DisplayName("SmbComNtCancel Tests") class SmbComNtCancelTest { private static final byte SMB_COM_NT_CANCEL = (byte) 0xA4; @Nested @DisplayName("Constructor Tests") class ConstructorTests { private Configuration mockConfig; @BeforeEachCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/UUIDTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.junit.jupiter.MockitoExtension; @ExtendWith(MockitoExtension.class) @DisplayName("UUID Tests") class UUIDTest { // Test data for a valid UUID stringCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
private static final int CHUNK_SIZE = 24; @Mock private SrvCopychunk mockChunk; @BeforeEach void setUp() { } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create instance with source key and single chunk") void testConstructorWithSingleChunk() { // GivenCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDTest.java
s.sub_authority = Arrays.copyOf(subs, subs.length); return s; } @Nested @DisplayName("Basic Constructor and Utility Tests") class BasicTests { @Test @DisplayName("Textual constructor happy path and toString consistency") void testTextualConstructorAndToString() throws Exception { // Arrange
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/AllocInfoTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; 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.ValueSource; import org.mockito.Mock;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
circuitBreaker = new SimpleCircuitBreaker("test", 3, 2, 100); } @Test @DisplayName("Test initial state is CLOSED") void testInitialState() { assertEquals(SimpleCircuitBreaker.State.CLOSED, circuitBreaker.getState()); assertTrue(circuitBreaker.allowsRequests()); } @Test @DisplayName("Test successful calls in CLOSED state") void testSuccessfulCalls() throws Exception {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
} @Test @DisplayName("Constructor with null file ID should accept null") void testConstructorWithNullFileId() { // Should not throw exception Smb2CloseRequest requestWithNull = new Smb2CloseRequest(mockConfig, null, testFileName); assertNotNull(requestWithNull); } @Test @DisplayName("Constructor with null fileName should accept null")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.mockito.Mockito.mock; 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; /** * Test class for SmbNegotiation */ class SmbNegotiationTest { @MockCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbNegotiationRequestTest.java
} @Test @DisplayName("Test interface can be mocked") void testInterfaceCanBeMocked() { // Given SmbNegotiationRequest mockRequest = mock(SmbNegotiationRequest.class); // Then assertNotNull(mockRequest, "Mock should be created successfully"); } @Test @DisplayName("Test default behavior of mock without stubbing")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0)