- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 194 for setMethod (0.06 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java
* limitations under the License. */ package com.google.common.collect.testing.google; import static com.google.common.collect.testing.Helpers.assertEmpty; import static com.google.common.collect.testing.Helpers.getMethod; import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ADD; import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/filter/CorsFilter.java
logger.debug("HTTP Request: method={}", httpRequest.getMethod()); } final CorsHandlerFactory factory = ComponentUtil.getCorsHandlerFactory(); final CorsHandler handler = factory.get(origin); if (handler != null) { handler.process(origin, request, response); if (OPTIONS.equals(httpRequest.getMethod())) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 2.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java
assertTrue(target instanceof TimeoutTarget, "Instance should be a TimeoutTarget"); } @Test public void test_expired_method_exists() throws Exception { assertNotNull(HotThreadMonitorTarget.class.getMethod("expired"), "expired method should exist"); } @Test public void test_expired_method_can_be_called() { try { target.expired(); } catch (Exception e) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 4.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java
return Helpers.getMethod( CollectionSpliteratorTester.class, "testSpliteratorNotImmutable_collectionAllowsAdd"); } @J2ktIncompatible @GwtIncompatible // reflection public static Method getSpliteratorNotImmutableCollectionAllowsRemoveMethod() { return Helpers.getMethod(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java
assertThrows(JudgmentError.class, () -> subscriber.invokeSubscriberMethod(FIXTURE_ARGUMENT)); } public void testEquals() throws Exception { Method charAt = String.class.getMethod("charAt", int.class); Method concat = String.class.getMethod("concat", String.class); new EqualsTester() .addEqualityGroup( Subscriber.create(bus, "foo", charAt), Subscriber.create(bus, "foo", charAt))Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 4.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java
assertTrue(target instanceof TimeoutTarget, "Instance should be a TimeoutTarget"); } @Test public void test_expired_method_exists() throws Exception { assertNotNull(SystemMonitorTarget.class.getMethod("expired"), "expired method should exist"); } @Test public void test_expired_method_can_be_called() { // Instead of directly calling expired() which may fail due to system dependencies
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.2K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
} fail(); } public void testStaticOneArgMethodsThatShouldPass() throws Exception { for (String methodName : STATIC_ONE_ARG_METHODS_SHOULD_PASS) { Method method = OneArg.class.getMethod(methodName, String.class); try { new NullPointerTester().testMethodParameter(new OneArg(), method, 0); } catch (AssertionError unexpected) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 47.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing.google; import static com.google.common.collect.testing.Helpers.getMethod; import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_QUERIES; import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
try { Class<?> test = classLoader.loadClass(FuturesTest.class.getName()); Object testInstance = test.getDeclaredConstructor().newInstance(); test.getMethod("setUp").invoke(testInstance); test.getMethod(getName()).invoke(testInstance); test.getMethod("tearDown").invoke(testInstance); } finally { Thread.currentThread().setContextClassLoader(oldClassLoader); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/SubscriberTest.java
assertThrows(JudgmentError.class, () -> subscriber.invokeSubscriberMethod(FIXTURE_ARGUMENT)); } public void testEquals() throws Exception { Method charAt = String.class.getMethod("charAt", int.class); Method concat = String.class.getMethod("concat", String.class); new EqualsTester() .addEqualityGroup( Subscriber.create(bus, "foo", charAt), Subscriber.create(bus, "foo", charAt))Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 4.8K bytes - Click Count (0)