- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 106 for testConstructor2 (0.08 sec)
-
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
// Mock configuration setup when(mockConfig.getTransactionBufferSize()).thenReturn(65535); } @Test @DisplayName("Test constructor with domain and server types") void testConstructor() { String domain = "WORKGROUP"; int serverTypes = NetServerEnum2.SV_TYPE_ALL; netServerEnum2 = new NetServerEnum2(realConfig, domain, serverTypes); assertNotNull(netServerEnum2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
fileBothDirectoryInfoNonUnicode = new FileBothDirectoryInfo(mockConfig, false); } @Test @DisplayName("Test constructor initializes fields correctly") void testConstructor() { assertNotNull(fileBothDirectoryInfo); assertNotNull(fileBothDirectoryInfoNonUnicode); } @Test @DisplayName("Test getName returns filename")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
mockConfig = new BaseConfiguration(false); response = new NetShareEnumResponse(mockConfig); } @Test @DisplayName("Test constructor with configuration") void testConstructor() { assertNotNull(response); // Response is successfully created with configuration assertTrue(response instanceof NetShareEnumResponse); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
} @Test void testReadNameTrnId() { byte[] src = { (byte) 0xAB, (byte) 0xCD }; assertEquals(0xABCD, NameServicePacket.readNameTrnId(src, 0)); } @Test void testConstructor() { assertTrue(packet.isRecurDesired); assertTrue(packet.isBroadcast); assertEquals(1, packet.questionCount); assertEquals(NameServicePacket.IN, packet.questionClass);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
when(mockConfig.getMaximumBufferSize()).thenReturn(65536); } @Test @DisplayName("Test constructor initializes with config and expectInfoClass") void testConstructor() { byte expectInfoClass = Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO; response = new Smb2QueryDirectoryResponse(mockConfig, expectInfoClass); assertNotNull(response);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
} @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create request with all parameters") void testConstructor() { byte[] buffer = new byte[1024]; Smb2ReadRequest readRequest = new Smb2ReadRequest(mockConfig, testFileId, buffer, 100); assertNotNull(readRequest);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
IllegalAccessException, InvocationTargetException, FactoryMethodReturnsNullException { if (!Modifier.isAbstract(cls.getModifiers())) { nullPointerTester.testConstructors(cls, visibility); } nullPointerTester.testStaticMethods(cls, visibility); if (hasInstanceMethodToTestNulls(cls, visibility)) { Object instance = instantiate(cls); if (instance != null) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
response = new Smb2ReadResponse(mockConfig, outputBuffer, outputBufferOffset); } @Test @DisplayName("Should create response with configuration and output buffer") void testConstructor() { // Given byte[] buffer = new byte[512]; int offset = 10; // When Smb2ReadResponse resp = new Smb2ReadResponse(mockConfig, buffer, offset); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
} @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create request with configuration and file ID") void testConstructor() { Smb2WriteRequest writeRequest = new Smb2WriteRequest(mockConfig, testFileId); assertNotNull(writeRequest); assertTrue(writeRequest instanceof ServerMessageBlock2Request);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
} @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create request with all parameters") void testConstructor() { Smb2Lock[] locks = new Smb2Lock[] { new Smb2Lock(0L, 1024L, Smb2Lock.SMB2_LOCKFLAG_SHARED_LOCK) }; Smb2LockRequest lockRequest = new Smb2LockRequest(mockConfig, testFileId, locks);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0)