- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 146 for Argument (1.86 sec)
-
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
assertEquals(expectedSize, context.size()); } static Stream<Arguments> provideSizeTestCases() { return Stream.of(Arguments.of(0, 0, 4), Arguments.of(1, 0, 6), Arguments.of(0, 1, 5), Arguments.of(1, 1, 7), Arguments.of(5, 10, 24), Arguments.of(10, 20, 44), Arguments.of(20, 32, 76)); } } @Nested @DisplayName("Round-trip Tests")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TestLocking.java
} finally { numComplete++; } } /** * Main method to run the locking test. * * @param args command line arguments: [-t numThreads] [-i numIter] [-d delay] url * @throws Exception if an error occurs during test execution */ public static void main(final String[] args) throws Exception { if (args.length < 1) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java
* * The implementation contains only trivial methods that return {@code 0} * or construct a string representation. The tests focus on: * * <ul> * <li>happy‑path behaviour</li> * <li>boundary arguments (e.g., negative indices, large values)</li> * <li>string representation containing the class name</li> * <li>null buffer handling</li> * </ul> */ final class TransWaitNamedPipeResponseTest { /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java
MsrpcQueryInformationPolicy policy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject); // Verify that the super constructor was called with the correct arguments // Note: Mockito cannot directly verify super constructor calls. // We assume if the object is created, the super constructor was called. // We can verify the state of the object after construction.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/MethodDesc.java
* @param args * the method arguments * @return the result of the method */ <T> T invoke(Object target, Object... args); /** * Invokes a static method and returns its result. * * @param <T> * the return type of the method * @param args * the method arguments * @return the result of the method */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java
OsProbe.getInstance(); JvmInfo.jvmInfo(); } /** * Main entry point for the thumbnail generator application. * * @param args command-line arguments */ public static void main(final String[] args) { final Options options = new Options(); final CmdLineParser parser = new CmdLineParser(options); try {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
verify(session).treeConnectLogon(); } // Happy path: getSmbTree returns a tree and receives correct args @Test @DisplayName("getSmbTree returns tree and captures arguments") void getSmbTree_happy() { when(session.getSmbTree(anyString(), anyString())).thenReturn(tree); String share = "share";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
KerberosAuthData mockAuthData2 = mock(KerberosAuthData.class); // Mock the parse method to return two different objects based on input // Must use matchers for all arguments when using any matcher mockedStaticAuthData.when(() -> KerberosAuthData.parse(eq(1), eq(new byte[] { 0x01 }), any(Map.class))) .thenReturn(Collections.singletonList(mockAuthData1));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/ConstructorDesc.java
/** * Returns an instance created by invoking the constructor. * * @param <T> * The type of the Bean to be created * @param args * The arguments for the constructor * @return An instance created by invoking the constructor */ <T> T newInstance(Object... args);Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.5K bytes - Viewed (0)