- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 1,103 for veriyi (0.08 seconds)
-
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));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 17.3K bytes - Click Count (1) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java
import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; class DefaultToolchainTest { private final Logger logger = mock(Logger.class); @BeforeEach void setUp() throws Exception { MockitoAnnotations.initMocks(this); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 11 12:33:57 GMT 2025 - 4.9K bytes - Click Count (0) -
guava/src/com/google/common/base/Preconditions.java
* involving any parameters to the calling method. * * @param expression a boolean expression * @throws IllegalStateException if {@code expression} is false * @see Verify#verify Verify.verify() */ public static void checkState(boolean expression) { if (!expression) { throw new IllegalStateException(); } } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 53.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDTest.java
import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.lenient; import static org.mockito.Mockito.never; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.util.Arrays; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/DfsReferralTest.java
DfsReferralData mockData = mock(DfsReferralData.class); // Create a DfsReferral instance with the mock data DfsReferral dfsReferral = new DfsReferral(mockData); // Verify that getData() returns the same mock data object assertEquals(mockData, dfsReferral.getData(), "getData() should return the DfsReferralData object passed to the constructor."); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.6K bytes - Click Count (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 {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 3.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/FlushablesTest.java
* limitations under the License. */ package com.google.common.io; import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import java.io.Flushable; import java.io.IOException; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link Flushables}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 3.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/FileEntryTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoMoreInteractions; import static org.mockito.Mockito.when; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java
ScriptEngineException exception = new ScriptEngineException(message, cause); // Verify stack trace exists StackTraceElement[] stackTrace = exception.getStackTrace(); assertNotNull(stackTrace); assertTrue(stackTrace.length > 0); // Verify cause's stack trace is also available StackTraceElement[] causeStackTrace = exception.getCause().getStackTrace();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
// Act transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, fid); // Assert assertNotNull(transPeekNamedPipe); // FID is written in writeSetupWireFormat, verify it there } @Test @DisplayName("writeSetupWireFormat should write correct bytes") void testWriteSetupWireFormat() { // ArrangeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0)