- Sort Score
- Result 10 results
- Languages All
Results 1901 - 1910 of 3,096 for objTest (0.04 sec)
-
guava-testlib/src/com/google/common/collect/testing/ReserializingTestSetGenerator.java
super(delegate); } public static <E> TestSetGenerator<E> newInstance(TestSetGenerator<E> delegate) { return new ReserializingTestSetGenerator<>(delegate); } @Override public Set<E> create(Object... elements) { return (Set<E>) super.create(elements); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Oct 01 17:18:04 UTC 2021 - 1.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacGroupTest.java
*/ class PacGroupTest { private SID mockSid; private PacGroup pacGroup; private final int attributes = 42; @BeforeEach void setUp() { // Mock the SID object mockSid = mock(SID.class); pacGroup = new PacGroup(mockSid, attributes); } /** * Test method for {@link jcifs.pac.PacGroup#PacGroup(jcifs.smb.SID, int)}. */ @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHook.java
final Class<?> clazz = Class.forName("org.apache.commons.httpclient.MultiThreadedHttpConnectionManager"); final Method method = clazz.getMethod("shutdownAll", (Class<?>[]) null); method.invoke(null, (Object[]) null); } catch (final ClassNotFoundException e) { // ignore } catch (final Exception e) { logger.warn("Could not shutdown Commons HttpClient.", e); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/BaseComparable.java
public BaseComparable(String s) { this.s = s; } @Override public int hashCode() { // delegate to 's' return s.hashCode(); } @Override public boolean equals(@Nullable Object other) { if (other == null) { return false; } else if (other instanceof BaseComparable) { return s.equals(((BaseComparable) other).s); } else { return false; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/Base.java
public Base(String s) { this.s = s; } @Override public int hashCode() { // delegate to 's' return s.hashCode(); } @Override public boolean equals(@Nullable Object other) { if (other == null) { return false; } else if (other instanceof Base) { return s.equals(((Base) other).s); } else { return false; } } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 1.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostPath.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/FieldNotStaticRuntimeException.java
import static org.codelibs.core.collection.ArrayUtil.asArray; import java.lang.reflect.Field; /** * Exception thrown when accessing a non-{@literal static} {@link Field} without specifying an object. * * @author koichik */ public class FieldNotStaticRuntimeException extends ClRuntimeException { private static final long serialVersionUID = -7791347225750660981L; /** * The target class.Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/MethodNotStaticRuntimeException.java
import static org.codelibs.core.collection.ArrayUtil.asArray; import java.lang.reflect.Method; /** * Exception thrown when accessing a non-{@literal static} {@link Method} without specifying an object. * * @author koichik */ public class MethodNotStaticRuntimeException extends ClRuntimeException { private static final long serialVersionUID = 7186052234464152208L; /** * The target class.Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java
} @Override public void tearDown() throws Exception { ComponentUtil.setFessConfig(null); super.tearDown(); } public void test_evaluate() { final Map<String, Object> params = new HashMap<>(); assertNull(groovyEngine.evaluate("", params)); assertEquals("", groovyEngine.evaluate("return ''", params)); assertEquals(1, groovyEngine.evaluate("return 1", params));Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 1.6K bytes - Viewed (0) -
android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt
println(AndroidPlatform.isSupported) val url = "https://github.com/square/okhttp".toHttpUrl() println(url.topPrivateDomain()) client.newCall(Request(url)).enqueue( object : Callback { override fun onFailure( call: Call, e: IOException, ) { println("failed: $e") } override fun onResponse( call: Call,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Aug 19 08:10:39 UTC 2025 - 1.7K bytes - Viewed (0)