Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,812 for SMethod (0.1 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                byte[] dst = new byte[100];
                int dstIndex = 10;
    
                // When
                Method method = SmbComNtCancel.class.getDeclaredMethod("writeParameterWordsWireFormat", byte[].class, int.class);
                method.setAccessible(true);
                int result = (int) method.invoke(cancel, dst, dstIndex);
    
                // Then
                assertEquals(0, result);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

         * Test of writeBytesWireFormat method, of class SmbComQueryInformationResponse.
         */
        @Test
        public void testWriteBytesWireFormat() {
            byte[] dst = new byte[10];
            int dstIndex = 0;
            // This method does nothing and should return 0.
            assertEquals(0, response.writeBytesWireFormat(dst, dstIndex));
        }
    
        /**
         * Test of readParameterWordsWireFormat method, of class SmbComQueryInformationResponse.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/curl/CurlRequest.java

        /**
         * Constructs a new CurlRequest with the specified HTTP method and URL.
         *
         * @param method the HTTP method
         * @param url the URL
         */
        public CurlRequest(final Method method, final String url) {
            this.method = method;
            this.url = url;
        }
    
        /**
         * Returns the proxy for the request.
         *
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/exception/BeanMethodSetAccessibleFailureException.java

    import java.lang.reflect.Method;
    
    /**
     * Signals that a method could not be made accessible.
     */
    public class BeanMethodSetAccessibleFailureException extends ClRuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * The target class.
         */
        protected final Class<?> targetClass;
    
        /**
         * The target method.
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/NtlmHttpServletRequestTest.java

            ntlmRequest = new NtlmHttpServletRequest(mockRequest, mockPrincipal);
        }
    
        /**
         * Test method for {@link NtlmHttpServletRequest#getRemoteUser()}.
         * Verifies that the method returns the name of the principal.
         */
        @Test
        void testGetRemoteUser() {
            // Arrange: Define the expected user name from the principal
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/CurlHelper.java

            return request(Method.DELETE, path).header("Content-Type", "application/json");
        }
    
        /**
         * Creates a request with the specified HTTP method and path.
         * @param method the HTTP method
         * @param path the request path
         * @return the configured CurlRequest
         */
        public CurlRequest request(final Method method, final String path) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

            try {
                java.lang.reflect.Method method = CurlHelper.class.getDeclaredMethod("request", CurlRequest.class);
                method.setAccessible(true);
                return (CurlRequest) method.invoke(curlHelper, request);
            } catch (Exception e) {
                fail("Failed to call protected request method: " + e.getMessage());
                return null;
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java

            // When
            ndrObject.encode(mockBuffer);
    
            // Then
            // Verify that our mock buffer had the expected method called.
            verify(mockBuffer).enc_ndr_long(123);
        }
    
        /**
         * Test case for the decode method.
         * Verifies that the decode method of a concrete implementation is called
         * and interacts with the NdrBuffer as expected.
         * @throws NdrException if decoding fails.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

      private boolean matches(Test test) {
        Method method;
        try {
          method = extractMethod(test);
        } catch (IllegalArgumentException e) {
          logger.finer(Platform.format("%s: including by default: %s", test, e.getMessage()));
          return true;
        }
        if (suppressedTests.contains(method)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

            // The actual client initialization happens lazily when needed
        }
    
        // Test that close method exists (inherited)
        public void test_closeMethodExists() {
            // Test that close method is available (inherited from parent)
            try {
                // Just verify the method exists, don't actually call it
                crawlerEngineClient.getClass().getMethod("close");
                assertTrue(true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top