- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 86 for ab2345 (0.03 sec)
-
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) -
android/guava-tests/test/com/google/common/base/ConverterTest.java
} @Override public String toString() { return "string2long"; } }; private static final Long LONG_VAL = 12345L; private static final String STR_VAL = "12345"; private static final ImmutableList<String> STRINGS = ImmutableList.of("123", "456"); private static final ImmutableList<Long> LONGS = ImmutableList.of(123L, 456L); public void testConverter() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.2K 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) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
} /** * Test writeBytesWireFormat writes data correctly */ @Test public void testWriteBytesWireFormat() { // Arrange byte[] data = { 1, 2, 3, 4, 5 }; SmbComWrite write = new SmbComWrite(); write.setParam(0, 0L, 0, data, 1, 3); // Write bytes 2,3,4 byte[] dst = new byte[10]; // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K 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/smb1/trans/nt/SmbComNtTransactionTest.java
} @Test @DisplayName("Test createCancel method returns SmbComNtCancel") void testCreateCancel() { // Set a MID for the transaction transaction.setMid(12345); // Create cancel request CommonServerMessageBlockRequest cancelRequest = transaction.createCancel(); // Verify it returns an SmbComNtCancel instance assertNotNull(cancelRequest);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusRequestTest.java
nodeStatusRequest = new NodeStatusRequest(mockConfig, realName); nodeStatusRequest.nameTrnId = 12345; // Act String result = nodeStatusRequest.toString(); // Assert assertTrue(result.contains("NodeStatusRequest")); assertTrue(result.contains("nameTrnId=12345")); assertTrue(result.contains("TESTNAME")); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java
} @Test void constructor_shouldThrowSmbExceptionOnRpcError() throws IOException { // Arrange String server = "testServer"; int access = 123; int errorCode = 12345; doAnswer(invocation -> { MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0); rpc.retval = errorCode; // Simulate RPC error return null;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/packaging/rpm/init.d/fess
# description: Starts and stops a single fess instance on this system # ### BEGIN INIT INFO # Provides: Fess # Required-Start: $network $named # Required-Stop: $network $named # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: This service manages the fess daemon
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Jan 15 06:32:15 UTC 2023 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
} @Test @DisplayName("Should get and set raw payload") void testRawPayload() { assertNull(testMessage.getRawPayload()); byte[] payload = new byte[] { 1, 2, 3, 4, 5 }; testMessage.setRawPayload(payload); assertArrayEquals(payload, testMessage.getRawPayload()); } } @Nested @DisplayName("Error Data Tests")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0)