- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 615 for verifyCn (0.05 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
// Verify source offset assertEquals(sourceOffset, SMBUtil.readInt8(buffer, startIndex)); // Verify target offset assertEquals(targetOffset, SMBUtil.readInt8(buffer, startIndex + 8)); // Verify length assertEquals(length, SMBUtil.readInt4(buffer, startIndex + 16)); // Verify reserved bytes are zerosRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java
// Verify that the super constructor was called with the correct arguments // Note: Mockito cannot directly verify super constructor calls. // We assume if the object is created, the super constructor was called. // We can verify the state of the object after construction. // Verify ptype and flags are set correctlyRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacConstantsTest.java
* This prevents accidental modification of these critical constants. */ @Test void testConstantValues() { // Verify the PAC version assertEquals(0, PacConstants.PAC_VERSION, "PAC_VERSION should be 0"); // Verify PAC buffer types assertEquals(1, PacConstants.LOGON_INFO, "LOGON_INFO should be 1");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
@Test @DisplayName("Test constructor initialization") void testConstructor() { // Verify command and subcommand are set correctly assertEquals(SmbComTransaction.SMB_COM_TRANSACTION, transaction.getCommand()); assertEquals(SmbComTransaction.TRANS2_FIND_FIRST2, transaction.getSubCommand()); // Verify maxDataCount and maxParameterCount are initialized assertTrue(transaction.maxDataCount > 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java
assertEquals(3, entries.length); // Verify disk share assertEquals("DiskShare", entries[0].getName()); assertEquals(8, entries[0].getType()); // TYPE_SHARE // Verify printer share assertEquals("PrinterShare", entries[1].getName()); assertEquals(32, entries[1].getType()); // TYPE_PRINTER (0x20) // Verify named pipe
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryRequestTest.java
doReturn(10).when((NameServicePacket) request).writeQuestionSectionWireFormat(any(byte[].class), anyInt()); int result = request.writeBodyWireFormat(dst, dstIndex); // Verify that writeQuestionSectionWireFormat was called verify((NameServicePacket) request, times(1)).writeQuestionSectionWireFormat(dst, dstIndex); assertEquals(10, result); } @Test void testReadBodyWireFormat() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
} /** * Verify that the listener completes in a reasonable amount of time, and Asserts that the future * returns the expected data. * * @throws Throwable if the listener isn't called or if it resulted in a throwable or if the * result doesn't match the expected value. */ public void assertSuccess(Object expectedData) throws Throwable {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri May 12 18:12:42 UTC 2023 - 3K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java
mockedNtlmAuthenticator.verify(NtlmAuthenticator::getDefault); mockedNtlmAuthenticator.verify( () -> NtlmAuthenticator.requestNtlmPasswordAuthentication(eq(mockNtlmAuthenticator), eq("locationHint"), eq(null))); verify(mockRenewableCredentials, never()).renew(); // Ensure renewable path was not taken } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
try (SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access)) { assertNotNull(handle); // Verify that sendrecv was called with MsrpcSamrConnect4 verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrConnect4.class)); verify(mockHandle, never()).sendrecv(any(MsrpcSamrConnect2.class)); } } @Test void testConstructor_NullServer() throws IOException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
// Verify constructor invoked acquire once verify(treeConnection, times(1)).acquire(); // getConfig delegates when(treeConnection.getConfig()).thenReturn(config); assertSame(config, handle.getConfig()); verify(treeConnection).getConfig(); // isConnected delegatesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0)