Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 292 for GetMethod (0.22 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultisetForEachEntryTester.java

       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getForEachEntryDuplicateInitializingMethods() {
        return Arrays.asList(
            Helpers.getMethod(MultisetForEachEntryTester.class, "testForEachEntryDuplicates"));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk9Platform.kt

        init {
          isAvailable =
            if (majorVersion != null) {
              majorVersion >= 9
            } else {
              try {
                // also present on JDK8 after build 252.
                SSLSocket::class.java.getMethod("getApplicationProtocol")
                true
              } catch (nsme: NoSuchMethodException) {
                false
              }
            }
        }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        Feature<?>[] presentFeatures;
        Feature<?>[] absentFeatures;
        try {
          presentFeatures = (Feature[]) annotationClass.getMethod("value").invoke(testerAnnotation);
          absentFeatures = (Feature[]) annotationClass.getMethod("absent").invoke(testerAnnotation);
        } catch (Exception e) {
          throw new IllegalArgumentException("Error extracting features from tester annotation.", e);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 21 15:08:35 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

        }
    
      private fun loomThreadFactory(): ThreadFactory {
        val ofVirtual = Thread::class.java.getMethod("ofVirtual").invoke(null)
    
        return Class.forName("java.lang.Thread\$Builder")
          .getMethod("factory")
          .invoke(ofVirtual) as ThreadFactory
      }
    
      private fun isLoom(): Boolean {
        return getPlatformSystemProperty() == LOOM_PROPERTY
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (1)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java

       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getElementSetDuplicateInitializingMethods() {
        return Arrays.asList(
            Helpers.getMethod(
                MultisetElementSetTester.class, "testElementSetRemoveDuplicatePropagatesToMultiset"));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/ListenerBroadcastTest.groovy

            def listener2 = Mock(TestListener)
            broadcast.add(listener1)
            broadcast.add(listener2)
    
            when:
            MethodInvocation invocation = new MethodInvocation(TestListener.getMethod("event1", String.class), "param")
            broadcast.dispatch(invocation)
    
            then:
            1 * listener1.event1("param")
            then:
            1 * listener2.event1("param")
            0 * _._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        Feature<?>[] presentFeatures;
        Feature<?>[] absentFeatures;
        try {
          presentFeatures = (Feature[]) annotationClass.getMethod("value").invoke(testerAnnotation);
          absentFeatures = (Feature[]) annotationClass.getMethod("absent").invoke(testerAnnotation);
        } catch (Exception e) {
          throw new IllegalArgumentException("Error extracting features from tester annotation.", e);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 21 15:08:35 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

        }
    
        public String getUrl() {
            return url;
        }
    
        public void setUrl(final String url) {
            this.url = url;
        }
    
        public String getMethod() {
            return method;
        }
    
        public void setMethod(final String method) {
            this.method = method;
        }
    
        public String getParentUrl() {
            return parentUrl;
        }
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java

       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getCountDuplicateInitializingMethods() {
        return Arrays.asList(Helpers.getMethod(MultisetCountTester.class, "testCount_3"));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/IgnoredTestDescriptorProvider.java

            } else {
                return new org.junit.internal.runners.JUnit4ClassRunner(testClass);
            }
        }
    
        private static boolean hasSuiteMethod(Class<?> testClass) {
            try {
                testClass.getMethod("suite");
            } catch (NoSuchMethodException e) {
                return false;
            }
            return true;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top