Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,268 for Method (0.2 sec)

  1. src/test/java/org/codelibs/fess/sso/SsoManagerTest.java

        }
    
        @Override
        public void tearDown() throws Exception {
            currentSsoType = Constants.NONE;
            super.tearDown();
        }
    
        // Test available() method
        public void test_available_withNoneSsoType() {
            currentSsoType = Constants.NONE;
            assertFalse(ssoManager.available());
        }
    
        public void test_available_withValidSsoType() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

        }
    
        @Test
        @DisplayName("Test isAsync method returning true")
        void testIsAsyncTrue() {
            // Given
            when(response.isAsync()).thenReturn(true);
    
            // When
            boolean isAsync = response.isAsync();
    
            // Then
            assertTrue(isAsync);
            verify(response).isAsync();
        }
    
        @Test
        @DisplayName("Test isAsync method returning false")
        void testIsAsyncFalse() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

        private static final Logger logger = Logger.getLogger(IOIntegrationTest.class.getName());
    
        class MockCurlRequest extends CurlRequest {
    
            MockCurlRequest(Curl.Method method, String url) {
                super(method, url);
            }
    
            @Override
            public void connect(Consumer<HttpURLConnection> actionListener, Consumer<Exception> exceptionListener) {
                try {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat May 10 01:44:04 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt

      result.headersDelay(getHeadersDelay(MILLISECONDS), MILLISECONDS)
      return result.build()
    }
    
    private fun PushPromise.wrap(): mockwebserver3.PushPromise =
      mockwebserver3.PushPromise(
        method = method,
        path = path,
        headers = headers,
        response = response.wrap(),
      )
    
    internal fun mockwebserver3.RecordedRequest.unwrap(): RecordedRequest =
      RecordedRequest(
        requestLine = requestLine,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 4.1K bytes
    - Viewed (1)
  5. src/test/java/org/codelibs/core/lang/MethodUtilTest.java

            final Method equalsMethod = ClassUtil.getMethod(getClass(), "equals", Object.class);
            assertThat(MethodUtil.isHashCodeMethod(equalsMethod), is(not(true)));
        }
    
        /**
         *
         */
        @Test
        public void testIsToStringMethod() {
            final Method toStringMethod = ClassUtil.getMethod(getClass(), "toString");
            assertThat(MethodUtil.isToStringMethod(toStringMethod), is(true));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

     * that are triggered during a Maven build lifecycle.
     *
     * The primary entry point is the {@link #execute()} method, which encapsulates
     * the behavior of the Mojo and serves as the integration point with Maven. This
     * method may throw an {@link Exception} to signal any issues that prevent
     * successful execution of the Mojo.
     *
     * <p>
     * Annotations:
     * </p>
     * <ul>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:21:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            assertEquals(14, request.getCommand());
            verify(mockConfig).getMaximumBufferSize();
            verify(mockConfig).getListSize();
        }
    
        @Test
        @DisplayName("Test setFileId method")
        void testSetFileId() {
            request = new Smb2QueryDirectoryRequest(mockConfig);
            byte[] fileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                fileId[i] = (byte) (i + 1);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/beans/MethodDesc.java

         *
         * @param <T>
         *            the return type of the method
         * @return the return type of the method
         */
        <T> Class<T> getReturnType();
    
        /**
         * Returns {@literal true} if the method is {@literal public}.
         *
         * @return {@literal true} if the method is {@literal public}
         */
        boolean isPublic();
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/SourceSinkTester.java

        factory.tearDown();
      }
    
      static ImmutableList<Method> getTestMethods(Class<?> testClass) {
        List<Method> result = new ArrayList<>();
        for (Method method : testClass.getDeclaredMethods()) {
          if (Modifier.isPublic(method.getModifiers())
              && method.getReturnType() == void.class
              && method.getParameterTypes().length == 0
              && method.getName().startsWith("test")) {
            result.add(method);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. cmd/signature-v2.go

    func preSignatureV2(cred auth.Credentials, method string, encodedResource string, encodedQuery string, headers http.Header, expires string) string {
    	stringToSign := getStringToSignV2(method, encodedResource, encodedQuery, headers, expires)
    	return calculateSignatureV2(stringToSign, cred.SecretKey)
    }
    
    // Return the signature v2 of a given request.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top