- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 384 for displayName (0.07 seconds)
-
src/test/java/jcifs/dcerpc/rpcTest.java
*/ @ExtendWith(MockitoExtension.class) @DisplayName("RPC Data Structures Test Suite") class rpcTest { @Mock private NdrBuffer mockNdrBuffer; @Mock private NdrBuffer mockDeferredBuffer; @Nested @DisplayName("UUID Tests") class UuidTests { @Test @DisplayName("Should encode UUID correctly") void testUuidTEncode() throws NdrException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/TransportExceptionTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import jcifs.CIFSException; /** * Test class for TransportException */ public class TransportExceptionTest { @Test @DisplayName("Test default constructor creates exception with null message") public void testDefaultConstructor() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java
@DisplayName("Test split returns null when no following message") void testSplitWithNoFollowingMessage() { // Given when(request.split()).thenReturn(null); // When CommonServerMessageBlockRequest result = request.split(); // Then assertNull(result); verify(request, times(1)).split(); } @Test @DisplayName("Test size returns positive message size")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
handle = new TestDcerpcHandle(mockContext, mockBinding); } @Nested @DisplayName("Binding Parsing Tests") class BindingParsingTests { @ParameterizedTest @DisplayName("Should parse valid binding URLs correctly") @CsvSource({ "'ncacn_np:\\\\server[endpoint=\\pipe\\srvsvc]', ncacn_np, server, '\\pipe\\srvsvc'",
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.3K bytes - Click Count (0) -
src/test/java/jcifs/util/StringsTest.java
* Tests all string encoding/decoding operations and utility methods. */ @DisplayName("Strings Utility Tests") class StringsTest { private static final String TEST_STRING = "Hello World"; private static final String UNICODE_STRING = "Hello 世界 🌍"; private static final String ASCII_STRING = "ASCII Test"; @Nested @DisplayName("Basic Encoding Methods") class BasicEncodingTests { @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/jcifs/util/InputValidatorTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.CsvSource; import org.junit.jupiter.params.provider.ValueSource; /** * Unit tests for InputValidator */ public class InputValidatorTest { @Test @DisplayName("Test valid buffer size validation")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
} @Nested @DisplayName("Constructor input validation") class CtorValidation { @Test @DisplayName("null handle throws NPE") void nullHandle() { assertThrows(NullPointerException.class, () -> new SmbPipeInputStream(null, tree)); } @Test @DisplayName("null tree throws NPE") void nullTree() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
} @Test @DisplayName("writeParametersWireFormat throws on null path") void testNullPath() { Trans2GetDfsReferral cmd = new Trans2GetDfsReferral(null); byte[] buffer = new byte[10]; assertThrows(NullPointerException.class, () -> cmd.writeParametersWireFormat(buffer, 0)); } @Nested @DisplayName("read methods are no‑ops") class ReadMethods {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
} @Nested @DisplayName("Interface Implementation Tests") class InterfaceImplementationTests { @Test @DisplayName("Should implement AllocInfo interface") void shouldImplementAllocInfo() { assertTrue(AllocInfo.class.isAssignableFrom(FileFsSizeInformation.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 - 25.9K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
} } @Nested @DisplayName("Result Management Tests") class ResultManagementTests { @Test @DisplayName("getResult should return null for success (result=0)") void testGetResultSuccess() { message.result = 0; assertNull(message.getResult()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 18.3K bytes - Click Count (0)