- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 837 for certify (0.08 sec)
-
src/test/java/jcifs/internal/SmbNegotiationRequestTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
assertEquals(24, encoded); // Verify offset (8 bytes) assertEquals(offset, SMBUtil.readInt8(buffer, 0)); // Verify length (8 bytes) assertEquals(length, SMBUtil.readInt8(buffer, 8)); // Verify flags (4 bytes) assertEquals(flags, SMBUtil.readInt4(buffer, 16)); // Verify reserved field is zeros (4 bytes)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
assertEquals(0, deleted); // Verify it used the same search logic (type parameter is ignored) verify(mockClient).prepareSearch("test-index"); } /** * Test: Verify that OnConnectListener is properly invoked */ @Test public void testOnConnectListenerInvoked() {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:44:44 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
// Stub the getRemoteHostName method when(mock.getRemoteHostName()).thenReturn("test-host"); // Verify the stubbing assertEquals("test-host", mock.getRemoteHostName()); // Ensure that the mock was interacted with verify(mock).getRemoteHostName(); }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/main/java/jcifs/smb/NtlmContext.java
throw new CIFSException(String.format("Invalid MIC sequence, expect %d have %d", expectSeq, seq)); } final byte[] verify = new byte[8]; System.arraycopy(mic, 4, verify, 0, 8); if (!MessageDigest.isEqual(trunc, verify)) { if (log.isDebugEnabled()) { log.debug(String.format("Seq = %d ver = %d encrypted = %s", seq, ver, encrypted));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java
resultFuture = buildChainingFuture(inputFuture); listener = new MockFutureListener(resultFuture); } public void testFutureGetBeforeCallback() throws Exception { // Verify that get throws a timeout exception before the callback is called. assertThrows(TimeoutException.class, () -> resultFuture.get(1L, MILLISECONDS)); } public void testFutureGetThrowsWrappedException() throws Exception {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
// Resolve first two entries cache.resolveSids(ctx, null, arr, 0, 2); // Verify resolveSids0 called exactly once with the two SIDs needing resolution ArgumentCaptor<SID[]> captor = ArgumentCaptor.forClass(SID[].class); verify(cache, times(1)).resolveSids0(isNull(), same(ctx), captor.capture()); SID[] resolvedFirst = captor.getValue();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
int length = testBlock.readAndXWireFormat(buffer, 0); assertTrue(length > 0); verify(mockAndxCommand).setCommand((byte) 0x42); verify(mockAndxCommand).setUseUnicode(anyBoolean()); // For non-AndX commands, the implementation calls received() instead of read methods verify(mockAndxCommand).received(); } @Test @DisplayName("Test readAndXWireFormat with error code")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlingParameterUtilTest.java
} }); otherThread.start(); latch.await(); // Verify other thread had different values assertEquals("other-thread", otherThreadUrlQueueSessionId.get()); assertEquals("other-context", otherThreadContextSessionId.get()); // Verify main thread values are unchanged assertEquals("main-thread", CrawlingParameterUtil.getUrlQueue().getSessionId());Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 14.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
@Override protected Iterator<T> newTargetIterator() { // make copy from master to verify later targetList = Lists.newArrayList(master); Iterator<T> iterator = targetList.iterator(); return peekingIterator(iterator); } @Override protected void verify(List<T> elements) { // verify same objects were removed from reference and target assertEquals(elements, targetList); } }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 8.5K bytes - Viewed (0)