Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 558 for argument (0.04 sec)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

            assertEquals("Default value for parameter #" + i, expectedValues[i], arguments.get(i));
          }
        }
    
        final Object getDefaultParameterValue(int position) {
          return arguments.get(position);
        }
    
        final void calledWith(Object... args) {
          for (int i = 0; i < args.length; i++) {
            if (args[i] != null) {
              arguments.put(i, args[i]);
            }
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            assertTrue(exception.getStackTrace().length > 0);
        }
    
        public void test_nestedExceptions() {
            // Test nested exceptions
            Exception innerCause = new IllegalArgumentException("Invalid argument");
            Exception middleCause = new RuntimeException("Runtime error", innerCause);
            WebApiException exception = new WebApiException(400, middleCause);
    
            assertEquals(400, exception.getStatusCode());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

            }
        }
    
        // Test main method with invalid arguments
        public void test_main_invalidArguments() {
            // Cannot directly test main as it calls System.exit
            // Test argument parsing instead
            SuggestCreator.Options options = new SuggestCreator.Options();
            assertNotNull(options);
        }
    
        // Test main method with valid arguments
        public void test_main_validArguments() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

     * the network with enhanced capabilities compared to the basic Open command.
     */
    public class SmbComOpenAndX extends AndXServerMessageBlock {
    
        // flags (not the same as flags constructor argument)
        static final int FLAGS_RETURN_ADDITIONAL_INFO = 0x01;
        static final int FLAGS_REQUEST_OPLOCK = 0x02;
        static final int FLAGS_REQUEST_BATCH_OPLOCK = 0x04;
    
        // Access Mode Encoding for desiredAccess
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  6. docs/docker/README.md

      quay.io/minio/minio server /data --console-address ":9001"
    ```
    
    The command creates a new local directory `~/minio/data` in your user home directory. It then starts the MinIO container with the `-v` argument to map the local path (`~/minio/data`) to the specified virtual container directory (`/data`). When MinIO writes data to `/data`, that data is actually written to the local path `~/minio/data` where it can persist between container restarts.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

        public void test_throwWithCauseAndCatch() {
            // Test throwing with cause and catching
            String expectedMessage = "Test with cause";
            Exception expectedCause = new IllegalArgumentException("Invalid argument");
    
            try {
                throw new SearchQueryException(expectedMessage, expectedCause);
            } catch (SearchQueryException e) {
                assertEquals(expectedMessage, e.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/EqualsTester.java

     *       <i>j</i><sup>th</sup> item in the <i>i</i><sup>th</sup> equality group, where both equality
     *       groups and the items within equality groups are numbered starting from 1. When either a
     *       constructor argument or an equal object is provided, that becomes group 1.
     * </ul>
     *
     * @author Jim McMaster
     * @author Jige Yu
     * @since 10.0
     */
    @GwtCompatible
    @NullMarked
    public final class EqualsTester {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

            // Assert
            assertNotNull(handle);
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class));
            // Further verification could involve capturing the MsrpcLsarOpenPolicy2 argument and checking its server field.
        }
    
        @Test
        void constructor_shouldThrowSmbExceptionOnRpcError() throws IOException {
            // Arrange
            String server = "testServer";
            int access = 123;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top