- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 146 for Argument (1.76 sec)
-
src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java
/** Array of method parameter types */ protected final Class<?>[] parameterTypes; /** The return type of the method */ protected final Class<?> returnType; /** Information about parameterized argument types */ protected final ParameterizedClassDesc[] parameterizedClassDescs; /** Information about the parameterized return type */ protected final ParameterizedClassDesc parameterizedClassDesc; /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/RequestParamTest.java
RequestParam rp = RequestParam.NO_RETRY; // Act: pass to the collaborator consumer.accept(rp); // Assert: interaction happened exactly once with correct argument; no other calls verify(consumer, times(1)).accept(RequestParam.NO_RETRY); verifyNoMoreInteractions(consumer); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
} /** * Test getRootCause() method (deprecated). */ @Test void testGetRootCause() { Throwable cause = new IllegalArgumentException("Invalid argument."); DcerpcException exception = new DcerpcException("Error with cause.", cause); assertEquals(cause, exception.getRootCause(), "getRootCause() should return the original cause."); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
class ParameterizedInit { static Stream<Arguments> validRanges() { byte[] src = new byte[] { 0, 1, 2, 3 }; return Stream.of(Arguments.of(src, 0, 0, new byte[] {}), Arguments.of(src, 0, 4, new byte[] { 0, 1, 2, 3 }), Arguments.of(src, 1, 2, new byte[] { 1, 2 }), Arguments.of(src, 3, 1, new byte[] { 3 })); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
@Override public SSPContext createContext(CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning) throws SmbException { // Validate required argument and interact with the provided CIFSContext if (tc == null) { throw new NullPointerException("tc"); } // Exercise interaction with dependency for verification purposesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
// Mock successful but empty response when(treeHandle.send(any(), any(), (RequestParam[]) any())).thenAnswer(invocation -> { // The response is the second argument Object response = invocation.getArgument(1); // Return it unchanged (which will have default values = empty results) return response; });Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
verify(locator).handleDFSReferral(referral, null); verifyNoMoreInteractions(locator); } // Interaction detail: capture arguments passed to handleDFSReferral @Test @DisplayName("handleDFSReferral receives the exact arguments via captor") void handleDfsReferralArgumentCapture() { when(locator.handleDFSReferral(any(), any())).thenReturn("ok"); String req = "some/path";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
assertNull(transport.getServerEncryptionKey()); } // Happy path: session retrieval by context @Test @DisplayName("getSmbSession(ctx) returns a session and verifies argument") void getSmbSession_byContext() { when(transport.getSmbSession(any(jcifs.CIFSContext.class))).thenReturn(session); SmbSession result = transport.getSmbSession(ctx); assertSame(session, result);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
*/ public static String url(final String input) { if (input == null) { final String msg = "The argument 'input' should not be null."; throw new IllegalArgumentException(msg); } if (!input.startsWith("/")) { final String msg = "The argument 'input' should start with slash '/': " + input; throw new IllegalArgumentException(msg); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 25.4K bytes - Viewed (1) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
exception.expectMessage(is("[ECL0008]argument[src] is null.")); BeanUtil.copyMapToBean(null, new Object()); } /** * */ @Test public void testCopyBeanToMap_DestNull() { exception.expect(NullArgumentException.class); exception.expectMessage(is("[ECL0008]argument[dest] is null.")); BeanUtil.copyBeanToMap(new Object(), null); }
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 34.5K bytes - Viewed (0)