- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 615 for verifyCn (0.13 sec)
-
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
void testConstructor() { // Given & When Smb2LockResponse lockResponse = new Smb2LockResponse(mockConfig); // Then assertNotNull(lockResponse); // Verify it's an instance of ServerMessageBlock2Response assertTrue(lockResponse instanceof jcifs.internal.smb2.ServerMessageBlock2Response); } @Test @DisplayName("Constructor should handle null configuration")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
class InterfaceCompatibilityTests { @Test @DisplayName("Should verify AllocInfo extends FileSystemInformation") void testAllocInfoExtendsFileSystemInformation() { assertTrue(FileSystemInformation.class.isAssignableFrom(AllocInfo.class)); } @Test @DisplayName("Should verify all implementations are AllocInfo") void testImplementationsAreAllocInfo() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java
assertThrows(IllegalArgumentException.class, () -> getMap().put(k1(), v0())); // verify that the bimap is unchanged expectAdded(e0()); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(ZERO) public void testPutPresentKeyDifferentValue() { getMap().put(k0(), v0()); getMap().put(k0(), v1()); // verify that the bimap is changed, and that the old inverse mapping // from v1 -> v0 is deleted
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
String msg = "\u00A1\u00A2"; // two Unicode characters byte[] encoded = encodeUnicode(msg); assertEquals(4, encoded.length, "Encoded Unicode string should be 4 bytes"); // Verify little-endian encoding assertEquals((byte) 0xA1, encoded[0], "First byte of first character"); assertEquals((byte) 0x00, encoded[1], "Second byte of first character");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java
// When MsrpcSamrConnect2 msrpcSamrConnect2 = new MsrpcSamrConnect2(testServer, testAccess, mockPolicyHandle); // Then - Use reflection to verify protected field Field ptypeField = DcerpcMessage.class.getDeclaredField("ptype"); ptypeField.setAccessible(true); int ptypeValue = (int) ptypeField.get(msrpcSamrConnect2);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
list.add(new MockRunnable(countDownLatch), exec); list.add(new MockRunnable(countDownLatch), exec); assertEquals(3L, countDownLatch.getCount()); list.execute(); // Verify that all of the runnables execute in a reasonable amount of time. assertTrue(countDownLatch.await(1L, SECONDS)); } public void testExecute_idempotent() { AtomicInteger runCalled = new AtomicInteger();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java
void toStringMatches() { String s = response.toString(); assertNotNull(s); assertTrue(s.startsWith("SmbComSetInformationResponse[")); assertTrue(s.endsWith("]")); // Verify it contains superclass toString content assertTrue(s.length() > "SmbComSetInformationResponse[]".length()); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; /** * Security-focused test cases for NtlmPasswordAuthenticator to verify timing attack resistance. */ public class NtlmPasswordAuthenticatorTimingAttackTest { private static final int TIMING_ITERATIONS = 1000;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SSPContext.java
*/ byte[] calculateMIC(byte[] data) throws CIFSException; /** * Verifies a Message Integrity Code (MIC) for the given data. * @param data the data to verify * @param mic the MIC to verify against * @throws CIFSException if the MIC verification fails or an error occurs */ void verifyMIC(byte[] data, byte[] mic) throws CIFSException; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0)