Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for getMethod (0.07 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

            assertEquals(url, testListener.requestUrl);
            assertEquals(Constants.GET_METHOD, testListener.requestMethod);
            assertNull(testListener.exceptionUrl);
            assertEquals(1, testClient.count);
            assertEquals(url, response.getUrl());
            assertEquals(Constants.GET_METHOD, response.getMethod());
        }
    
        public void test_doGet_with4Exception() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            method = Hoge.class.getMethod("list");
            assertThat(GenericsUtil.getActualClass(method.getGenericReturnType(), map), is(sameClass(List.class)));
    
            method = Hoge.class.getMethod("set");
            assertThat(GenericsUtil.getActualClass(method.getGenericReturnType(), map), is(sameClass(Set.class)));
    
            method = Hoge.class.getMethod("map");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

        return asList(
            getMethod("testSetCount_threeToThree_removeSupported"),
            getMethod("testSetCount_threeToZero_supported"),
            getMethod("testSetCount_threeToOne_supported"));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      private static Method getMethod(String methodName) {
        return Helpers.getMethod(AbstractMultisetSetCountTester.class, methodName);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

        return asList(
            getMethod("testSetCount_threeToThree_removeSupported"),
            getMethod("testSetCount_threeToZero_supported"),
            getMethod("testSetCount_threeToOne_supported"));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      private static Method getMethod(String methodName) {
        return Helpers.getMethod(AbstractMultisetSetCountTester.class, methodName);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

        @Require(IMPLIES_BAR)
        class Tester {
          @Require(IMPLIES_IMPLIES_FOO)
          public void test() {}
        }
    
        TesterRequirements requirements = buildTesterRequirements(Tester.class.getMethod("test"));
    
        assertThat(requirements.getPresentFeatures())
            .containsExactly(IMPLIES_IMPLIES_FOO, IMPLIES_FOO, FOO, IMPLIES_BAR, BAR);
        assertThat(requirements.getAbsentFeatures()).isEmpty();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

        @Require(IMPLIES_BAR)
        class Tester {
          @Require(IMPLIES_IMPLIES_FOO)
          public void test() {}
        }
    
        TesterRequirements requirements = buildTesterRequirements(Tester.class.getMethod("test"));
    
        assertThat(requirements.getPresentFeatures())
            .containsExactly(IMPLIES_IMPLIES_FOO, IMPLIES_FOO, FOO, IMPLIES_BAR, BAR);
        assertThat(requirements.getAbsentFeatures()).isEmpty();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        if (test instanceof AbstractTester) {
          AbstractTester<?> tester = (AbstractTester<?>) test;
          return getMethod(tester.getClass(), tester.getTestMethodName());
        } else if (test instanceof TestCase) {
          TestCase testCase = (TestCase) test;
          return getMethod(testCase.getClass(), testCase.getName());
        } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                    assertEquals(Constants.GET_METHOD, accessResult.getMethod());
                });
                dataService.iterate(sessionId2, accessResult -> {
                    assertTrue(accessResult.getUrl().startsWith(url2));
                    assertEquals(Constants.GET_METHOD, accessResult.getMethod());
                });
    
                dataService.delete(sessionId1);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/TestThread.java

      }
    
      private Object invokeMethod(String methodName, Object... arguments) throws Exception {
        return getMethod(methodName, arguments).invoke(lockLikeObject, arguments);
      }
    
      private Method getMethod(String methodName, Object... arguments) throws Exception {
        METHODS:
        for (Method method : lockLikeObject.getClass().getMethods()) {
          Class<?>[] parameterTypes = method.getParameterTypes();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/TempFileCreator.java

             */
    
            Method currentMethod = processHandleClass.getMethod("current");
            Method infoMethod = processHandleClass.getMethod("info");
            Method userMethod = processHandleInfoClass.getMethod("user");
            Method orElseMethod = optionalClass.getMethod("orElse", Object.class);
    
            Object current = currentMethod.invoke(null);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top