- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 123 for A12345 (0.03 sec)
-
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
} @Test void testConstructor() { assertNotNull(response); // Verify that the outputBuffer is stored properly byte[] testData = new byte[] { 1, 2, 3, 4, 5 }; TransCallNamedPipeResponse testResponse = new TransCallNamedPipeResponse(mockConfig, testData); assertNotNull(testResponse); } @Test void testWriteSetupWireFormat() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java
assertTrue(searchRenderData.getPageNumberList().isEmpty()); // Test with populated list List<String> pageNumbers = Arrays.asList("1", "2", "3", "4", "5"); searchRenderData.setPageNumberList(pageNumbers); assertEquals(pageNumbers, searchRenderData.getPageNumberList()); assertEquals(5, searchRenderData.getPageNumberList().size());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 23.3K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/MessageTest.java
assertArrayEquals(payload1, message.getRawPayload(), "getRawPayload should return the set payload"); // Set another payload and verify byte[] payload2 = new byte[] { 1, 2, 3, 4, 5 }; message.setRawPayload(payload2); assertArrayEquals(payload2, message.getRawPayload(), "getRawPayload should return the updated payload"); // Set null payload and verify
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
return opnumValue; } @Override public void encode_in(NdrBuffer buf) throws NdrException { // Simulate encoding some data buf.enc_ndr_long(12345); } @Override public void decode_out(NdrBuffer buf) throws NdrException { // Simulate decoding some data buf.dec_ndr_long(); } } @BeforeEach
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
// Test case: close() with non-zero retval from MsrpcSamrCloseHandle, should throw SmbException String server = "testServer"; int access = 123; int errorRetval = 12345; // Simulate an error code // Setup for successful constructor doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class)); // Setup for close to return an error
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
assertEquals(string.substring(5), readFully(reader)); assertFullyRead(reader); } public void testIllegalArguments() throws IOException { CharSequenceReader reader = new CharSequenceReader("12345"); char[] buf = new char[10]; assertThrows(IndexOutOfBoundsException.class, () -> reader.read(buf, 0, 11)); assertThrows(IndexOutOfBoundsException.class, () -> reader.read(buf, 10, 1));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
MockitoAnnotations.openMocks(this); } @Test @DisplayName("Test constructor with non-zero asyncId sets async flag") void testConstructorWithNonZeroAsyncId() { // Given long mid = 12345L; long asyncId = 67890L; // When Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, mid, asyncId); // Then assertEquals(SMB2_CANCEL, request.getCommand());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
assertEquals(0, hash.length); } // Test that changing lmCompatibility at runtime doesn't affect already loaded static value @ParameterizedTest @ValueSource(strings = { "0", "1", "2", "3", "4", "5" }) void testLmCompatibilityStaticInitialization(String lmCompatibility) { // Attempt to change the property (won't affect static final LM_COMPATIBILITY)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
when(mockEntry.createTime()).thenReturn(100L); when(mockEntry.lastModified()).thenReturn(200L); when(mockEntry.lastAccess()).thenReturn(300L); when(mockEntry.length()).thenReturn(12345L); // Act: call methods, some multiple times String name = mockEntry.getName(); int type1 = mockEntry.getType();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
private Configuration mockConfig; private SmbComSeekResponse response; @BeforeEach void setUp() { // Setup mock configuration to avoid NPE when(mockConfig.getPid()).thenReturn(12345); response = new SmbComSeekResponse(mockConfig); } /* ------------------------------------------------------------------ */ /* 1. Construction and basic getters */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0)