Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for getMethod (0.04 sec)

  1. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            try {
                final Method messageMethod = CustomSize.class.getMethod("message");
                assertNotNull("message() method should exist", messageMethod);
                assertEquals("message() return type should be String", String.class, messageMethod.getReturnType());
    
                final Method groupsMethod = CustomSize.class.getMethod("groups");
                assertNotNull("groups() method should exist", groupsMethod);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            Method parentMethod = ParentClass.class.getMethod("parentMethod");
            Secured parentSecured = parentMethod.getAnnotation(Secured.class);
            assertNotNull(parentSecured);
            assertEquals("ROLE_PARENT_METHOD", parentSecured.value()[0]);
    
            // Overridden method does not inherit annotation
            Method childMethod = ChildClass.class.getMethod("parentMethod");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            try {
                final Method protocolTypeMethod = UriType.class.getMethod("protocolType");
                assertNotNull("protocolType() method should exist", protocolTypeMethod);
                assertEquals("protocolType() return type should be ProtocolType", ProtocolType.class, protocolTypeMethod.getReturnType());
    
                final Method messageMethod = UriType.class.getMethod("message");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

        }
    
        public void test_methodsExist() {
            // Verify required methods exist
            try {
                CustomSizeValidator.class.getMethod("initialize", CustomSize.class);
                CustomSizeValidator.class.getMethod("isValid", CharSequence.class, ConstraintValidatorContext.class);
                assertTrue("Required methods exist", true);
            } catch (final NoSuchMethodException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

        }
    
        public void test_expired_method_exists() throws Exception {
            assertNotNull("expired method should exist", SystemMonitorTarget.class.getMethod("expired"));
        }
    
        public void test_expired_method_can_be_called() {
            // Instead of directly calling expired() which may fail due to system dependencies
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            mockRequest.addHeader(testHeader, testHeaderValue);
            mockRequest.setMethod("POST");
            mockRequest.setRequestURI("/test/uri");
    
            webApiRequest = new WebApiRequest(mockRequest, customPath);
    
            // Verify that other methods are properly delegated
            assertEquals("POST", webApiRequest.getMethod());
            assertEquals("/test/uri", webApiRequest.getRequestURI());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        Method getMethod = List.class.getMethod("get", int.class);
        Method setMethod = List.class.getMethod("set", int.class, Object.class);
        new EqualsTester()
            .addEqualityGroup(Invokable.from(getMethod), Invokable.from(getMethod))
            .addEqualityGroup(Invokable.from(setMethod))
            .addEqualityGroup(new TypeToken<List<Integer>>() {}.method(getMethod))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

        @Override
        public ResponseData execute(final RequestData request) {
            return switch (request.getMethod()) {
            case GET -> doGet(request.getUrl());
            case HEAD -> doHead(request.getUrl());
            case POST -> doPost(request.getUrl());
            default -> throw new CrawlerSystemException(request.getMethod() + " method is not supported.");
            };
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

            assertTrue(6 == responseData.getContentLength() || 7 == responseData.getContentLength());
            assertNotNull(responseData.getLastModified());
            assertEquals(Constants.GET_METHOD, responseData.getMethod());
            assertEquals("text/plain", responseData.getMimeType());
            assertTrue(responseData.getUrl().endsWith("test/text1.txt"));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

        }
    
        public void test_expired_method_exists() throws Exception {
            assertNotNull("expired method should exist", HotThreadMonitorTarget.class.getMethod("expired"));
        }
    
        public void test_expired_method_can_be_called() {
            try {
                target.expired();
            } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top