- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 878 for Verify (0.11 sec)
-
src/test/java/jcifs/http/NtlmHttpServletRequestTest.java
when(mockPrincipal.getName()).thenReturn(expectedUserName); // Act: Call the method under test String actualUserName = ntlmRequest.getRemoteUser(); // Assert: Verify that the returned user name is the expected one assertEquals(expectedUserName, actualUserName, "getRemoteUser should return the principal's name."); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
int bytesWritten = req.writeBytesWireFormat(buffer, 0); // Verify structure assertEquals(48, SMBUtil.readInt2(buffer, 0)); // Structure size assertEquals(1, SMBUtil.readInt2(buffer, 2)); // Lock count // Verify lock sequence (bits 4-7 are sequence number, bits 0-27 are index) int lockSequence = SMBUtil.readInt4(buffer, 4);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
import static org.mockito.ArgumentMatchers.anyBoolean; import static org.mockito.ArgumentMatchers.anyString; import static org.mockito.Mockito.never; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.io.IOException; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ExecutionException; import org.junit.jupiter.api.BeforeEach;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.6K bytes - Viewed (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();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
// Read the buffer int bytesRead = notification.readBytesWireFormat(buffer, 0); // Verify the bytes read assertEquals(24, bytesRead); // Verify the fields were set correctly using reflection Field oplockLevelField = Smb2OplockBreakNotification.class.getDeclaredField("oplockLevel");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java
assertTrue(region.hasAccess(RdmaAccess.LOCAL_READ), "Should have local read access"); assertTrue(region.hasAccess(RdmaAccess.REMOTE_READ), "Should have remote read access"); // Verify provider was called verify(mockProvider, atLeastOnce()).registerMemory(any(ByteBuffer.class), any()); } @Test public void testReleaseSendRegion() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java
ScheduledJobException exception = new ScheduledJobException("Stack trace test"); assertNotNull(exception.getStackTrace()); assertTrue(exception.getStackTrace().length > 0); // Verify the first stack trace element is from this test method StackTraceElement firstElement = exception.getStackTrace()[0]; assertEquals(this.getClass().getName(), firstElement.getClassName());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java
// when proper conditions are not met. Map<String, Object> docMap = new HashMap<>(); // This will return false because getFessConfig() will fail // We verify the method handles the case gracefully try { emptyGenerator.isTarget(docMap); } catch (IllegalStateException e) { // Expected when container is not initializedRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/SMBSigningDigest.java
* @param length * The length of the data to verify * @param extraPad * extra padding to include in signature * @param msg * The message to verify * @return whether verification was unsuccessful */ boolean verify(byte[] data, int offset, int length, int extraPad, CommonServerMessageBlock msg);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/SystemUtilTest.java
} else { System.clearProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS); } } } public void test_constructor_isPrivate() { // Verify that SystemUtil has a private constructor (utility class pattern) try { Constructor<SystemUtil> constructor = SystemUtil.class.getDeclaredConstructor();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 12.9K bytes - Viewed (0)